Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002431/0.002431, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002694/0.002694, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.563/1.563, allocations: 177 MB / 204.4 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.515e-05/2.688e-05, allocations: 2.312 kB / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.008315/0.008342, allocations: 5.428 MB / 277.6 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004045/0.01239, allocations: 1.81 MB / 279.4 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003346/0.01272, allocations: 16 kB / 279.4 MB, free: 10.51 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004118/0.01684, allocations: 1.715 MB / 281.2 MB, free: 8.785 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001818/0.01866, allocations: 0.5864 MB / 281.7 MB, free: 8.195 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009834/0.01964, allocations: 410.8 kB / 282.2 MB, free: 7.793 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001191/0.02083, allocations: 0.8285 MB / 283 MB, free: 6.961 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00132/0.02215, allocations: 0.7354 MB / 283.7 MB, free: 6.203 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007905/0.02294, allocations: 0.5262 MB / 284.2 MB, free: 5.676 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005797/0.02352, allocations: 383 kB / 284.6 MB, free: 5.301 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001265/0.02365, allocations: 76 kB / 284.7 MB, free: 5.227 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005645/0.02421, allocations: 235.7 kB / 284.9 MB, free: 4.996 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001863/0.0244, allocations: 191.2 kB / 285.1 MB, free: 4.809 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003482/0.02475, allocations: 287.3 kB / 285.4 MB, free: 4.527 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001613/0.02636, allocations: 1.199 MB / 286.6 MB, free: 3.324 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.02636, allocations: 0 / 286.6 MB, free: 3.324 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.02636, allocations: 0 / 286.6 MB, free: 3.324 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.469e-05/0.02638, allocations: 0 / 286.6 MB, free: 3.324 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.003601/0.02998, allocations: 1.463 MB / 288 MB, free: 1.824 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.03002, allocations: 15.98 kB / 288.1 MB, free: 1.809 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004803/0.03483, allocations: 0.808 MB / 288.9 MB, free: 1 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000633/0.03546, allocations: 367.4 kB / 289.2 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.747e-05/0.03554, allocations: 74.38 kB / 289.3 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.03569, allocations: 92.38 kB / 289.4 MB, free: 460 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1101/0.1458, allocations: 1.055 MB / 290.4 MB, free: 27.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.743e-05/0.1459, allocations: 3.156 kB / 290.5 MB, free: 27.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.362e-05/0.1459, allocations: 44.66 kB / 290.5 MB, free: 27.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.004e-05/0.146, allocations: 23.34 kB / 290.5 MB, free: 27.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00152/0.1475, allocations: 0.8886 MB / 291.4 MB, free: 27.88 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004244/0.1517, allocations: 3.268 MB / 294.7 MB, free: 25.87 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00181/0.1535, allocations: 0.7694 MB / 295.4 MB, free: 25.56 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003833/0.1539, allocations: 263.3 kB / 295.7 MB, free: 25.45 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001005/0.154, allocations: 27.02 kB / 295.7 MB, free: 25.45 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.154, allocations: 51.33 kB / 295.8 MB, free: 25.4 MB / 266.7 MB Notification: Performance of pre-optimization done (n=65): time 2.394e-06/0.154, allocations: 1.844 kB / 295.8 MB, free: 25.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.001262/0.1553, allocations: 0.7065 MB / 296.5 MB, free: 25.14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.1553, allocations: 111.2 kB / 296.6 MB, free: 25.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002636/0.1556, allocations: 375.1 kB / 297 MB, free: 24.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.1556, allocations: 37.45 kB / 297 MB, free: 24.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.1558, allocations: 449 kB / 297.4 MB, free: 24.42 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.1559, allocations: 248.6 kB / 297.7 MB, free: 24.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002075/0.1561, allocations: 164.7 kB / 297.8 MB, free: 24.16 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.1562, allocations: 0.5419 MB / 298.4 MB, free: 23.64 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000375/0.1566, allocations: 210.5 kB / 298.6 MB, free: 23.58 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004854/0.1571, allocations: 0.5199 MB / 299.1 MB, free: 23.14 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008745/0.158, allocations: 0.7823 MB / 299.9 MB, free: 22.57 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.158, allocations: 2.312 kB / 299.9 MB, free: 22.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001125/0.1591, allocations: 0.7736 MB / 300.7 MB, free: 22.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1591, allocations: 7.844 kB / 300.7 MB, free: 22.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.1591, allocations: 7.484 kB / 300.7 MB, free: 22.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/0.1592, allocations: 10.75 kB / 300.7 MB, free: 22.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006688/0.1598, allocations: 192.3 kB / 300.9 MB, free: 22.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.724e-05/0.1598, allocations: 16.73 kB / 300.9 MB, free: 22.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003578/0.1602, allocations: 74.39 kB / 301 MB, free: 22.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.183e-05/0.1603, allocations: 36.17 kB / 301 MB, free: 22.19 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.000205/0.1605, allocations: 263.7 kB / 301.3 MB, free: 21.96 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.1606, allocations: 66.3 kB / 301.3 MB, free: 21.93 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.1617, allocations: 0.6247 MB / 301.9 MB, free: 21.68 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.1617, allocations: 8.25 kB / 302 MB, free: 21.68 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1617, allocations: 0 / 302 MB, free: 21.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.1617, allocations: 5.547 kB / 302 MB, free: 21.68 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002009/0.1637, allocations: 1.439 MB / 303.4 MB, free: 20.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.1637, allocations: 0 / 303.4 MB, free: 20.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005555/0.1643, allocations: 141 kB / 303.5 MB, free: 20.92 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.1643, allocations: 2.875 kB / 303.5 MB, free: 20.92 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-05/0.1643, allocations: 14.47 kB / 303.6 MB, free: 20.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.1643, allocations: 4.953 kB / 303.6 MB, free: 20.91 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1643, allocations: 3.938 kB / 303.6 MB, free: 20.91 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.1656, allocations: 1.236 MB / 304.8 MB, free: 20.19 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.626e-05/0.1656, allocations: 48.72 kB / 304.8 MB, free: 20.15 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.651e-05/0.1657, allocations: 12.69 kB / 304.9 MB, free: 20.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003331/0.166, allocations: 16.08 kB / 304.9 MB, free: 20.14 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.373e-05/0.1661, allocations: 53.55 kB / 304.9 MB, free: 20.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.172e-05/0.1661, allocations: 19.94 kB / 304.9 MB, free: 20.12 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001324/0.1663, allocations: 230.1 kB / 305.2 MB, free: 19.96 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1663, allocations: 0 / 305.2 MB, free: 19.96 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006412/0.1669, allocations: 226.9 kB / 305.4 MB, free: 19.89 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.0001988/0.1671, allocations: 155.8 kB / 305.5 MB, free: 19.78 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008496/0.1679, allocations: 0.6021 MB / 306.1 MB, free: 19.59 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.168, allocations: 8.219 kB / 306.2 MB, free: 19.59 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003485/0.1683, allocations: 293.8 kB / 306.4 MB, free: 19.48 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004862/0.1688, allocations: 47.88 kB / 306.5 MB, free: 19.43 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.1702, allocations: 1.231 MB / 307.7 MB, free: 18.24 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001939/0.1704, allocations: 302.9 kB / 308 MB, free: 17.99 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002508/0.1706, allocations: 75.17 kB / 308.1 MB, free: 17.94 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.1708, allocations: 55.55 kB / 308.1 MB, free: 17.89 MB / 266.7 MB Notification: Performance of SimCode: time 4.61e-07/0.1708, allocations: 0 / 308.1 MB, free: 17.89 MB / 266.7 MB Notification: Performance of Templates: time 0.008663/0.1794, allocations: 4.393 MB / 312.5 MB, free: 13.8 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.718931192997843]