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.001072/0.001072, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001121/0.001121, allocations: 160.5 kB / 24.55 MB, free: 12 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 0.8819/0.8819, allocations: 177 MB / 204.8 MB, free: 5.605 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.593e-06/1.593e-06, allocations: 0 / 272.9 MB, free: 1.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.917e-05/2.076e-05, allocations: 2.312 kB / 272.9 MB, free: 1.477 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.004882/0.004903, allocations: 5.485 MB / 278.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002656/0.007559, allocations: 1.826 MB / 280.2 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000323/0.007882, allocations: 16 kB / 280.2 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0018/0.009682, allocations: 1.723 MB / 282 MB, free: 8.379 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009251/0.01061, allocations: 0.5902 MB / 282.5 MB, free: 7.785 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005227/0.01113, allocations: 406.9 kB / 282.9 MB, free: 7.387 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009205/0.01205, allocations: 0.8285 MB / 283.8 MB, free: 6.551 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008591/0.01291, allocations: 0.7393 MB / 284.5 MB, free: 5.793 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004912/0.0134, allocations: 0.5184 MB / 285 MB, free: 5.273 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003304/0.01373, allocations: 387 kB / 285.4 MB, free: 4.895 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.786e-05/0.01381, allocations: 76 kB / 285.5 MB, free: 4.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003585/0.01417, allocations: 239.6 kB / 285.7 MB, free: 4.586 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.804e-05/0.01427, allocations: 195.2 kB / 285.9 MB, free: 4.395 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001813/0.01445, allocations: 283.3 kB / 286.2 MB, free: 4.117 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007383/0.01519, allocations: 0.7783 MB / 287 MB, free: 3.336 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.01519, allocations: 4 kB / 287 MB, free: 3.332 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.01519, allocations: 0 / 287 MB, free: 3.332 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.0152, allocations: 3.938 kB / 287 MB, free: 3.328 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.00249/0.01769, allocations: 1.412 MB / 288.4 MB, free: 1.879 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.01773, allocations: 11.98 kB / 288.4 MB, free: 1.867 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003549/0.02128, allocations: 0.808 MB / 289.2 MB, free: 1.059 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004721/0.02175, allocations: 368.2 kB / 289.6 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.244e-05/0.0218, allocations: 70.38 kB / 289.6 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.02192, allocations: 96.38 kB / 289.7 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.121/0.1429, allocations: 0.8046 MB / 290.5 MB, free: 18.87 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.643e-05/0.143, allocations: 3.469 kB / 290.5 MB, free: 18.87 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.1e-05/0.143, allocations: 42.31 kB / 290.6 MB, free: 18.87 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/0.1431, allocations: 23.16 kB / 290.6 MB, free: 18.87 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008544/0.1439, allocations: 0.5399 MB / 291.1 MB, free: 18.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003139/0.1471, allocations: 2.901 MB / 294 MB, free: 17.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.1482, allocations: 0.7673 MB / 294.8 MB, free: 17.63 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/0.1484, allocations: 185.7 kB / 295 MB, free: 17.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.64e-05/0.1485, allocations: 38.22 kB / 295 MB, free: 17.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.1485, allocations: 45.88 kB / 295.1 MB, free: 17.55 MB / 266.7 MB Notification: Performance of pre-optimization done (n=65): time 3.327e-06/0.1485, allocations: 0 / 295.1 MB, free: 17.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.0007333/0.1492, allocations: 0.5078 MB / 295.6 MB, free: 17.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.1493, allocations: 116.4 kB / 295.7 MB, free: 17.35 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001832/0.1495, allocations: 319.4 kB / 296 MB, free: 17.17 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.1495, allocations: 39.2 kB / 296 MB, free: 17.14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.1496, allocations: 442.1 kB / 296.5 MB, free: 16.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.1497, allocations: 235 kB / 296.7 MB, free: 16.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000145/0.1499, allocations: 150.6 kB / 296.8 MB, free: 16.72 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.763e-05/0.1499, allocations: 0.5183 MB / 297.4 MB, free: 16.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001948/0.1501, allocations: 129.1 kB / 297.5 MB, free: 16.23 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002826/0.1504, allocations: 429.3 kB / 297.9 MB, free: 15.88 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004987/0.1509, allocations: 0.6073 MB / 298.5 MB, free: 15.52 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/0.1509, allocations: 1.25 kB / 298.5 MB, free: 15.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0007302/0.1517, allocations: 0.6146 MB / 299.1 MB, free: 15.42 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.1517, allocations: 8.938 kB / 299.1 MB, free: 15.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.1517, allocations: 6.094 kB / 299.1 MB, free: 15.42 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/0.1517, allocations: 12.77 kB / 299.2 MB, free: 15.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003957/0.1521, allocations: 190.5 kB / 299.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.586e-05/0.1521, allocations: 15.3 kB / 299.4 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.1523, allocations: 80.45 kB / 299.4 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.573e-05/0.1524, allocations: 34.42 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.0001251/0.1525, allocations: 202.5 kB / 299.7 MB, free: 15.19 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.435e-05/0.1526, allocations: 61.67 kB / 299.7 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006169/0.1532, allocations: 0.4927 MB / 300.2 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.1532, allocations: 8.094 kB / 300.2 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.1532, allocations: 2.141 kB / 300.2 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.1532, allocations: 4.812 kB / 300.2 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.1544, allocations: 1.173 MB / 301.4 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.1544, allocations: 4.797 kB / 301.4 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003147/0.1547, allocations: 141.3 kB / 301.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.1548, allocations: 1.719 kB / 301.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.664e-05/0.1548, allocations: 17.17 kB / 301.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.1548, allocations: 5.688 kB / 301.6 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1548, allocations: 4.75 kB / 301.6 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007326/0.1555, allocations: 0.9652 MB / 302.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.667e-05/0.1556, allocations: 45.66 kB / 302.6 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.706e-05/0.1556, allocations: 11.36 kB / 302.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.1558, allocations: 25.64 kB / 302.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.3e-05/0.1558, allocations: 46.16 kB / 302.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/0.1558, allocations: 23.28 kB / 302.7 MB, free: 13.74 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.632e-05/0.1559, allocations: 203.5 kB / 302.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1559, allocations: 0 / 302.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004676/0.1564, allocations: 229.8 kB / 303.1 MB, free: 13.54 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.0001817/0.1566, allocations: 147.8 kB / 303.3 MB, free: 13.43 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005321/0.1571, allocations: 454.2 kB / 303.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1571, allocations: 1.344 kB / 303.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002153/0.1573, allocations: 216.5 kB / 303.9 MB, free: 13.32 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.1577, allocations: 48.08 kB / 304 MB, free: 13.29 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.159, allocations: 1.161 MB / 305.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.158e-05/0.1591, allocations: 143.4 kB / 305.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001594/0.1593, allocations: 83.06 kB / 305.4 MB, free: 12.53 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.487e-05/0.1594, allocations: 50.7 kB / 305.4 MB, free: 12.52 MB / 266.7 MB Notification: Performance of SimCode: time 7.72e-07/0.1594, allocations: 0 / 305.4 MB, free: 12.52 MB / 266.7 MB Notification: Performance of Templates: time 0.006547/0.1659, allocations: 4.791 MB / 310.2 MB, free: 11.2 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.7042193240486085]