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.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.0009211/0.0009211, allocations: 80.8 kB / 22.29 MB, free: 2.207 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.0009568/0.0009568, allocations: 168.3 kB / 25.7 MB, free: 8.402 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9099/0.9099, allocations: 158.6 MB / 187.6 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] 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.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_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 251.6 MB, free: 7.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.699e-05/2.929e-05, allocations: 10.25 kB / 251.6 MB, free: 7.203 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.007113/0.007143, allocations: 7.435 MB / 259 MB, free: 15.72 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005287/0.01243, allocations: 2.796 MB / 261.8 MB, free: 12.91 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001138/0.01357, allocations: 75.38 kB / 261.9 MB, free: 12.84 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001165/0.01473, allocations: 0.59 MB / 262.5 MB, free: 12.25 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002125/0.01686, allocations: 0.7994 MB / 263.3 MB, free: 11.44 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000904/0.01776, allocations: 447.2 kB / 263.7 MB, free: 11 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003134/0.0209, allocations: 3.54 MB / 267.3 MB, free: 7.449 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002009/0.02291, allocations: 1.899 MB / 269.2 MB, free: 5.473 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004623/0.02753, allocations: 2.859 MB / 272 MB, free: 2.625 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002324/0.02985, allocations: 1.883 MB / 273.9 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006615/0.03051, allocations: 452 kB / 274.3 MB, free: 304 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009441/0.03146, allocations: 0.6479 MB / 275 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007511/0.03221, allocations: 1.258 MB / 276.2 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001585/0.03379, allocations: 1.337 MB / 277.6 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003112/0.03691, allocations: 3.279 MB / 280.9 MB, free: 9.758 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.03691, allocations: 0 / 280.9 MB, free: 9.758 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.03691, allocations: 0 / 280.9 MB, free: 9.758 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.632e-05/0.037, allocations: 0 / 280.9 MB, free: 9.758 MB / 266.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.004129/0.04113, allocations: 3.49 MB / 284.4 MB, free: 6.223 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.04116, allocations: 19.98 kB / 284.4 MB, free: 6.203 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008309/0.04199, allocations: 0.5083 MB / 284.9 MB, free: 5.695 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001593/0.04358, allocations: 1.2 MB / 286.1 MB, free: 4.441 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002074/0.04379, allocations: 230.2 kB / 286.3 MB, free: 4.215 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002997/0.04409, allocations: 284.4 kB / 286.6 MB, free: 3.938 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002636/0.04673, allocations: 2.349 MB / 288.9 MB, free: 1.473 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.213e-05/0.04677, allocations: 3.938 kB / 288.9 MB, free: 1.469 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001925/0.04696, allocations: 120 kB / 289.1 MB, free: 1.352 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000115/0.04708, allocations: 137.9 kB / 289.2 MB, free: 1.215 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/0.04831, allocations: 0.8217 MB / 290 MB, free: 384 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008391/0.0567, allocations: 6.455 MB / 296.5 MB, free: 9.738 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008011/0.0575, allocations: 0.7704 MB / 297.2 MB, free: 8.961 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008875/0.05839, allocations: 0.7539 MB / 298 MB, free: 8.199 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001275/0.05852, allocations: 40.98 kB / 298 MB, free: 8.16 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.05855, allocations: 55.5 kB / 298.1 MB, free: 8.098 MB / 282.7 MB Notification: Performance of pre-optimization done (n=128): time 3.787e-06/0.05855, allocations: 0 / 298.1 MB, free: 8.098 MB / 282.7 MB Notification: Performance of matching and sorting (n=132): time 0.00332/0.06187, allocations: 1.926 MB / 300 MB, free: 6.145 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.06192, allocations: 90.42 kB / 300.1 MB, free: 6.039 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008423/0.06276, allocations: 1.085 MB / 301.2 MB, free: 4.941 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.48e-05/0.06282, allocations: 53.7 kB / 301.2 MB, free: 4.883 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004643/0.06329, allocations: 1.152 MB / 302.4 MB, free: 3.719 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002485/0.06354, allocations: 475.8 kB / 302.9 MB, free: 3.25 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002684/0.0638, allocations: 247.4 kB / 303.1 MB, free: 3 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.095e-05/0.06388, allocations: 301.1 kB / 303.4 MB, free: 2.703 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002455/0.06412, allocations: 178.8 kB / 303.6 MB, free: 2.527 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004021/0.06452, allocations: 0.5418 MB / 304.1 MB, free: 1.828 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007266/0.06525, allocations: 0.8354 MB / 304.9 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.06526, allocations: 4 kB / 304.9 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.001532/0.06679, allocations: 0.9644 MB / 305.9 MB, free: 15.87 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.06681, allocations: 8 kB / 305.9 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.06682, allocations: 12 kB / 305.9 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008449/0.06767, allocations: 373.2 kB / 306.3 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007187/0.06838, allocations: 323.5 kB / 306.6 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002155/0.07054, allocations: 2.56 MB / 309.2 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004879/0.07103, allocations: 55.97 kB / 309.2 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-05/0.0711, allocations: 51.98 kB / 309.3 MB, free: 12.4 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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.0004468/0.07155, allocations: 204.2 kB / 309.5 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002262/0.07177, allocations: 159.8 kB / 309.6 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009267/0.0727, allocations: 0.7914 MB / 310.4 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.222e-05/0.07272, allocations: 19.98 kB / 310.4 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.07273, allocations: 7.938 kB / 310.4 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.07274, allocations: 3.984 kB / 310.4 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003155/0.07589, allocations: 2.602 MB / 313.1 MB, free: 8.523 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.0759, allocations: 4 kB / 313.1 MB, free: 8.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005261/0.07642, allocations: 207.7 kB / 313.3 MB, free: 8.316 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007836/0.07721, allocations: 359.8 kB / 313.6 MB, free: 7.961 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-05/0.07726, allocations: 27.98 kB / 313.6 MB, free: 7.934 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002093/0.07936, allocations: 2.609 MB / 316.2 MB, free: 5.223 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.07936, allocations: 7.938 kB / 316.3 MB, free: 5.215 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001357/0.08072, allocations: 1.15 MB / 317.4 MB, free: 4.023 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003374/0.08105, allocations: 214.8 kB / 317.6 MB, free: 3.812 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.08116, allocations: 32.03 kB / 317.6 MB, free: 3.781 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003596/0.08152, allocations: 67.94 kB / 317.7 MB, free: 3.715 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/0.08167, allocations: 96.69 kB / 317.8 MB, free: 3.617 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.377e-05/0.08173, allocations: 31.98 kB / 317.8 MB, free: 3.586 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004662/0.08219, allocations: 0.5455 MB / 318.4 MB, free: 3.039 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.08219, allocations: 4 kB / 318.4 MB, free: 3.035 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001172/0.08336, allocations: 0.5428 MB / 318.9 MB, free: 2.492 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (103): * Single equations (assignments): 98 * 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.0004345/0.0838, allocations: 211.3 kB / 319.1 MB, free: 2.285 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001483/0.08528, allocations: 0.9611 MB / 320.1 MB, free: 1.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.229e-05/0.0853, allocations: 20.5 kB / 320.1 MB, free: 1.297 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007366/0.08604, allocations: 0.6488 MB / 320.8 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009837/0.08702, allocations: 416.5 kB / 321.2 MB, free: 232 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006013/0.09304, allocations: 4.674 MB / 325.8 MB, free: 11.47 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006127/0.09365, allocations: 0.715 MB / 326.6 MB, free: 10.73 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006959/0.09435, allocations: 222.1 kB / 326.8 MB, free: 10.5 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009875/0.09533, allocations: 439.1 kB / 327.2 MB, free: 10.07 MB / 314.7 MB Notification: Performance of SimCode: time 1.943e-06/0.09533, allocations: 0 / 327.2 MB, free: 10.07 MB / 314.7 MB Notification: Performance of Templates: time 0.1329/0.2282, allocations: 27.72 MB / 354.9 MB, free: 98.5 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 240] 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","",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.207526866812259]