Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.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.0009638/0.0009638, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.0009365/0.0009365, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.9231/0.9231, allocations: 177.1 MB / 205 MB, free: 5.598 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.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.1.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.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 273 MB, free: 1.523 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.036e-05/2.222e-05, allocations: 2.312 kB / 273 MB, free: 1.52 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.006836/0.006858, allocations: 5.485 MB / 278.5 MB, free: 12.01 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003133/0.009992, allocations: 1.822 MB / 280.3 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002828/0.01027, allocations: 19.94 kB / 280.3 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003121/0.0134, allocations: 1.715 MB / 282 MB, free: 8.434 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001353/0.01475, allocations: 0.5981 MB / 282.6 MB, free: 7.832 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008408/0.01559, allocations: 398.8 kB / 283 MB, free: 7.441 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008452/0.01643, allocations: 0.8363 MB / 283.8 MB, free: 6.598 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001144/0.01758, allocations: 0.7354 MB / 284.6 MB, free: 5.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006681/0.01825, allocations: 0.5223 MB / 285.1 MB, free: 5.316 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005402/0.01879, allocations: 387 kB / 285.5 MB, free: 4.938 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001267/0.01891, allocations: 76 kB / 285.6 MB, free: 4.863 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004696/0.01938, allocations: 239.6 kB / 285.8 MB, free: 4.629 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.01952, allocations: 191.2 kB / 286 MB, free: 4.441 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002898/0.01981, allocations: 287.2 kB / 286.3 MB, free: 4.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009899/0.0208, allocations: 0.7744 MB / 287 MB, free: 3.383 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.02081, allocations: 0 / 287 MB, free: 3.383 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.02081, allocations: 4 kB / 287 MB, free: 3.379 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.02082, allocations: 0 / 287 MB, free: 3.379 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.002935/0.02376, allocations: 1.412 MB / 288.4 MB, free: 1.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.0238, allocations: 8.031 kB / 288.5 MB, free: 1.922 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004051/0.02785, allocations: 0.8118 MB / 289.3 MB, free: 1.109 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005563/0.0284, allocations: 366.6 kB / 289.6 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.325e-05/0.02847, allocations: 70.38 kB / 289.7 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/0.02861, allocations: 100.4 kB / 289.8 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1116/0.1402, allocations: 0.8035 MB / 290.6 MB, free: 18.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.546e-05/0.1402, allocations: 7.953 kB / 290.6 MB, free: 18.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-05/0.1403, allocations: 41.78 kB / 290.6 MB, free: 18.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.254e-05/0.1403, allocations: 23.41 kB / 290.7 MB, free: 18.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/0.1416, allocations: 0.5379 MB / 291.2 MB, free: 18.81 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003168/0.1447, allocations: 2.904 MB / 294.1 MB, free: 17.7 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.1458, allocations: 0.7653 MB / 294.9 MB, free: 17.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/0.146, allocations: 183.6 kB / 295.1 MB, free: 17.54 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.185e-05/0.1461, allocations: 34.94 kB / 295.1 MB, free: 17.54 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.1461, allocations: 49.3 kB / 295.1 MB, free: 17.49 MB / 266.7 MB Notification: Performance of pre-optimization done (n=65): time 2.104e-06/0.1461, allocations: 2 kB / 295.1 MB, free: 17.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.0007174/0.1468, allocations: 0.5099 MB / 295.6 MB, free: 17.42 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.1468, allocations: 111.1 kB / 295.8 MB, free: 17.3 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.147, allocations: 323.2 kB / 296.1 MB, free: 17.12 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.147, allocations: 34.17 kB / 296.1 MB, free: 17.09 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.1472, allocations: 441.4 kB / 296.5 MB, free: 16.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.616e-05/0.1473, allocations: 237.2 kB / 296.8 MB, free: 16.7 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.1474, allocations: 147.8 kB / 296.9 MB, free: 16.67 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.81e-05/0.1475, allocations: 0.5247 MB / 297.4 MB, free: 16.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001862/0.1477, allocations: 131.8 kB / 297.6 MB, free: 16.17 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002637/0.1479, allocations: 427.3 kB / 298 MB, free: 15.82 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004755/0.1484, allocations: 0.6056 MB / 298.6 MB, free: 15.47 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.1484, allocations: 2.531 kB / 298.6 MB, free: 15.47 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0006917/0.1491, allocations: 0.6148 MB / 299.2 MB, free: 15.4 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.1491, allocations: 8.219 kB / 299.2 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.1491, allocations: 10.09 kB / 299.2 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.1491, allocations: 10.09 kB / 299.2 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004022/0.1495, allocations: 187.7 kB / 299.4 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.456e-05/0.1496, allocations: 14.8 kB / 299.4 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.1498, allocations: 75.72 kB / 299.5 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.43e-05/0.1498, allocations: 36.67 kB / 299.5 MB, free: 15.38 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.0001171/0.1499, allocations: 209.2 kB / 299.7 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.856e-05/0.15, allocations: 64.2 kB / 299.8 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005916/0.1506, allocations: 0.4945 MB / 300.3 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.1506, allocations: 6.781 kB / 300.3 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1506, allocations: 1.344 kB / 300.3 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.1506, allocations: 4.109 kB / 300.3 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.1518, allocations: 1.17 MB / 301.5 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.1518, allocations: 2.266 kB / 301.5 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003081/0.1521, allocations: 137.1 kB / 301.6 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.1521, allocations: 6.984 kB / 301.6 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.525e-05/0.1521, allocations: 16.53 kB / 301.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.1521, allocations: 7.562 kB / 301.7 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1521, allocations: 0.8125 kB / 301.7 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007576/0.1529, allocations: 0.968 MB / 302.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.754e-05/0.1529, allocations: 45.02 kB / 302.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.889e-05/0.153, allocations: 13.45 kB / 302.7 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.1531, allocations: 28.39 kB / 302.7 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.867e-05/0.1532, allocations: 44.64 kB / 302.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/0.1532, allocations: 20.59 kB / 302.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.515e-05/0.1533, allocations: 197.8 kB / 303 MB, free: 13.61 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1533, allocations: 1.375 kB / 303 MB, free: 13.61 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004838/0.1538, allocations: 229.3 kB / 303.2 MB, free: 13.55 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.0001716/0.154, allocations: 154.9 kB / 303.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005184/0.1545, allocations: 450.8 kB / 303.8 MB, free: 13.38 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.1545, allocations: 0 / 303.8 MB, free: 13.38 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002201/0.1547, allocations: 221.7 kB / 304 MB, free: 13.33 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.155, allocations: 49.23 kB / 304 MB, free: 13.3 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.1563, allocations: 1.155 MB / 305.2 MB, free: 12.63 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.253e-05/0.1564, allocations: 141.6 kB / 305.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001555/0.1566, allocations: 76.05 kB / 305.4 MB, free: 12.54 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.161e-05/0.1566, allocations: 57.55 kB / 305.5 MB, free: 12.53 MB / 266.7 MB Notification: Performance of SimCode: time 7.02e-07/0.1566, allocations: 0 / 305.5 MB, free: 12.53 MB / 266.7 MB Notification: Performance of Templates: time 0.008127/0.1648, allocations: 4.798 MB / 310.3 MB, free: 11.23 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.7504836721345782]