Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 80.41 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 166 kB / 25.61 MB, free: 8.594 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9195/0.9195, allocations: 177.1 MB / 206.1 MB, free: 4.457 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 274.2 MB, free: 4.422 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.678e-05/1.831e-05, allocations: 2.312 kB / 274.2 MB, free: 4.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01597/0.01599, allocations: 7.449 MB / 281.6 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004361/0.02035, allocations: 2.677 MB / 284.3 MB, free: 10.26 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008795/0.02123, allocations: 91.31 kB / 284.4 MB, free: 10.17 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.02229, allocations: 0.5819 MB / 285 MB, free: 9.586 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001745/0.02403, allocations: 0.7995 MB / 285.8 MB, free: 8.781 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008693/0.0249, allocations: 431.2 kB / 286.2 MB, free: 8.359 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002741/0.02764, allocations: 3.4 MB / 289.6 MB, free: 4.945 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001654/0.0293, allocations: 1.96 MB / 291.6 MB, free: 2.926 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002836/0.03213, allocations: 2.921 MB / 294.5 MB, free: 40 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001991/0.03412, allocations: 1.887 MB / 296.4 MB, free: 14.15 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007327/0.03486, allocations: 452 kB / 296.8 MB, free: 13.71 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007485/0.03561, allocations: 0.6401 MB / 297.5 MB, free: 13.07 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007535/0.03636, allocations: 1.266 MB / 298.7 MB, free: 11.8 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001013/0.03737, allocations: 1.345 MB / 300.1 MB, free: 10.45 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002364/0.03974, allocations: 3.287 MB / 303.4 MB, free: 7.152 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.03974, allocations: 0 / 303.4 MB, free: 7.152 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.03974, allocations: 0 / 303.4 MB, free: 7.152 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.383e-05/0.03979, allocations: 0 / 303.4 MB, free: 7.152 MB / 282.7 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.003982/0.04377, allocations: 3.876 MB / 307.2 MB, free: 3.211 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.0438, allocations: 12.03 kB / 307.2 MB, free: 3.199 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009548/0.04476, allocations: 0.6665 MB / 307.9 MB, free: 2.531 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001782/0.04654, allocations: 1.874 MB / 309.8 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001202/0.04666, allocations: 218.2 kB / 310 MB, free: 400 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000277/0.04694, allocations: 292.3 kB / 310.3 MB, free: 108 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002833/0.04977, allocations: 2.292 MB / 312.6 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.666e-05/0.04982, allocations: 8 kB / 312.6 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002378/0.05005, allocations: 120 kB / 312.7 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000146/0.0502, allocations: 145.8 kB / 312.8 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001575/0.05178, allocations: 0.7585 MB / 313.6 MB, free: 12.65 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01068/0.06245, allocations: 8.045 MB / 321.6 MB, free: 4.414 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.0636, allocations: 0.8007 MB / 322.4 MB, free: 3.617 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001298/0.0649, allocations: 0.7839 MB / 323.2 MB, free: 2.832 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001529/0.06505, allocations: 56.97 kB / 323.3 MB, free: 2.773 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/0.06509, allocations: 50.39 kB / 323.3 MB, free: 2.715 MB / 298.7 MB Notification: Performance of pre-optimization done (n=128): time 3.125e-06/0.06509, allocations: 0 / 323.3 MB, free: 2.715 MB / 298.7 MB Notification: Performance of matching and sorting (n=132): time 0.003871/0.06896, allocations: 2.128 MB / 325.5 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.06901, allocations: 94.42 kB / 325.6 MB, free: 452 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001415/0.07043, allocations: 1.354 MB / 326.9 MB, free: 15.06 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.953e-05/0.0705, allocations: 45.7 kB / 327 MB, free: 15.01 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009379/0.07144, allocations: 1.473 MB / 328.4 MB, free: 13.52 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003381/0.07177, allocations: 483.9 kB / 328.9 MB, free: 13.05 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003994/0.07217, allocations: 297 kB / 329.2 MB, free: 12.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.0723, allocations: 476.8 kB / 329.7 MB, free: 12.28 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003293/0.07263, allocations: 175.8 kB / 329.8 MB, free: 12.11 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006647/0.07329, allocations: 0.7126 MB / 330.5 MB, free: 11.19 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.07435, allocations: 0.9717 MB / 331.5 MB, free: 10.03 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.07435, allocations: 4 kB / 331.5 MB, free: 10.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.002166/0.07652, allocations: 1.179 MB / 332.7 MB, free: 8.832 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.07654, allocations: 12 kB / 332.7 MB, free: 8.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/0.07656, allocations: 8 kB / 332.7 MB, free: 8.812 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001184/0.07774, allocations: 381.9 kB / 333.1 MB, free: 8.438 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008556/0.0786, allocations: 299.5 kB / 333.4 MB, free: 8.145 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003001/0.0816, allocations: 3.231 MB / 336.6 MB, free: 4.805 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006006/0.0822, allocations: 51.94 kB / 336.7 MB, free: 4.754 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-05/0.0823, allocations: 52.02 kB / 336.7 MB, free: 4.703 MB / 314.7 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 (157): * Single equations (assignments): 152 * 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.0004794/0.08278, allocations: 244.1 kB / 337 MB, free: 4.453 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003492/0.08313, allocations: 234.8 kB / 337.2 MB, free: 4.223 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001485/0.08461, allocations: 0.9359 MB / 338.1 MB, free: 3.27 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.837e-05/0.08464, allocations: 23.94 kB / 338.1 MB, free: 3.246 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.08465, allocations: 4 kB / 338.1 MB, free: 3.242 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.08466, allocations: 7.969 kB / 338.2 MB, free: 3.234 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004824/0.08948, allocations: 3.219 MB / 341.4 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.08949, allocations: 4 kB / 341.4 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006144/0.09011, allocations: 187.7 kB / 341.6 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001113/0.09122, allocations: 367.7 kB / 341.9 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.895e-05/0.09129, allocations: 31.98 kB / 342 MB, free: 15.35 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002875/0.09416, allocations: 3.183 MB / 345.1 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.09417, allocations: 4 kB / 345.1 MB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002222/0.09639, allocations: 1.36 MB / 346.5 MB, free: 10.65 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004519/0.09684, allocations: 282.7 kB / 346.8 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001653/0.097, allocations: 35.97 kB / 346.8 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005286/0.09753, allocations: 60 kB / 346.9 MB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/0.0977, allocations: 96.75 kB / 347 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.968e-05/0.09777, allocations: 31.98 kB / 347 MB, free: 10.15 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007494/0.09852, allocations: 0.7246 MB / 347.7 MB, free: 9.43 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.09852, allocations: 0 / 347.7 MB, free: 9.43 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001332/0.09986, allocations: 0.5429 MB / 348.3 MB, free: 8.887 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (102): * Single equations (assignments): 97 * 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.0004651/0.1003, allocations: 231.7 kB / 348.5 MB, free: 8.656 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001554/0.1019, allocations: 1.105 MB / 349.6 MB, free: 7.531 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.1019, allocations: 0 / 349.6 MB, free: 7.531 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009369/0.1028, allocations: 0.7349 MB / 350.3 MB, free: 6.777 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/0.1041, allocations: 413.2 kB / 350.7 MB, free: 6.371 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00666/0.1108, allocations: 4.729 MB / 355.5 MB, free: 1.57 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008961/0.1117, allocations: 0.8715 MB / 356.3 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008332/0.1125, allocations: 230 kB / 356.6 MB, free: 456 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1156/0.2281, allocations: 489.4 kB / 357 MB, free: 72.45 MB / 330.7 MB Notification: Performance of SimCode: time 1.513e-06/0.2281, allocations: 0 / 357 MB, free: 72.45 MB / 330.7 MB Notification: Performance of Templates: time 0.03402/0.2622, allocations: 28.29 MB / 385.3 MB, free: 57.19 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.466929852962494]