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.0009817/0.0009817, allocations: 80.62 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001086/0.001086, allocations: 147.6 kB / 25.59 MB, free: 8.902 MB / 18.57 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.9286/0.9286, allocations: 173.4 MB / 202.2 MB, free: 8.309 MB / 186.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.733e-06/1.733e-06, allocations: 0 / 269.2 MB, free: 9.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.17e-05/2.343e-05, allocations: 2.312 kB / 269.2 MB, free: 9.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.006796/0.006819, allocations: 5.341 MB / 274.5 MB, free: 4.426 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003756/0.01058, allocations: 1.74 MB / 276.3 MB, free: 2.688 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004988/0.01107, allocations: 23.94 kB / 276.3 MB, free: 2.664 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002707/0.01378, allocations: 1.67 MB / 278 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001752/0.01553, allocations: 0.7342 MB / 278.7 MB, free: 256 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006292/0.01616, allocations: 279.3 kB / 279 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009919/0.01715, allocations: 0.8286 MB / 279.8 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001191/0.01835, allocations: 0.7508 MB / 280.6 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006543/0.019, allocations: 0.5145 MB / 281.1 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000545/0.01954, allocations: 395 kB / 281.5 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001193/0.01966, allocations: 80 kB / 281.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007202/0.02038, allocations: 231.7 kB / 281.8 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.554e-05/0.02048, allocations: 191.2 kB / 281.9 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002041/0.02068, allocations: 283.3 kB / 282.2 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008172/0.0215, allocations: 0.7744 MB / 283 MB, free: 11.92 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.0215, allocations: 0 / 283 MB, free: 11.92 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.02151, allocations: 4 kB / 283 MB, free: 11.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.02151, allocations: 0 / 283 MB, free: 11.91 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.00175/0.02326, allocations: 1.416 MB / 284.4 MB, free: 10.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.892e-05/0.02329, allocations: 12.03 kB / 284.4 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002344/0.02563, allocations: 0.8431 MB / 285.3 MB, free: 9.605 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.02597, allocations: 367.4 kB / 285.6 MB, free: 9.219 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.835e-05/0.02601, allocations: 66.38 kB / 285.7 MB, free: 9.152 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.939e-05/0.0261, allocations: 96.38 kB / 285.8 MB, free: 9.059 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006777/0.02677, allocations: 0.7314 MB / 286.5 MB, free: 8.301 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.0268, allocations: 8.125 kB / 286.5 MB, free: 8.293 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.381e-05/0.02685, allocations: 40.38 kB / 286.6 MB, free: 8.254 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/0.02687, allocations: 27.94 kB / 286.6 MB, free: 8.227 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004917/0.02736, allocations: 441.5 kB / 287 MB, free: 7.793 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00235/0.02971, allocations: 2.908 MB / 289.9 MB, free: 4.746 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008585/0.03057, allocations: 0.7181 MB / 290.6 MB, free: 4 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.0307, allocations: 166.9 kB / 290.8 MB, free: 3.828 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.599e-05/0.03074, allocations: 20.66 kB / 290.8 MB, free: 3.809 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.03077, allocations: 42.05 kB / 290.9 MB, free: 3.758 MB / 266.7 MB Notification: Performance of pre-optimization done (n=65): time 1.773e-06/0.03077, allocations: 0 / 290.9 MB, free: 3.758 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.0004928/0.03126, allocations: 441.6 kB / 291.3 MB, free: 3.324 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.0313, allocations: 123.6 kB / 291.4 MB, free: 3.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.03145, allocations: 319.9 kB / 291.7 MB, free: 2.852 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.03148, allocations: 37.7 kB / 291.8 MB, free: 2.809 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.03163, allocations: 442.7 kB / 292.2 MB, free: 2.367 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.03175, allocations: 237.9 kB / 292.4 MB, free: 2.133 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.03189, allocations: 148.2 kB / 292.6 MB, free: 1.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.03204, allocations: 0.5273 MB / 293.1 MB, free: 1.441 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.03214, allocations: 93.92 kB / 293.2 MB, free: 1.348 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000225/0.03236, allocations: 405.3 kB / 293.6 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004311/0.0328, allocations: 0.5504 MB / 294.1 MB, free: 156 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.0328, allocations: 4 kB / 294.2 MB, free: 152 kB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.000498/0.0333, allocations: 0.5438 MB / 294.7 MB, free: 15.6 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.03331, allocations: 8 kB / 294.7 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.03332, allocations: 4 kB / 294.7 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.03333, allocations: 12 kB / 294.7 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000344/0.03368, allocations: 183.7 kB / 294.9 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.03369, allocations: 20.31 kB / 294.9 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/0.03386, allocations: 83.41 kB / 295 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.783e-05/0.03389, allocations: 31.98 kB / 295 MB, free: 15.26 MB / 282.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.0001302/0.03402, allocations: 204.3 kB / 295.2 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.913e-05/0.0341, allocations: 55.77 kB / 295.3 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005622/0.03466, allocations: 453.7 kB / 295.7 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.03466, allocations: 4 kB / 295.7 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.03467, allocations: 4 kB / 295.7 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.03467, allocations: 7.922 kB / 295.7 MB, free: 14.53 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009219/0.0356, allocations: 1.022 MB / 296.8 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.0356, allocations: 0 / 296.8 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002809/0.03588, allocations: 143.8 kB / 296.9 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.03588, allocations: 4 kB / 296.9 MB, free: 13.33 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.0359, allocations: 15.98 kB / 296.9 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.03591, allocations: 4 kB / 296.9 MB, free: 13.31 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.03591, allocations: 0 / 296.9 MB, free: 13.31 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005617/0.03647, allocations: 0.8738 MB / 297.8 MB, free: 12.42 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.62e-05/0.03651, allocations: 63.5 kB / 297.9 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.231e-05/0.03654, allocations: 12 kB / 297.9 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.0367, allocations: 20.03 kB / 297.9 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.679e-05/0.03675, allocations: 52.5 kB / 297.9 MB, free: 12.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.03677, allocations: 16 kB / 298 MB, free: 12.26 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.259e-05/0.03684, allocations: 189.1 kB / 298.1 MB, free: 12.08 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03684, allocations: 0 / 298.1 MB, free: 12.08 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003976/0.03724, allocations: 227.3 kB / 298.4 MB, free: 11.86 MB / 282.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.0001591/0.0374, allocations: 143.1 kB / 298.5 MB, free: 11.71 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000356/0.03776, allocations: 395.3 kB / 298.9 MB, free: 11.32 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.03776, allocations: 0 / 298.9 MB, free: 11.32 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004015/0.03816, allocations: 200.5 kB / 299.1 MB, free: 11.12 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.03849, allocations: 49.81 kB / 299.1 MB, free: 11.07 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.03971, allocations: 1.135 MB / 300.3 MB, free: 9.891 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.719e-05/0.0398, allocations: 140.8 kB / 300.4 MB, free: 9.734 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000179/0.03998, allocations: 76.34 kB / 300.5 MB, free: 9.66 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001651/0.04015, allocations: 146.2 kB / 300.6 MB, free: 9.516 MB / 282.7 MB Notification: Performance of SimCode: time 6.71e-07/0.04015, allocations: 0 / 300.6 MB, free: 9.516 MB / 282.7 MB Notification: Performance of Templates: time 0.007/0.04715, allocations: 4.842 MB / 305.5 MB, free: 4.715 MB / 282.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.882455725222826]