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.0009766/0.0009766, allocations: 85.95 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.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.001094/0.001094, allocations: 161.2 kB / 25.6 MB, free: 8.895 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.9722/0.9722, allocations: 158.6 MB / 187.5 MB, free: 2.816 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.583e-06/1.583e-06, allocations: 0 / 251.5 MB, free: 7.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.913e-05/2.071e-05, allocations: 2.312 kB / 251.5 MB, free: 7.262 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.005193/0.005214, allocations: 5.575 MB / 257 MB, free: 1.652 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003174/0.008388, allocations: 1.846 MB / 258.9 MB, free: 15.79 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004523/0.00884, allocations: 23.94 kB / 258.9 MB, free: 15.77 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002169/0.01101, allocations: 1.68 MB / 260.6 MB, free: 14.08 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001245/0.01225, allocations: 0.6719 MB / 261.3 MB, free: 13.41 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006574/0.01291, allocations: 386.9 kB / 261.6 MB, free: 13.03 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009661/0.01388, allocations: 0.9369 MB / 262.6 MB, free: 12.09 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/0.01489, allocations: 0.7629 MB / 263.3 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006258/0.01552, allocations: 0.5766 MB / 263.9 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004298/0.01595, allocations: 418.9 kB / 264.3 MB, free: 10.32 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001014/0.01605, allocations: 84 kB / 264.4 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004685/0.01652, allocations: 239.7 kB / 264.6 MB, free: 10 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.01663, allocations: 211.2 kB / 264.8 MB, free: 9.793 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002211/0.01685, allocations: 319.1 kB / 265.2 MB, free: 9.48 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008557/0.0177, allocations: 0.8055 MB / 266 MB, free: 8.672 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.01771, allocations: 0 / 266 MB, free: 8.672 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.01771, allocations: 0 / 266 MB, free: 8.672 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.01772, allocations: 0 / 266 MB, free: 8.672 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.002112/0.01983, allocations: 1.498 MB / 267.5 MB, free: 7.133 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.01987, allocations: 15.92 kB / 267.5 MB, free: 7.117 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003981/0.02386, allocations: 1.225 MB / 268.7 MB, free: 5.891 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005701/0.02443, allocations: 399.3 kB / 269.1 MB, free: 5.473 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.986e-05/0.02448, allocations: 86.48 kB / 269.2 MB, free: 5.387 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.02459, allocations: 108.4 kB / 269.3 MB, free: 5.281 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009096/0.0255, allocations: 0.8349 MB / 270.1 MB, free: 4.395 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/0.02552, allocations: 192 / 270.1 MB, free: 4.395 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.972e-05/0.02558, allocations: 44.38 kB / 270.2 MB, free: 4.352 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/0.0256, allocations: 31.94 kB / 270.2 MB, free: 4.32 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000645/0.02624, allocations: 0.5404 MB / 270.7 MB, free: 3.781 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003245/0.02949, allocations: 3.23 MB / 274 MB, free: 400 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/0.03095, allocations: 0.942 MB / 274.9 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.03112, allocations: 173.4 kB / 275.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.426e-05/0.03118, allocations: 16.66 kB / 275.1 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.03121, allocations: 49.98 kB / 275.1 MB, free: 15.2 MB / 266.7 MB Notification: Performance of pre-optimization done (n=71): time 2.254e-06/0.03122, allocations: 4 kB / 275.1 MB, free: 15.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=71): time 0.0005899/0.03181, allocations: 473.5 kB / 275.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.03186, allocations: 115.4 kB / 275.7 MB, free: 14.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002541/0.03211, allocations: 377.7 kB / 276.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.316e-05/0.03214, allocations: 37.7 kB / 276.1 MB, free: 14.16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002238/0.03237, allocations: 0.5062 MB / 276.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.0325, allocations: 257.7 kB / 276.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/0.03266, allocations: 188.1 kB / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.0328, allocations: 0.5312 MB / 277.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.03292, allocations: 114.1 kB / 277.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003391/0.03326, allocations: 0.5719 MB / 278.3 MB, free: 11.77 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005459/0.03381, allocations: 0.7555 MB / 279 MB, free: 10.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.03382, allocations: 4 kB / 279 MB, free: 10.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.0006686/0.03448, allocations: 0.6722 MB / 279.7 MB, free: 10.14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.0345, allocations: 13 kB / 279.7 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.03451, allocations: 8 kB / 279.7 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.03453, allocations: 20 kB / 279.8 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004222/0.03496, allocations: 235.6 kB / 280 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/0.03497, allocations: 27.86 kB / 280 MB, free: 9.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002664/0.03524, allocations: 103.2 kB / 280.1 MB, free: 9.738 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.646e-05/0.03527, allocations: 39.98 kB / 280.1 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.000156/0.03543, allocations: 220.2 kB / 280.4 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.59e-05/0.03552, allocations: 67.72 kB / 280.4 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005043/0.03602, allocations: 481.8 kB / 280.9 MB, free: 8.93 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.03603, allocations: 8 kB / 280.9 MB, free: 8.922 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.03603, allocations: 7.938 kB / 280.9 MB, free: 8.914 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.03604, allocations: 7.984 kB / 280.9 MB, free: 8.906 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/0.03747, allocations: 1.081 MB / 282 MB, free: 7.793 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.03748, allocations: 4 kB / 282 MB, free: 7.789 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003293/0.03781, allocations: 143.8 kB / 282.1 MB, free: 7.648 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.03782, allocations: 4 kB / 282.2 MB, free: 7.645 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.923e-05/0.03784, allocations: 20 kB / 282.2 MB, free: 7.625 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.03785, allocations: 0 / 282.2 MB, free: 7.625 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.03785, allocations: 15.94 kB / 282.2 MB, free: 7.609 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000753/0.03861, allocations: 0.9244 MB / 283.1 MB, free: 6.664 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.828e-05/0.03865, allocations: 51.52 kB / 283.2 MB, free: 6.613 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.79e-05/0.03869, allocations: 12 kB / 283.2 MB, free: 6.602 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/0.03887, allocations: 24 kB / 283.2 MB, free: 6.578 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.305e-05/0.03893, allocations: 48.5 kB / 283.2 MB, free: 6.531 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.411e-05/0.03898, allocations: 23.98 kB / 283.3 MB, free: 6.508 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001169/0.03909, allocations: 210.9 kB / 283.5 MB, free: 6.297 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03909, allocations: 0 / 283.5 MB, free: 6.297 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006038/0.0397, allocations: 251.3 kB / 283.7 MB, free: 6.051 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.0002062/0.0399, allocations: 147.1 kB / 283.9 MB, free: 5.895 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004928/0.0404, allocations: 465.9 kB / 284.3 MB, free: 5.445 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.0404, allocations: 0 / 284.3 MB, free: 5.445 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001833/0.04058, allocations: 208.5 kB / 284.5 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.0003746/0.04096, allocations: 52.62 kB / 284.6 MB, free: 5.184 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.04269, allocations: 1.288 MB / 285.9 MB, free: 3.852 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.921e-05/0.04279, allocations: 152.9 kB / 286 MB, free: 3.684 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002184/0.043, allocations: 92.84 kB / 286.1 MB, free: 3.594 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001921/0.0432, allocations: 158.2 kB / 286.3 MB, free: 3.438 MB / 266.7 MB Notification: Performance of SimCode: time 9.22e-07/0.0432, allocations: 0 / 286.3 MB, free: 3.438 MB / 266.7 MB Notification: Performance of Templates: time 0.008773/0.05197, allocations: 5.126 MB / 291.4 MB, free: 14.33 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.870592103805393]