Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000849/0.000849, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001045/0.001894, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006479/0.0006479, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009267/0.001575, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.7924/0.7924, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1303/0.9227, allocations: 52.49 MB / 238.5 MB, free: 7.637 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.QuasiStatic.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 239.7 MB, free: 6.379 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015e-05/1.171e-05, allocations: 2.312 kB / 239.7 MB, free: 6.375 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.006112/0.006123, allocations: 5.415 MB / 245.2 MB, free: 0.9492 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003075/0.009198, allocations: 1.837 MB / 247 MB, free: 15.11 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002946/0.009493, allocations: 19.94 kB / 247 MB, free: 15.09 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002544/0.01204, allocations: 1.712 MB / 248.7 MB, free: 13.38 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001335/0.01337, allocations: 0.7425 MB / 249.5 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005254/0.0139, allocations: 274.8 kB / 249.7 MB, free: 12.38 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005801/0.01448, allocations: 0.8485 MB / 250.6 MB, free: 11.52 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006667/0.01514, allocations: 0.7469 MB / 251.3 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003659/0.01551, allocations: 0.5309 MB / 251.9 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003052/0.01582, allocations: 388.7 kB / 252.2 MB, free: 9.836 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.46e-05/0.01588, allocations: 79.94 kB / 252.3 MB, free: 9.758 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002943/0.01617, allocations: 243.7 kB / 252.6 MB, free: 9.52 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.339e-05/0.01625, allocations: 139.5 kB / 252.7 MB, free: 9.383 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.01639, allocations: 231.6 kB / 252.9 MB, free: 9.156 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005498/0.01694, allocations: 0.7237 MB / 253.6 MB, free: 8.43 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/0.01695, allocations: 0 / 253.6 MB, free: 8.43 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.01695, allocations: 3.938 kB / 253.6 MB, free: 8.426 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.01696, allocations: 0 / 253.6 MB, free: 8.426 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.001734/0.0187, allocations: 1.581 MB / 255.2 MB, free: 6.797 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.577e-05/0.01872, allocations: 12.03 kB / 255.2 MB, free: 6.785 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002308/0.02103, allocations: 0.9137 MB / 256.2 MB, free: 5.871 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.02129, allocations: 236.7 kB / 256.4 MB, free: 5.613 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.538e-05/0.02133, allocations: 74.38 kB / 256.5 MB, free: 5.543 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.853e-05/0.02141, allocations: 96.33 kB / 256.6 MB, free: 5.449 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005885/0.022, allocations: 0.723 MB / 257.3 MB, free: 4.699 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.02202, allocations: 4.188 kB / 257.3 MB, free: 4.695 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.273e-05/0.02206, allocations: 36.38 kB / 257.3 MB, free: 4.66 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/0.02208, allocations: 27.94 kB / 257.3 MB, free: 4.633 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004966/0.02257, allocations: 377.7 kB / 257.7 MB, free: 4.266 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002039/0.02461, allocations: 2.379 MB / 260.1 MB, free: 1.762 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007358/0.02535, allocations: 0.6455 MB / 260.7 MB, free: 1.09 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.02545, allocations: 132.5 kB / 260.9 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.078e-05/0.0255, allocations: 24.64 kB / 260.9 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.02553, allocations: 47.14 kB / 260.9 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of pre-optimization done (n=65): time 1.754e-06/0.02553, allocations: 0 / 260.9 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of matching and sorting (n=65): time 0.0003551/0.02588, allocations: 341.8 kB / 261.3 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.02591, allocations: 111.5 kB / 261.4 MB, free: 408 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.02603, allocations: 248.7 kB / 261.6 MB, free: 152 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.02606, allocations: 37.7 kB / 261.7 MB, free: 108 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.02618, allocations: 392.1 kB / 262 MB, free: 15.71 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.354e-05/0.02628, allocations: 226 kB / 262.3 MB, free: 15.49 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.02638, allocations: 142.8 kB / 262.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.457e-05/0.02646, allocations: 350.7 kB / 262.7 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.871e-05/0.02654, allocations: 81.95 kB / 262.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.0267, allocations: 299.9 kB / 263.1 MB, free: 14.53 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003125/0.02701, allocations: 484.7 kB / 263.6 MB, free: 13.97 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.02702, allocations: 0 / 263.6 MB, free: 13.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0003555/0.02737, allocations: 437.4 kB / 264 MB, free: 13.54 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.02739, allocations: 8 kB / 264 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.02739, allocations: 12.09 kB / 264 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.02741, allocations: 8 kB / 264 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004106/0.02782, allocations: 219.7 kB / 264.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.02783, allocations: 19.67 kB / 264.3 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/0.02798, allocations: 79.41 kB / 264.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.32e-05/0.02801, allocations: 24 kB / 264.4 MB, free: 13.18 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (98): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002442/0.02825, allocations: 161.6 kB / 264.5 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.032e-05/0.02831, allocations: 43.97 kB / 264.6 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003411/0.02865, allocations: 357.8 kB / 264.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-06/0.02866, allocations: 12 kB / 264.9 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.02866, allocations: 7.938 kB / 264.9 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.02867, allocations: 3.984 kB / 265 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007357/0.0294, allocations: 0.7418 MB / 265.7 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.0294, allocations: 0 / 265.7 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003019/0.02971, allocations: 159.8 kB / 265.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.392e-05/0.02974, allocations: 47.58 kB / 265.9 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.02975, allocations: 7.984 kB / 265.9 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.02977, allocations: 20 kB / 265.9 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.02977, allocations: 0 / 265.9 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.02977, allocations: 4 kB / 265.9 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004189/0.03019, allocations: 0.6588 MB / 266.6 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/0.03022, allocations: 12 kB / 266.6 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.03036, allocations: 19.98 kB / 266.6 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.161e-05/0.03041, allocations: 44.58 kB / 266.7 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/0.03043, allocations: 15.98 kB / 266.7 MB, free: 10.82 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.015e-05/0.03048, allocations: 74.72 kB / 266.7 MB, free: 10.74 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03048, allocations: 4.031 kB / 266.8 MB, free: 10.74 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003527/0.03083, allocations: 227.3 kB / 267 MB, free: 10.52 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.pin_p.reference.gamma,voltageSource.pin_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 (72): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000149/0.03098, allocations: 128.2 kB / 267.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003016/0.03128, allocations: 367.1 kB / 267.5 MB, free: 10.02 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.536e-05/0.0313, allocations: 16.72 kB / 267.5 MB, free: 10.01 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001687/0.03147, allocations: 219 kB / 267.7 MB, free: 9.793 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.03182, allocations: 243.8 kB / 267.9 MB, free: 9.523 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005455/0.03727, allocations: 1.151 MB / 269.1 MB, free: 8.332 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.545e-05/0.03736, allocations: 152.7 kB / 269.2 MB, free: 8.16 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001731/0.03753, allocations: 76.34 kB / 269.3 MB, free: 8.082 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.03769, allocations: 119.4 kB / 269.4 MB, free: 7.965 MB / 266.7 MB Notification: Performance of SimCode: time 8.42e-07/0.03769, allocations: 4 kB / 269.4 MB, free: 7.961 MB / 266.7 MB Notification: Performance of Templates: time 0.007135/0.04483, allocations: 4.6 MB / 274 MB, free: 3.402 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.3839806262403727]