Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009832/0.0009832, allocations: 100.5 kB / 17.31 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 177.3 kB / 18.2 MB, free: 5.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.106/2.106, allocations: 205.4 MB / 224.4 MB, free: 13.05 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006405/0.0006404, allocations: 8 kB / 281.4 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1433, allocations: 47.59 MB / 329 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01079/0.1542, allocations: 7.164 MB / 336.1 MB, free: 12.55 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008838/0.1631, allocations: 2.673 MB / 338.8 MB, free: 9.871 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001767/0.1649, allocations: 51.69 kB / 338.9 MB, free: 9.82 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001526/0.1665, allocations: 489.4 kB / 339.3 MB, free: 9.34 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00272/0.1692, allocations: 0.6685 MB / 340 MB, free: 8.668 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.1704, allocations: 391.6 kB / 340.4 MB, free: 8.285 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004947/0.1754, allocations: 3.772 MB / 344.2 MB, free: 4.5 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003971/0.1794, allocations: 2.801 MB / 347 MB, free: 1.641 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003676/0.183, allocations: 1.205 MB / 348.2 MB, free: 448 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004246/0.1873, allocations: 1.665 MB / 349.8 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005005/0.1878, allocations: 196 kB / 350 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001445/0.1893, allocations: 431.5 kB / 350.4 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001122/0.1904, allocations: 0.9228 MB / 351.4 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002125/0.1925, allocations: 1.63 MB / 353 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006419/0.199, allocations: 5.715 MB / 358.7 MB, free: 5.848 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.199, allocations: 0 / 358.7 MB, free: 5.848 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.696e-06/0.199, allocations: 0 / 358.7 MB, free: 5.848 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001723/0.1992, allocations: 0 / 358.7 MB, free: 5.848 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.007829/0.207, allocations: 3.163 MB / 361.9 MB, free: 2.621 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.486e-05/0.2071, allocations: 8.031 kB / 361.9 MB, free: 2.613 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001272/0.2084, allocations: 384.7 kB / 362.2 MB, free: 2.234 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003453/0.2119, allocations: 1.952 MB / 364.2 MB, free: 232 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001853/0.2121, allocations: 229.8 kB / 364.4 MB, free: 0 / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004622/0.2125, allocations: 284 kB / 364.7 MB, free: 15.72 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007795/0.2203, allocations: 4.191 MB / 368.9 MB, free: 11.48 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.291e-05/0.2204, allocations: 0 / 368.9 MB, free: 11.48 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002896/0.2207, allocations: 120 kB / 369 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001954/0.2209, allocations: 141.9 kB / 369.1 MB, free: 11.22 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006291/0.2272, allocations: 3.501 MB / 372.7 MB, free: 7.711 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2723/0.4995, allocations: 11.01 MB / 383.7 MB, free: 44.64 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002704/0.5023, allocations: 2.642 MB / 386.3 MB, free: 43.48 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002731/0.505, allocations: 1.488 MB / 387.8 MB, free: 43.45 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002389/0.5053, allocations: 122.2 kB / 387.9 MB, free: 43.36 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.558e-05/0.5053, allocations: 53.17 kB / 388 MB, free: 43.31 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 3.266e-06/0.5053, allocations: 0 / 388 MB, free: 43.31 MB / 318.1 MB Notification: Performance of matching and sorting (n=133): time 0.009898/0.5152, allocations: 5.323 MB / 393.3 MB, free: 40.98 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.5153, allocations: 90.3 kB / 393.4 MB, free: 40.89 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002665/0.518, allocations: 1.909 MB / 395.3 MB, free: 40.2 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001053/0.5181, allocations: 48.14 kB / 395.3 MB, free: 40.15 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007679/0.5189, allocations: 1.327 MB / 396.7 MB, free: 39.14 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003018/0.5192, allocations: 454.6 kB / 397.1 MB, free: 38.8 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/0.5194, allocations: 123.2 kB / 397.2 MB, free: 38.74 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.69e-05/0.5194, allocations: 301.1 kB / 397.5 MB, free: 38.44 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001092/0.5205, allocations: 0.8226 MB / 398.3 MB, free: 38.15 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/0.5217, allocations: 1.197 MB / 399.5 MB, free: 37.42 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002254/0.5239, allocations: 2.103 MB / 401.6 MB, free: 36.2 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.524, allocations: 7.812 kB / 401.6 MB, free: 36.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.003332/0.5273, allocations: 2.542 MB / 404.2 MB, free: 34.88 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.5273, allocations: 9.094 kB / 404.2 MB, free: 34.88 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.5274, allocations: 9.594 kB / 404.2 MB, free: 34.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001772/0.5291, allocations: 486.3 kB / 404.7 MB, free: 34.64 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/0.5303, allocations: 337.1 kB / 405 MB, free: 34.55 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003965/0.5342, allocations: 4.068 MB / 409.1 MB, free: 31.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/0.5356, allocations: 93.61 kB / 409.2 MB, free: 31.45 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/0.5357, allocations: 56.31 kB / 409.2 MB, free: 31.44 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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.001603/0.5373, allocations: 1.049 MB / 410.3 MB, free: 30.49 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003681/0.5377, allocations: 197.7 kB / 410.5 MB, free: 30.3 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002897/0.5406, allocations: 2.154 MB / 412.6 MB, free: 28.13 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.957e-05/0.5406, allocations: 19.98 kB / 412.6 MB, free: 28.11 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.5406, allocations: 4 kB / 412.6 MB, free: 28.11 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.5407, allocations: 3.984 kB / 412.6 MB, free: 28.1 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006922/0.5476, allocations: 5.218 MB / 417.9 MB, free: 22.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.5476, allocations: 4 kB / 417.9 MB, free: 22.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008753/0.5485, allocations: 235.6 kB / 418.1 MB, free: 22.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001659/0.5502, allocations: 457.9 kB / 418.5 MB, free: 22.14 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.446e-05/0.5502, allocations: 39.81 kB / 418.6 MB, free: 22.11 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004011/0.5543, allocations: 3.976 MB / 422.6 MB, free: 18 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.5543, allocations: 4.031 kB / 422.6 MB, free: 17.99 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004716/0.559, allocations: 3.267 MB / 425.8 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/0.5601, allocations: 467.4 kB / 426.3 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002122/0.5603, allocations: 29.97 kB / 426.3 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009561/0.5613, allocations: 112 kB / 426.4 MB, free: 14.07 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002108/0.5615, allocations: 88.86 kB / 426.5 MB, free: 13.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.186e-05/0.5616, allocations: 40 kB / 426.6 MB, free: 13.94 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001616/0.5632, allocations: 1.334 MB / 427.9 MB, free: 12.61 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.002e-06/0.5632, allocations: 4 kB / 427.9 MB, free: 12.61 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001706/0.5649, allocations: 0.5598 MB / 428.4 MB, free: 12.05 MB / 318.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.0005068/0.5654, allocations: 210.1 kB / 428.7 MB, free: 11.86 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002888/0.5683, allocations: 2.211 MB / 430.9 MB, free: 9.633 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.5683, allocations: 0 / 430.9 MB, free: 9.633 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001608/0.57, allocations: 1.23 MB / 432.1 MB, free: 8.391 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002373/0.5723, allocations: 498.5 kB / 432.6 MB, free: 7.91 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009624/0.582, allocations: 7.112 MB / 439.7 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002284/0.5843, allocations: 2.428 MB / 442.1 MB, free: 14.29 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001589/0.5859, allocations: 495.4 kB / 442.6 MB, free: 13.8 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000433/0.5863, allocations: 131.4 kB / 442.7 MB, free: 13.68 MB / 334.1 MB Notification: Performance of SimCode: time 1.162e-06/0.5863, allocations: 0 / 442.7 MB, free: 13.68 MB / 334.1 MB Notification: Performance of Templates: time 0.05522/0.6416, allocations: 28.63 MB / 471.4 MB, free: 1.023 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches