Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001041/0.001041, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001076/0.001076, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001115, allocations: 60 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09037/0.0915, allocations: 50.53 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.008374/0.09991, allocations: 7.776 MB / 366.7 MB, free: 5.516 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004604/0.1045, allocations: 2.726 MB / 369.4 MB, free: 2.781 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007165/0.1053, allocations: 71.69 kB / 369.5 MB, free: 2.711 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001138/0.1065, allocations: 0.5625 MB / 370 MB, free: 2.145 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001539/0.108, allocations: 0.7263 MB / 370.8 MB, free: 1.414 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007591/0.1088, allocations: 427.4 kB / 371.2 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1571/0.2659, allocations: 3.281 MB / 374.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005096/0.271, allocations: 3.596 MB / 378.1 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003148/0.2742, allocations: 1.661 MB / 379.7 MB, free: 9.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002943/0.2771, allocations: 2.032 MB / 381.7 MB, free: 8.867 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000689/0.2778, allocations: 461.2 kB / 382.2 MB, free: 8.867 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001289/0.2791, allocations: 0.6516 MB / 382.9 MB, free: 8.828 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001035/0.2802, allocations: 1.238 MB / 384.1 MB, free: 8.172 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002162/0.2823, allocations: 1.973 MB / 386.1 MB, free: 6.895 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005102/0.2874, allocations: 6.098 MB / 392.2 MB, free: 4.199 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2875, allocations: 1.375 kB / 392.2 MB, free: 4.199 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2875, allocations: 0 / 392.2 MB, free: 4.199 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001159/0.2876, allocations: 0 / 392.2 MB, free: 4.199 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.007216/0.2948, allocations: 3.814 MB / 396 MB, free: 1.641 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.2949, allocations: 8.281 kB / 396 MB, free: 1.641 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001334/0.2962, allocations: 429.7 kB / 396.4 MB, free: 1.438 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003599/0.2998, allocations: 2.179 MB / 398.6 MB, free: 52 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002372/0.3001, allocations: 228.8 kB / 398.8 MB, free: 15.99 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004114/0.3005, allocations: 292 kB / 399.1 MB, free: 15.89 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007377/0.3079, allocations: 4.197 MB / 403.3 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.72e-05/0.308, allocations: 0 / 403.3 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002822/0.3082, allocations: 116 kB / 403.4 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001498/0.3084, allocations: 137.9 kB / 403.5 MB, free: 12.22 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005555/0.314, allocations: 3.486 MB / 407 MB, free: 8.727 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01877/0.3328, allocations: 10.76 MB / 417.8 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002818/0.3356, allocations: 2.656 MB / 420.4 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002231/0.3379, allocations: 1.472 MB / 421.9 MB, free: 9.691 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002543/0.3381, allocations: 118.1 kB / 422 MB, free: 9.559 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/0.3382, allocations: 55.5 kB / 422.1 MB, free: 9.496 MB / 334.1 MB Notification: Performance of pre-optimization done (n=128): time 3.597e-06/0.3382, allocations: 4 kB / 422.1 MB, free: 9.492 MB / 334.1 MB Notification: Performance of matching and sorting (n=133): time 0.009066/0.3473, allocations: 5.164 MB / 427.2 MB, free: 4.297 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/0.3473, allocations: 90.42 kB / 427.3 MB, free: 4.188 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002722/0.3501, allocations: 1.921 MB / 429.3 MB, free: 2.262 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001151/0.3502, allocations: 45.7 kB / 429.3 MB, free: 2.211 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008456/0.3511, allocations: 1.33 MB / 430.6 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003382/0.3514, allocations: 458.6 kB / 431.1 MB, free: 436 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004239/0.3518, allocations: 267 kB / 431.3 MB, free: 168 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.3519, allocations: 309.1 kB / 431.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0012/0.3531, allocations: 0.8159 MB / 432.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/0.3546, allocations: 1.174 MB / 433.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002688/0.3573, allocations: 2.086 MB / 435.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.333e-06/0.3573, allocations: 8 kB / 435.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004259/0.3615, allocations: 2.523 MB / 438.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.3616, allocations: 12.19 kB / 438.3 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.928e-05/0.3616, allocations: 12 kB / 438.3 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001845/0.3635, allocations: 484.5 kB / 438.7 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/0.3648, allocations: 323.5 kB / 439.1 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00512/0.3699, allocations: 4.393 MB / 443.5 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/0.3714, allocations: 83.91 kB / 443.5 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001338/0.3716, allocations: 59.98 kB / 443.6 MB, free: 3.562 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.00164/0.3732, allocations: 1.062 MB / 444.7 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004414/0.3737, allocations: 193.7 kB / 444.8 MB, free: 2.301 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003392/0.3771, allocations: 2.149 MB / 447 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.32e-05/0.3771, allocations: 19.98 kB / 447 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.3772, allocations: 8 kB / 447 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.3772, allocations: 3.984 kB / 447 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008458/0.3856, allocations: 5.172 MB / 452.2 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.3857, allocations: 0 / 452.2 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/0.3867, allocations: 223.7 kB / 452.4 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001749/0.3884, allocations: 460.9 kB / 452.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.099e-05/0.3885, allocations: 31.89 kB / 452.9 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004903/0.3935, allocations: 4.296 MB / 457.2 MB, free: 5.738 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/0.3935, allocations: 3.938 kB / 457.2 MB, free: 5.734 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004843/0.3983, allocations: 3.251 MB / 460.5 MB, free: 2.438 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001174/0.3995, allocations: 458.8 kB / 460.9 MB, free: 1.969 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002581/0.3998, allocations: 35.52 kB / 460.9 MB, free: 1.938 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.4008, allocations: 91.97 kB / 461 MB, free: 1.848 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002121/0.401, allocations: 96.8 kB / 461.1 MB, free: 1.754 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.857e-05/0.4011, allocations: 39.98 kB / 461.2 MB, free: 1.715 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001916/0.4031, allocations: 1.346 MB / 462.5 MB, free: 384 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4031, allocations: 0 / 462.5 MB, free: 384 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.001719/0.4048, allocations: 0.5547 MB / 463.1 MB, free: 15.82 MB / 382.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.0005186/0.4053, allocations: 234.8 kB / 463.3 MB, free: 15.6 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003321/0.4087, allocations: 2.196 MB / 465.5 MB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.4087, allocations: 3.938 kB / 465.5 MB, free: 13.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00182/0.4105, allocations: 1.214 MB / 466.7 MB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002107/0.4126, allocations: 0.5088 MB / 467.2 MB, free: 11.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008876/0.4215, allocations: 5.704 MB / 472.9 MB, free: 5.898 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002142/0.4237, allocations: 2.431 MB / 475.3 MB, free: 3.438 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001443/0.4251, allocations: 491.4 kB / 475.8 MB, free: 2.953 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004094/0.4256, allocations: 139.3 kB / 476 MB, free: 2.816 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4256, allocations: 0 / 476 MB, free: 2.816 MB / 382.1 MB Notification: Performance of Templates: time 0.04959/0.4752, allocations: 30.17 MB / 0.4943 GB, free: 4.957 MB / 414.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches