Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001555/0.001555, allocations: 113 kB / 21.17 MB, free: 0.7812 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001629/0.001629, allocations: 219.3 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.388/1.388, allocations: 230.4 MB / 258.1 MB, free: 8.152 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 59.84 kB / 378.7 MB, free: 3.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2228, allocations: 53.32 MB / 432 MB, free: 7.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007471/0.2303, allocations: 5.974 MB / 438 MB, free: 1.445 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004033/0.2343, allocations: 2.138 MB / 440.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005391/0.2348, allocations: 39.81 kB / 440.2 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009494/0.2358, allocations: 402.9 kB / 440.6 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001322/0.2371, allocations: 0.5749 MB / 441.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004312/0.2375, allocations: 227.7 kB / 441.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002328/0.2399, allocations: 2.225 MB / 443.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001535/0.2414, allocations: 1.158 MB / 444.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002048/0.2435, allocations: 1.065 MB / 445.8 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001664/0.2451, allocations: 1.242 MB / 447.1 MB, free: 8.305 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003558/0.2455, allocations: 288 kB / 447.4 MB, free: 8.023 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006252/0.2461, allocations: 379.8 kB / 447.7 MB, free: 7.652 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006592/0.2468, allocations: 0.7167 MB / 448.4 MB, free: 6.934 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001319/0.2481, allocations: 1.221 MB / 449.7 MB, free: 5.707 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003928/0.252, allocations: 3.8 MB / 453.5 MB, free: 1.895 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.252, allocations: 0 / 453.5 MB, free: 1.895 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.252, allocations: 0 / 453.5 MB, free: 1.895 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.972e-05/0.2521, allocations: 0 / 453.5 MB, free: 1.895 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.004728/0.2568, allocations: 2.442 MB / 455.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.2569, allocations: 12.03 kB / 455.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009158/0.2578, allocations: 295.4 kB / 456.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002474/0.2602, allocations: 1.379 MB / 457.6 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001127/0.2604, allocations: 131.5 kB / 457.7 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002797/0.2606, allocations: 176 kB / 457.9 MB, free: 13.37 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004143/0.2648, allocations: 2.543 MB / 460.4 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.705e-05/0.2648, allocations: 3.938 kB / 460.4 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001751/0.265, allocations: 72 kB / 460.5 MB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001042/0.2651, allocations: 91.58 kB / 460.6 MB, free: 10.64 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00358/0.2687, allocations: 2.122 MB / 462.7 MB, free: 8.516 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01126/0.2799, allocations: 7.366 MB / 470.1 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/0.2815, allocations: 1.236 MB / 471.3 MB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007436/0.2823, allocations: 446.9 kB / 471.8 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000219/0.2825, allocations: 113.5 kB / 471.9 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.2825, allocations: 42.94 kB / 471.9 MB, free: 14.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=52): time 2.204e-06/0.2825, allocations: 0 / 471.9 MB, free: 14.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=53): time 0.00429/0.2868, allocations: 2.291 MB / 474.2 MB, free: 12.54 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.165e-05/0.2869, allocations: 89.48 kB / 474.3 MB, free: 12.44 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002268/0.2892, allocations: 1.521 MB / 475.8 MB, free: 10.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.432e-05/0.2892, allocations: 33.7 kB / 475.8 MB, free: 10.87 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007819/0.29, allocations: 1.002 MB / 476.8 MB, free: 9.859 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/0.2902, allocations: 206.4 kB / 477 MB, free: 9.656 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003423/0.2905, allocations: 246.8 kB / 477.3 MB, free: 9.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002279/0.2907, allocations: 358 kB / 477.6 MB, free: 9.055 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007267/0.2915, allocations: 458.2 kB / 478.1 MB, free: 8.605 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001265/0.2927, allocations: 1.091 MB / 479.2 MB, free: 7.199 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002028/0.2948, allocations: 1.619 MB / 480.8 MB, free: 5.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.24e-05/0.2948, allocations: 8 kB / 480.8 MB, free: 5.262 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002817/0.2976, allocations: 1.691 MB / 482.5 MB, free: 3.559 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.2976, allocations: 12 kB / 482.5 MB, free: 3.547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.025e-05/0.2976, allocations: 27.94 kB / 482.5 MB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007239/0.2984, allocations: 177.1 kB / 482.7 MB, free: 3.344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00088/0.2993, allocations: 283.5 kB / 483 MB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002654/0.3019, allocations: 2.369 MB / 485.4 MB, free: 0.5547 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/0.3029, allocations: 83.86 kB / 485.4 MB, free: 484 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.694e-05/0.303, allocations: 68 kB / 485.5 MB, free: 416 kB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001104/0.3041, allocations: 0.7118 MB / 486.2 MB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002547/0.3044, allocations: 135.2 kB / 486.3 MB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001503/0.3059, allocations: 0.8374 MB / 487.2 MB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.3059, allocations: 8 kB / 487.2 MB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.3059, allocations: 3.938 kB / 487.2 MB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.3059, allocations: 3.984 kB / 487.2 MB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0044/0.3103, allocations: 2.491 MB / 489.7 MB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/0.3103, allocations: 0 / 489.7 MB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003902/0.3107, allocations: 95.83 kB / 489.8 MB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006234/0.3113, allocations: 148.9 kB / 489.9 MB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.19e-05/0.3114, allocations: 16 kB / 489.9 MB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002503/0.3139, allocations: 2.315 MB / 492.3 MB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.786e-06/0.3139, allocations: 11.94 kB / 492.3 MB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002126/0.316, allocations: 1.322 MB / 493.6 MB, free: 8 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006306/0.3166, allocations: 292.2 kB / 493.9 MB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002355/0.3169, allocations: 12 kB / 493.9 MB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006418/0.3175, allocations: 44.03 kB / 493.9 MB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.3177, allocations: 51.81 kB / 494 MB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-05/0.3177, allocations: 20 kB / 494 MB, free: 7.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001662/0.3194, allocations: 1.044 MB / 495 MB, free: 6.523 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3194, allocations: 0 / 495 MB, free: 6.523 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001424/0.3208, allocations: 359.9 kB / 495.4 MB, free: 6.172 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004854/0.3213, allocations: 186.4 kB / 495.6 MB, free: 5.992 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002083/0.3234, allocations: 1.129 MB / 496.7 MB, free: 4.852 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.3234, allocations: 0 / 496.7 MB, free: 4.852 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008507/0.3242, allocations: 0.4941 MB / 497.2 MB, free: 4.344 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001712/0.3259, allocations: 380.4 kB / 497.6 MB, free: 3.977 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006223/0.3321, allocations: 3.261 MB / 0.4891 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001657/0.3338, allocations: 1.67 MB / 0.4907 GB, free: 14.94 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003318/0.3341, allocations: 95.42 kB / 0.4908 GB, free: 14.85 MB / 414.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3341, allocations: 0 / 0.4908 GB, free: 14.85 MB / 414.1 MB Notification: Performance of Templates: time 0.04696/0.3811, allocations: 32.56 MB / 0.5226 GB, free: 14.39 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.056282198056579]