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.001133/0.001133, allocations: 85.95 kB / 23 MB, free: 1.504 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.001401/0.001401, allocations: 175.6 kB / 26.39 MB, free: 7.988 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.9471/0.9471, allocations: 158.6 MB / 188.3 MB, free: 2.805 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.593e-06/1.593e-06, allocations: 3.938 kB / 252.2 MB, free: 7.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.717e-05/1.877e-05, allocations: 6.25 kB / 252.2 MB, free: 7.258 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.005047/0.005065, allocations: 5.583 MB / 257.8 MB, free: 1.645 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003064/0.008129, allocations: 1.846 MB / 259.7 MB, free: 15.78 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003874/0.008517, allocations: 23.94 kB / 259.7 MB, free: 15.76 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002411/0.01093, allocations: 1.676 MB / 261.4 MB, free: 14.08 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001172/0.0121, allocations: 0.6563 MB / 262 MB, free: 13.42 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005282/0.01263, allocations: 398.8 kB / 262.4 MB, free: 13.03 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006946/0.01332, allocations: 0.9256 MB / 263.3 MB, free: 12.1 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008218/0.01414, allocations: 0.7668 MB / 264.1 MB, free: 11.31 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004828/0.01463, allocations: 0.5767 MB / 264.7 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003526/0.01498, allocations: 426.8 kB / 265.1 MB, free: 10.31 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.781e-05/0.01506, allocations: 84 kB / 265.2 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003209/0.01538, allocations: 239.7 kB / 265.4 MB, free: 9.996 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.01548, allocations: 211.2 kB / 265.6 MB, free: 9.789 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001849/0.01567, allocations: 315.1 kB / 265.9 MB, free: 9.48 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006783/0.01635, allocations: 0.8094 MB / 266.7 MB, free: 8.668 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.01635, allocations: 0 / 266.7 MB, free: 8.668 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.01635, allocations: 0 / 266.7 MB, free: 8.668 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.01636, allocations: 4 kB / 266.8 MB, free: 8.664 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.00189/0.01825, allocations: 1.498 MB / 268.2 MB, free: 7.125 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.01828, allocations: 11.98 kB / 268.3 MB, free: 7.113 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003825/0.02211, allocations: 1.221 MB / 269.5 MB, free: 5.891 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004036/0.02251, allocations: 403.2 kB / 269.9 MB, free: 5.469 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.661e-05/0.02256, allocations: 78.55 kB / 270 MB, free: 5.391 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.02266, allocations: 108.4 kB / 270.1 MB, free: 5.285 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008157/0.02348, allocations: 0.831 MB / 270.9 MB, free: 4.402 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/0.0235, allocations: 4.125 kB / 270.9 MB, free: 4.398 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.219e-05/0.02356, allocations: 48.38 kB / 270.9 MB, free: 4.352 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/0.02358, allocations: 31.94 kB / 271 MB, free: 4.32 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006128/0.02419, allocations: 0.5404 MB / 271.5 MB, free: 3.781 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002864/0.02706, allocations: 3.23 MB / 274.7 MB, free: 400 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/0.0285, allocations: 0.942 MB / 275.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.02864, allocations: 165.4 kB / 275.8 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.501e-05/0.0287, allocations: 24.64 kB / 275.9 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.02873, allocations: 49.98 kB / 275.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of pre-optimization done (n=71): time 2.074e-06/0.02873, allocations: 0 / 275.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=71): time 0.0005582/0.02929, allocations: 473.5 kB / 276.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.02934, allocations: 115.4 kB / 276.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/0.02954, allocations: 377.7 kB / 276.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.02957, allocations: 37.7 kB / 276.9 MB, free: 14.16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/0.02977, allocations: 0.4986 MB / 277.4 MB, free: 13.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.02989, allocations: 261.8 kB / 277.7 MB, free: 13.4 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001596/0.03005, allocations: 192.1 kB / 277.8 MB, free: 13.2 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.0302, allocations: 0.5273 MB / 278.4 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.03032, allocations: 113.8 kB / 278.5 MB, free: 12.55 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003159/0.03063, allocations: 0.568 MB / 279 MB, free: 11.79 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005048/0.03114, allocations: 0.7711 MB / 279.8 MB, free: 10.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.03114, allocations: 0 / 279.8 MB, free: 10.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.000645/0.03179, allocations: 0.6808 MB / 280.5 MB, free: 10.13 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.03181, allocations: 8 kB / 280.5 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.03182, allocations: 12 kB / 280.5 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.03183, allocations: 16 kB / 280.5 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000407/0.03224, allocations: 231.6 kB / 280.8 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.693e-05/0.03226, allocations: 27.86 kB / 280.8 MB, free: 9.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002431/0.0325, allocations: 103.2 kB / 280.9 MB, free: 9.738 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.633e-05/0.03254, allocations: 40.19 kB / 280.9 MB, free: 9.699 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.0001677/0.0327, allocations: 220.2 kB / 281.1 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.105e-05/0.0328, allocations: 67.72 kB / 281.2 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004912/0.03329, allocations: 481.9 kB / 281.7 MB, free: 8.93 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/0.03329, allocations: 8 kB / 281.7 MB, free: 8.922 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.0333, allocations: 3.938 kB / 281.7 MB, free: 8.918 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.0333, allocations: 7.984 kB / 281.7 MB, free: 8.91 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001442/0.03475, allocations: 1.085 MB / 282.8 MB, free: 7.793 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.03475, allocations: 0 / 282.8 MB, free: 7.793 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002961/0.03504, allocations: 147.8 kB / 282.9 MB, free: 7.648 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.03505, allocations: 4 kB / 282.9 MB, free: 7.645 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/0.03507, allocations: 23.98 kB / 283 MB, free: 7.621 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.03508, allocations: 4 kB / 283 MB, free: 7.617 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.03508, allocations: 0 / 283 MB, free: 7.617 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006359/0.03571, allocations: 0.9205 MB / 283.9 MB, free: 6.676 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.133e-05/0.03575, allocations: 55.52 kB / 283.9 MB, free: 6.621 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.414e-05/0.0358, allocations: 19.98 kB / 284 MB, free: 6.602 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.03597, allocations: 19.94 kB / 284 MB, free: 6.582 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.397e-05/0.03604, allocations: 56.53 kB / 284 MB, free: 6.527 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.097e-05/0.03606, allocations: 16 kB / 284 MB, free: 6.512 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001012/0.03616, allocations: 218.9 kB / 284.3 MB, free: 6.293 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03616, allocations: 0 / 284.3 MB, free: 6.293 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004834/0.03665, allocations: 251.3 kB / 284.5 MB, free: 6.047 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.0001896/0.03684, allocations: 143.1 kB / 284.6 MB, free: 5.895 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004903/0.03733, allocations: 460.4 kB / 285.1 MB, free: 5.449 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.03733, allocations: 0 / 285.1 MB, free: 5.449 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001808/0.03751, allocations: 214.2 kB / 285.3 MB, free: 5.234 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.03788, allocations: 48.64 kB / 285.3 MB, free: 5.188 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.03935, allocations: 1.291 MB / 286.6 MB, free: 3.852 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.045e-05/0.03944, allocations: 149 kB / 286.8 MB, free: 3.688 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001973/0.03964, allocations: 92.84 kB / 286.9 MB, free: 3.598 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/0.03981, allocations: 158.2 kB / 287 MB, free: 3.441 MB / 266.7 MB Notification: Performance of SimCode: time 7.21e-07/0.03981, allocations: 0 / 287 MB, free: 3.441 MB / 266.7 MB Notification: Performance of Templates: time 0.008317/0.04813, allocations: 5.242 MB / 292.3 MB, free: 14.22 MB / 282.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.9330629422329366]