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.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001277/0.001277, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001342/0.001342, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.421/1.421, allocations: 227.7 MB / 247.7 MB, free: 10.43 MB / 206.1 MB 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.001931/0.001931, allocations: 61.8 kB / 307.9 MB, free: 0.5273 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09403/0.09597, allocations: 50.54 MB / 358.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.009863/0.1059, allocations: 7.773 MB / 366.2 MB, free: 6.164 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005523/0.1114, allocations: 2.726 MB / 368.9 MB, free: 3.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001274/0.1128, allocations: 67.69 kB / 369 MB, free: 3.363 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001602/0.1144, allocations: 0.5627 MB / 369.6 MB, free: 2.797 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002413/0.1168, allocations: 0.7419 MB / 370.3 MB, free: 2.051 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.118, allocations: 411.4 kB / 370.7 MB, free: 1.648 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1448/0.2629, allocations: 3.267 MB / 374 MB, free: 9.703 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004514/0.2674, allocations: 3.591 MB / 377.6 MB, free: 9.066 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002926/0.2704, allocations: 1.661 MB / 379.2 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002953/0.2733, allocations: 2.029 MB / 381.3 MB, free: 8.457 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001131/0.2745, allocations: 461.4 kB / 381.7 MB, free: 8.457 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00169/0.2762, allocations: 0.6526 MB / 382.4 MB, free: 8.418 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001257/0.2775, allocations: 1.238 MB / 383.6 MB, free: 7.762 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003073/0.2806, allocations: 1.974 MB / 385.6 MB, free: 6.484 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006383/0.287, allocations: 6.041 MB / 391.6 MB, free: 3.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.287, allocations: 0 / 391.6 MB, free: 3.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.287, allocations: 0 / 391.6 MB, free: 3.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001721/0.2872, allocations: 0 / 391.6 MB, free: 3.93 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.009247/0.2964, allocations: 3.81 MB / 395.4 MB, free: 1.375 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.2965, allocations: 10.06 kB / 395.4 MB, free: 1.375 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001597/0.2981, allocations: 430.8 kB / 395.8 MB, free: 1.172 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003655/0.3018, allocations: 2.101 MB / 397.9 MB, free: 15.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001659/0.302, allocations: 228 kB / 398.2 MB, free: 15.73 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005622/0.3025, allocations: 290.6 kB / 398.5 MB, free: 15.63 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008557/0.3111, allocations: 4.187 MB / 402.6 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.544e-05/0.3112, allocations: 4 kB / 402.6 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003703/0.3116, allocations: 119.8 kB / 402.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001889/0.3118, allocations: 137.9 kB / 402.9 MB, free: 12.5 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007171/0.3189, allocations: 3.497 MB / 406.4 MB, free: 8.992 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02197/0.3409, allocations: 10.91 MB / 417.3 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003272/0.3443, allocations: 2.644 MB / 419.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002588/0.3469, allocations: 1.476 MB / 421.4 MB, free: 9.82 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002713/0.3472, allocations: 122.1 kB / 421.5 MB, free: 9.684 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.618e-05/0.3472, allocations: 55.5 kB / 421.6 MB, free: 9.621 MB / 334.1 MB Notification: Performance of pre-optimization done (n=128): time 3.276e-06/0.3472, allocations: 0 / 421.6 MB, free: 9.621 MB / 334.1 MB Notification: Performance of matching and sorting (n=133): time 0.01043/0.3577, allocations: 5.163 MB / 426.8 MB, free: 4.43 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.402e-05/0.3578, allocations: 98.41 kB / 426.9 MB, free: 4.312 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003219/0.361, allocations: 1.914 MB / 428.8 MB, free: 2.395 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002219/0.3612, allocations: 49.7 kB / 428.8 MB, free: 2.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001115/0.3624, allocations: 1.325 MB / 430.1 MB, free: 1 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005269/0.3629, allocations: 460.3 kB / 430.6 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004893/0.3634, allocations: 267.4 kB / 430.9 MB, free: 300 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.3636, allocations: 301.1 kB / 431.1 MB, free: 16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001393/0.365, allocations: 0.8159 MB / 432 MB, free: 15.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00169/0.3667, allocations: 1.189 MB / 433.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003125/0.3698, allocations: 2.089 MB / 435.2 MB, free: 11.67 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.806e-06/0.3698, allocations: 4 kB / 435.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004698/0.3745, allocations: 2.528 MB / 437.8 MB, free: 9.199 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.3746, allocations: 8 kB / 437.8 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.459e-05/0.3746, allocations: 12 kB / 437.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001914/0.3765, allocations: 484.7 kB / 438.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/0.378, allocations: 329 kB / 438.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006126/0.3841, allocations: 4.394 MB / 443 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/0.3858, allocations: 87.89 kB / 443.1 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002428/0.3861, allocations: 56 kB / 443.1 MB, free: 3.746 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (158): * Single equations (assignments): 153 * Array equations: 4 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002139/0.3882, allocations: 1.061 MB / 444.2 MB, free: 2.695 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006206/0.3889, allocations: 189.8 kB / 444.4 MB, free: 2.508 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003938/0.3928, allocations: 2.143 MB / 446.5 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-05/0.3929, allocations: 24 kB / 446.5 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.531e-05/0.3929, allocations: 4 kB / 446.5 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.528e-05/0.3929, allocations: 11.91 kB / 446.5 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009662/0.4026, allocations: 5.184 MB / 451.7 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.4026, allocations: 4 kB / 451.7 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/0.4037, allocations: 234.5 kB / 452 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001791/0.4055, allocations: 456.7 kB / 452.4 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001207/0.4056, allocations: 35.98 kB / 452.4 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005741/0.4114, allocations: 4.293 MB / 456.7 MB, free: 5.992 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/0.4114, allocations: 16.03 kB / 456.8 MB, free: 5.977 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005503/0.4169, allocations: 3.254 MB / 460 MB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/0.418, allocations: 454.8 kB / 460.5 MB, free: 2.234 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002965/0.4183, allocations: 24 kB / 460.5 MB, free: 2.211 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/0.4193, allocations: 95.95 kB / 460.6 MB, free: 2.117 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002278/0.4196, allocations: 96.33 kB / 460.7 MB, free: 2.027 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.978e-05/0.4197, allocations: 39.98 kB / 460.7 MB, free: 1.988 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002142/0.4218, allocations: 1.346 MB / 462 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4218, allocations: 0 / 462 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001896/0.4237, allocations: 0.5546 MB / 462.6 MB, free: 96 kB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].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 (104): * Single equations (assignments): 99 * Array equations: 4 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005611/0.4243, allocations: 233.2 kB / 462.8 MB, free: 15.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005364/0.4297, allocations: 2.869 MB / 465.7 MB, free: 13.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.4297, allocations: 3.938 kB / 465.7 MB, free: 13.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002053/0.4318, allocations: 1.204 MB / 466.9 MB, free: 11.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002466/0.4343, allocations: 0.5098 MB / 467.4 MB, free: 11.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/0.4445, allocations: 5.765 MB / 473.2 MB, free: 5.508 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00238/0.4469, allocations: 2.363 MB / 475.5 MB, free: 3.117 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006905/0.4476, allocations: 139.4 kB / 475.7 MB, free: 2.98 MB / 382.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4476, allocations: 0 / 475.7 MB, free: 2.98 MB / 382.1 MB Notification: Performance of Templates: time 0.07371/0.5213, allocations: 50.99 MB / 0.5143 GB, free: 108 kB / 430.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches