Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.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.001226/0.001226, allocations: 80.8 kB / 22.28 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.001375/0.001375, allocations: 164.7 kB / 25.69 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.9442/0.9442, allocations: 158.6 MB / 187.6 MB, free: 2.797 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.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") translateModel(Modelica.Electrical.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 251.5 MB, free: 7.293 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.623e-05/2.794e-05, allocations: 2.312 kB / 251.5 MB, free: 7.289 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.007406/0.007434, allocations: 5.583 MB / 257.1 MB, free: 1.672 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00369/0.01112, allocations: 1.939 MB / 259 MB, free: 15.72 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003414/0.01147, allocations: 20 kB / 259.1 MB, free: 15.7 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001852/0.01332, allocations: 1.734 MB / 260.8 MB, free: 13.96 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001107/0.01442, allocations: 0.6641 MB / 261.5 MB, free: 13.29 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006086/0.01503, allocations: 406.8 kB / 261.9 MB, free: 12.89 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008536/0.01589, allocations: 0.9256 MB / 262.8 MB, free: 11.96 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009666/0.01685, allocations: 0.8253 MB / 263.6 MB, free: 11.1 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000577/0.01743, allocations: 0.5689 MB / 264.2 MB, free: 10.53 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004582/0.01789, allocations: 430.9 kB / 264.6 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.018, allocations: 84 kB / 264.7 MB, free: 10.03 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004256/0.01843, allocations: 235.7 kB / 264.9 MB, free: 9.797 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.01854, allocations: 211.2 kB / 265.1 MB, free: 9.59 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002132/0.01875, allocations: 319.1 kB / 265.4 MB, free: 9.277 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008059/0.01956, allocations: 0.8093 MB / 266.2 MB, free: 8.465 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.01956, allocations: 0 / 266.2 MB, free: 8.465 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.01956, allocations: 4 kB / 266.2 MB, free: 8.461 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.01957, allocations: 0 / 266.2 MB, free: 8.461 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.001946/0.02152, allocations: 1.408 MB / 267.6 MB, free: 7.023 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.02155, allocations: 15.92 kB / 267.7 MB, free: 7.008 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003568/0.02512, allocations: 1.366 MB / 269 MB, free: 5.641 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004547/0.02558, allocations: 256.5 kB / 269.3 MB, free: 5.363 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.858e-05/0.02563, allocations: 82.55 kB / 269.4 MB, free: 5.281 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.02573, allocations: 104.4 kB / 269.5 MB, free: 5.18 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007791/0.0265, allocations: 0.8188 MB / 270.3 MB, free: 4.312 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/0.02653, allocations: 12.08 kB / 270.3 MB, free: 4.301 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.522e-05/0.02658, allocations: 44.38 kB / 270.3 MB, free: 4.258 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/0.0266, allocations: 31.94 kB / 270.4 MB, free: 4.227 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005405/0.02714, allocations: 461.6 kB / 270.8 MB, free: 3.777 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002795/0.02994, allocations: 2.65 MB / 273.5 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.03099, allocations: 0.8372 MB / 274.3 MB, free: 128 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.03113, allocations: 148.9 kB / 274.5 MB, free: 15.97 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.707e-05/0.0312, allocations: 24.64 kB / 274.5 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.03123, allocations: 39.22 kB / 274.5 MB, free: 15.9 MB / 266.7 MB Notification: Performance of pre-optimization done (n=71): time 2.465e-06/0.03123, allocations: 4 kB / 274.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=71): time 0.000422/0.03165, allocations: 361.8 kB / 274.9 MB, free: 15.54 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.0317, allocations: 111.5 kB / 275 MB, free: 15.4 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.03187, allocations: 310.4 kB / 275.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.03189, allocations: 37.7 kB / 275.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.03207, allocations: 455.6 kB / 275.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.03219, allocations: 258 kB / 276 MB, free: 14.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/0.03233, allocations: 170.5 kB / 276.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.896e-05/0.03243, allocations: 358.7 kB / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.03253, allocations: 97.94 kB / 276.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002467/0.03278, allocations: 424.8 kB / 277 MB, free: 13.14 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004768/0.03325, allocations: 0.6216 MB / 277.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.03326, allocations: 0 / 277.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.0005099/0.03377, allocations: 0.5405 MB / 278.2 MB, free: 11.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.03379, allocations: 8 kB / 278.2 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.03381, allocations: 12 kB / 278.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.03383, allocations: 16 kB / 278.2 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004067/0.03423, allocations: 227.6 kB / 278.5 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.63e-05/0.03425, allocations: 27.86 kB / 278.5 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002325/0.03448, allocations: 103.2 kB / 278.6 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.182e-05/0.03451, allocations: 35.94 kB / 278.6 MB, free: 11.41 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (122): * Single equations (assignments): 122 * 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.0001414/0.03466, allocations: 185.5 kB / 278.8 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.018e-05/0.03473, allocations: 47.97 kB / 278.9 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003894/0.03511, allocations: 390 kB / 279.2 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.03512, allocations: 8 kB / 279.2 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.03512, allocations: 4 kB / 279.2 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.03513, allocations: 7.922 kB / 279.3 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009206/0.03605, allocations: 0.7964 MB / 280.1 MB, free: 9.945 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.03605, allocations: 0 / 280.1 MB, free: 9.945 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002887/0.03634, allocations: 139.8 kB / 280.2 MB, free: 9.809 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.03635, allocations: 8 kB / 280.2 MB, free: 9.801 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.365e-05/0.03637, allocations: 19.98 kB / 280.2 MB, free: 9.781 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.03637, allocations: 4 kB / 280.2 MB, free: 9.777 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.03638, allocations: 0 / 280.2 MB, free: 9.777 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005338/0.03691, allocations: 0.6784 MB / 280.9 MB, free: 9.082 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.882e-05/0.03696, allocations: 59.47 kB / 281 MB, free: 9.023 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.807e-05/0.037, allocations: 16 kB / 281 MB, free: 9.008 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.03716, allocations: 20 kB / 281 MB, free: 8.988 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.03722, allocations: 48.5 kB / 281 MB, free: 8.941 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.03724, allocations: 16.02 kB / 281.1 MB, free: 8.926 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.322e-05/0.03731, allocations: 100.6 kB / 281.2 MB, free: 8.824 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03731, allocations: 0 / 281.2 MB, free: 8.824 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005301/0.03784, allocations: 247.3 kB / 281.4 MB, free: 8.582 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 (78): * Single equations (assignments): 78 * 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.00021/0.03805, allocations: 128.2 kB / 281.5 MB, free: 8.445 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004209/0.03847, allocations: 426 kB / 281.9 MB, free: 8.031 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.249e-05/0.03848, allocations: 4.5 kB / 281.9 MB, free: 8.027 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001629/0.03865, allocations: 185.8 kB / 282.1 MB, free: 7.844 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.03898, allocations: 53.97 kB / 282.2 MB, free: 7.789 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.04061, allocations: 1.245 MB / 283.4 MB, free: 6.508 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001059/0.04072, allocations: 149 kB / 283.6 MB, free: 6.34 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002212/0.04094, allocations: 96.83 kB / 283.7 MB, free: 6.246 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/0.04111, allocations: 135.3 kB / 283.8 MB, free: 6.113 MB / 266.7 MB Notification: Performance of SimCode: time 1.733e-06/0.04111, allocations: 3.938 kB / 283.8 MB, free: 6.109 MB / 266.7 MB Notification: Performance of Templates: time 0.008302/0.04942, allocations: 5.048 MB / 288.8 MB, free: 1.086 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/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.787134528160095]