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.0009779/0.0009779, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001084/0.001084, allocations: 170 kB / 24.82 MB, free: 9.254 MB / 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 0.959/0.959, allocations: 177 MB / 205.1 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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.242e-06/1.242e-06, allocations: 0 / 273.3 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.544e-05/1.668e-05, allocations: 2.312 kB / 273.3 MB, free: 1.246 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.01176/0.01178, allocations: 5.36 MB / 278.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008975/0.02075, allocations: 1.81 MB / 280.5 MB, free: 10.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000416/0.02117, allocations: 19.94 kB / 280.5 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002146/0.02331, allocations: 1.668 MB / 282.2 MB, free: 8.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001085/0.0244, allocations: 0.5747 MB / 282.8 MB, free: 7.762 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006162/0.02502, allocations: 410.7 kB / 283.2 MB, free: 7.359 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004028/0.02904, allocations: 0.8285 MB / 284 MB, free: 6.523 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009575/0.03, allocations: 0.7393 MB / 284.7 MB, free: 5.766 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005859/0.03059, allocations: 0.5145 MB / 285.2 MB, free: 5.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004335/0.03102, allocations: 391 kB / 285.6 MB, free: 4.867 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.406e-05/0.03111, allocations: 76 kB / 285.7 MB, free: 4.793 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003449/0.03456, allocations: 239.6 kB / 285.9 MB, free: 4.559 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.03468, allocations: 191.3 kB / 286.1 MB, free: 4.371 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000218/0.0349, allocations: 287.3 kB / 286.4 MB, free: 4.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008033/0.0357, allocations: 0.7782 MB / 287.2 MB, free: 3.309 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.0357, allocations: 4 kB / 287.2 MB, free: 3.305 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.0357, allocations: 0 / 287.2 MB, free: 3.305 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.543e-06/0.03571, allocations: 0 / 287.2 MB, free: 3.305 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.005282/0.04099, allocations: 1.42 MB / 288.6 MB, free: 1.848 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.04103, allocations: 11.98 kB / 288.6 MB, free: 1.836 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003301/0.04433, allocations: 0.808 MB / 289.4 MB, free: 1.027 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003522/0.04468, allocations: 362.3 kB / 289.8 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.899e-05/0.04472, allocations: 78.36 kB / 289.8 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.484e-05/0.04481, allocations: 100.4 kB / 289.9 MB, free: 484 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1114/0.1562, allocations: 0.7326 MB / 290.7 MB, free: 18.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.867e-05/0.1562, allocations: 2.25 kB / 290.7 MB, free: 18.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.639e-05/0.1563, allocations: 41.62 kB / 290.7 MB, free: 18.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.1563, allocations: 25.45 kB / 290.7 MB, free: 18.96 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006329/0.1569, allocations: 447.5 kB / 291.2 MB, free: 18.94 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003068/0.16, allocations: 2.926 MB / 294.1 MB, free: 17.83 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009646/0.161, allocations: 0.7252 MB / 294.8 MB, free: 17.71 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.1611, allocations: 158.4 kB / 295 MB, free: 17.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.829e-05/0.1612, allocations: 43.03 kB / 295 MB, free: 17.67 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.1612, allocations: 46.81 kB / 295.1 MB, free: 17.63 MB / 266.7 MB Notification: Performance of pre-optimization done (n=65): time 2.093e-06/0.1612, allocations: 0 / 295.1 MB, free: 17.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.0005543/0.1618, allocations: 451.8 kB / 295.5 MB, free: 17.56 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.186e-05/0.1618, allocations: 112.8 kB / 295.6 MB, free: 17.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.162, allocations: 314.9 kB / 295.9 MB, free: 17.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.162, allocations: 37.02 kB / 296 MB, free: 17.22 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.1621, allocations: 445.3 kB / 296.4 MB, free: 16.96 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.602e-05/0.1622, allocations: 242.1 kB / 296.6 MB, free: 16.83 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.1623, allocations: 153.4 kB / 296.8 MB, free: 16.8 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.392e-05/0.1624, allocations: 0.5232 MB / 297.3 MB, free: 16.31 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.1625, allocations: 97.95 kB / 297.4 MB, free: 16.31 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002074/0.1627, allocations: 409.3 kB / 297.8 MB, free: 15.96 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003622/0.1631, allocations: 0.5535 MB / 298.4 MB, free: 15.61 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.1631, allocations: 1.406 kB / 298.4 MB, free: 15.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0005384/0.1636, allocations: 0.5442 MB / 298.9 MB, free: 15.54 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.1637, allocations: 8.531 kB / 298.9 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.1637, allocations: 10.88 kB / 298.9 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.1637, allocations: 11.06 kB / 298.9 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003543/0.164, allocations: 186.8 kB / 299.1 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.1641, allocations: 15.8 kB / 299.1 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.1642, allocations: 83.16 kB / 299.2 MB, free: 15.51 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.947e-05/0.1643, allocations: 25 kB / 299.2 MB, free: 15.51 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.0001118/0.1644, allocations: 204.1 kB / 299.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.83e-05/0.1645, allocations: 68.75 kB / 299.5 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004713/0.1649, allocations: 449.6 kB / 299.9 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.1649, allocations: 8.609 kB / 300 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1649, allocations: 1.938 kB / 300 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.165, allocations: 4.484 kB / 300 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009847/0.1659, allocations: 1.031 MB / 301 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1659, allocations: 1.5 kB / 301 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002823/0.1662, allocations: 143 kB / 301.1 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.1662, allocations: 3.406 kB / 301.1 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.1662, allocations: 19.42 kB / 301.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.1662, allocations: 4.141 kB / 301.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.1663, allocations: 5.219 kB / 301.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000575/0.1668, allocations: 0.8821 MB / 302 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.559e-05/0.1669, allocations: 45.31 kB / 302.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.316e-05/0.1669, allocations: 20.23 kB / 302.1 MB, free: 14.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.1671, allocations: 21.17 kB / 302.1 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.411e-05/0.1671, allocations: 48.73 kB / 302.2 MB, free: 14.42 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.1671, allocations: 16.53 kB / 302.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.531e-05/0.1672, allocations: 199.2 kB / 302.4 MB, free: 14.28 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1672, allocations: 0 / 302.4 MB, free: 14.28 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004953/0.1677, allocations: 230.5 kB / 302.6 MB, free: 14.22 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.0001583/0.1679, allocations: 139.3 kB / 302.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003926/0.1683, allocations: 403.8 kB / 303.1 MB, free: 14.08 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1683, allocations: 1.375 kB / 303.1 MB, free: 14.08 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001762/0.1684, allocations: 194.3 kB / 303.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.1688, allocations: 50.2 kB / 303.4 MB, free: 14.03 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.17, allocations: 1.135 MB / 304.5 MB, free: 13.38 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.747e-05/0.1701, allocations: 142.2 kB / 304.7 MB, free: 13.3 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001897/0.1703, allocations: 81.95 kB / 304.7 MB, free: 13.28 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.1704, allocations: 153.1 kB / 304.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of SimCode: time 9.12e-07/0.1704, allocations: 0 / 304.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of Templates: time 0.007725/0.1781, allocations: 4.885 MB / 309.8 MB, free: 11.86 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","",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.822084154933691]