Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.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.0009483/0.0009483, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001083/0.001083, allocations: 170 kB / 24.91 MB, free: 9.191 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.9586/0.9586, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 273.5 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.062e-05/1.17e-05, allocations: 2.312 kB / 273.5 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.1465/0.1465, allocations: 26.57 MB / 300.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01251/0.1591, allocations: 7.619 MB / 307.7 MB, free: 10.37 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002875/0.1619, allocations: 310.9 kB / 308 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009953/0.1719, allocations: 13.91 MB / 321.9 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004941/0.1768, allocations: 2.68 MB / 324.6 MB, free: 14.54 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003156/0.18, allocations: 2.051 MB / 326.6 MB, free: 12.73 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01465/0.1946, allocations: 19.12 MB / 345.7 MB, free: 9.531 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03172/0.2263, allocations: 29.01 MB / 374.8 MB, free: 12.23 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01676/0.2431, allocations: 15.37 MB / 390.1 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0118/0.2549, allocations: 11.35 MB / 401.5 MB, free: 1.5 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003416/0.2583, allocations: 2.918 MB / 404.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004087/0.2624, allocations: 3.222 MB / 407.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003135/0.2655, allocations: 5.681 MB / 413.3 MB, free: 5.664 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007242/0.2728, allocations: 7.334 MB / 420.6 MB, free: 14.32 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2639/0.5367, allocations: 18.33 MB / 439 MB, free: 68.65 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.5367, allocations: 1.281 kB / 439 MB, free: 68.65 MB / 378.8 MB Notification: Performance of FrontEnd: time 1.142e-06/0.5367, allocations: 0 / 439 MB, free: 68.65 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.0007986/0.5375, allocations: 0 / 439 MB, free: 68.65 MB / 378.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4885 * Number of variables: 4885 Notification: Performance of Generate backend data structure: time 0.03301/0.5705, allocations: 20.9 MB / 459.9 MB, free: 63.35 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.5705, allocations: 7.812 kB / 459.9 MB, free: 63.35 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02503/0.5955, allocations: 8.521 MB / 468.4 MB, free: 63.2 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01336/0.6089, allocations: 5.987 MB / 474.4 MB, free: 61.22 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005423/0.6094, allocations: 1.341 MB / 475.7 MB, free: 60.61 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004121/0.6136, allocations: 1.756 MB / 477.5 MB, free: 60.04 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01618/0.6297, allocations: 14.44 MB / 491.9 MB, free: 47.61 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002517/0.63, allocations: 19.73 kB / 492 MB, free: 47.59 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001212/0.6312, allocations: 0.7291 MB / 492.7 MB, free: 46.88 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003868/0.6316, allocations: 0.8454 MB / 493.5 MB, free: 46.03 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00905/0.6406, allocations: 6.951 MB / 0.4887 GB, free: 39.05 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04959/0.6902, allocations: 53.44 MB / 0.5409 GB, free: 3.293 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007558/0.6978, allocations: 6.609 MB / 0.5474 GB, free: 12.8 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002474/0.7003, allocations: 2.096 MB / 0.5494 GB, free: 10.77 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005079/0.7008, allocations: 180.4 kB / 0.5496 GB, free: 10.59 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.393e-05/0.7008, allocations: 94.92 kB / 0.5497 GB, free: 10.49 MB / 410.8 MB Notification: Performance of pre-optimization done (n=577): time 7.043e-06/0.7008, allocations: 0 / 0.5497 GB, free: 10.49 MB / 410.8 MB Notification: Performance of matching and sorting (n=577): time 0.01383/0.7147, allocations: 6.63 MB / 0.5562 GB, free: 3.863 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.651e-05/0.7148, allocations: 137.6 kB / 0.5563 GB, free: 3.707 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005359/0.7201, allocations: 4.152 MB / 0.5604 GB, free: 432 kB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003292/0.7205, allocations: 117.7 kB / 0.5605 GB, free: 308 kB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004367/0.7248, allocations: 7.344 MB / 0.5676 GB, free: 9.172 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001481/0.7263, allocations: 2.081 MB / 0.5697 GB, free: 7.207 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001826/0.7281, allocations: 1.925 MB / 0.5716 GB, free: 5.477 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 6.292e-05/0.7282, allocations: 301.1 kB / 0.5718 GB, free: 5.18 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001896/0.7301, allocations: 1.452 MB / 0.5733 GB, free: 3.719 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1445/0.8746, allocations: 5.72 MB / 0.5788 GB, free: 111.6 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007406/0.882, allocations: 8.119 MB / 0.5868 GB, free: 105.6 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001168/0.8822, allocations: 46.09 kB / 0.5868 GB, free: 105.6 MB / 426.8 MB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.008054/0.8902, allocations: 6.741 MB / 0.5934 GB, free: 105.2 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.03e-05/0.8903, allocations: 74.5 kB / 0.5935 GB, free: 105.2 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000133/0.8904, allocations: 158.8 kB / 0.5936 GB, free: 105.2 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002963/0.8934, allocations: 1.512 MB / 0.5951 GB, free: 105.1 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003962/0.8973, allocations: 2.283 MB / 0.5973 GB, free: 105.1 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005258/0.9026, allocations: 5.553 MB / 0.6028 GB, free: 103.8 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004162/0.9068, allocations: 1.181 MB / 0.6039 GB, free: 103.8 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000505/0.9073, allocations: 449.9 kB / 0.6043 GB, free: 103.8 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * 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 (1243): * Single equations (assignments): 1240 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003267/0.9105, allocations: 0.8389 MB / 0.6052 GB, free: 103.6 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009027/0.9114, allocations: 0.5327 MB / 0.6057 GB, free: 103.6 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004782/0.9162, allocations: 4.406 MB / 0.61 GB, free: 103.2 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002551/0.9188, allocations: 2.172 MB / 0.6121 GB, free: 102.9 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/0.9188, allocations: 19.94 kB / 0.6121 GB, free: 102.9 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.194e-05/0.9188, allocations: 33.72 kB / 0.6121 GB, free: 102.9 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01451/0.9333, allocations: 12.9 MB / 0.6247 GB, free: 95.63 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.28e-05/0.9333, allocations: 8 kB / 0.6248 GB, free: 95.62 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001989/0.9353, allocations: 0.9035 MB / 0.6256 GB, free: 94.93 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002609/0.9379, allocations: 1.318 MB / 0.6269 GB, free: 94.03 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002405/0.9382, allocations: 117.3 kB / 0.627 GB, free: 94 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004801/0.943, allocations: 5.231 MB / 0.6321 GB, free: 89.75 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/0.943, allocations: 20.92 kB / 0.6322 GB, free: 89.74 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00516/0.9481, allocations: 4.542 MB / 0.6366 GB, free: 85.79 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001548/0.9497, allocations: 0.8381 MB / 0.6374 GB, free: 85.19 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004696/0.9502, allocations: 112 kB / 0.6375 GB, free: 85.08 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/0.9513, allocations: 144 kB / 0.6377 GB, free: 84.94 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004535/0.9518, allocations: 414.5 kB / 0.6381 GB, free: 84.53 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002077/0.952, allocations: 124 kB / 0.6382 GB, free: 84.41 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.001715/0.9537, allocations: 1.825 MB / 0.64 GB, free: 82.84 MB / 426.8 MB Notification: Performance of sort global known variables: time 2.01e-07/0.9537, allocations: 0 / 0.64 GB, free: 82.84 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.007656/0.9613, allocations: 4.11 MB / 0.644 GB, free: 78.71 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 1 (source.plug_p.reference.gamma) * 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 (528): * Single equations (assignments): 525 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005746/0.9619, allocations: 316.2 kB / 0.6443 GB, free: 78.48 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.005464/0.9674, allocations: 5.133 MB / 0.6493 GB, free: 73.89 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001875/0.9676, allocations: 122.8 kB / 0.6494 GB, free: 73.76 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001924/0.9695, allocations: 2.183 MB / 0.6515 GB, free: 71.72 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003101/0.9726, allocations: 1.488 MB / 0.653 GB, free: 70.32 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02874/1.001, allocations: 24.2 MB / 0.6766 GB, free: 45.95 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002527/1.004, allocations: 3.36 MB / 0.6799 GB, free: 42.55 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.003078/1.007, allocations: 1.109 MB / 0.681 GB, free: 41.44 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002322/1.009, allocations: 1.392 MB / 0.6823 GB, free: 40.03 MB / 426.8 MB Notification: Performance of SimCode: time 2.324e-06/1.009, allocations: 0 / 0.6823 GB, free: 40.03 MB / 426.8 MB Notification: Performance of Templates: time 0.2468/1.256, allocations: 99.54 MB / 0.7795 GB, free: 106.3 MB / 442.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Machines/Examples/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: 5.713611807208508]