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.001867/0.001867, allocations: 80.41 kB / 22.21 MB, free: 2.285 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.001457/0.001457, allocations: 171.9 kB / 25.61 MB, free: 8.535 MB / 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 1.032/1.032, allocations: 177.1 MB / 206 MB, free: 4.504 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.543e-06/1.543e-06, allocations: 0 / 274.2 MB, free: 4.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.425e-05/3.579e-05, allocations: 6.172 kB / 274.2 MB, free: 4.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007988/0.008023, allocations: 5.351 MB / 279.5 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003507/0.01153, allocations: 1.809 MB / 281.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004369/0.01197, allocations: 19.94 kB / 281.4 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00186/0.01383, allocations: 1.664 MB / 283 MB, free: 11.58 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001043/0.01487, allocations: 0.5942 MB / 283.6 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005675/0.01544, allocations: 394.8 kB / 284 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000708/0.01615, allocations: 0.8286 MB / 284.8 MB, free: 9.762 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008886/0.01703, allocations: 0.7393 MB / 285.6 MB, free: 8.992 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005009/0.01754, allocations: 0.5222 MB / 286.1 MB, free: 8.469 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003703/0.01791, allocations: 395 kB / 286.5 MB, free: 8.082 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.253e-05/0.01799, allocations: 76 kB / 286.6 MB, free: 8.008 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004293/0.01842, allocations: 247.6 kB / 286.8 MB, free: 7.766 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.01856, allocations: 187.3 kB / 287 MB, free: 7.582 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002228/0.01878, allocations: 283.3 kB / 287.3 MB, free: 7.305 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007496/0.01953, allocations: 0.7744 MB / 288 MB, free: 6.527 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.01954, allocations: 0 / 288 MB, free: 6.527 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.01954, allocations: 3.938 kB / 288 MB, free: 6.523 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.846e-06/0.01955, allocations: 0 / 288 MB, free: 6.523 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.00198/0.02153, allocations: 1.424 MB / 289.5 MB, free: 5.062 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.02156, allocations: 8.031 kB / 289.5 MB, free: 5.055 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002438/0.024, allocations: 0.8041 MB / 290.3 MB, free: 4.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004486/0.02445, allocations: 371.4 kB / 290.6 MB, free: 3.859 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.7e-05/0.0245, allocations: 74.38 kB / 290.7 MB, free: 3.785 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-05/0.0246, allocations: 100.4 kB / 290.8 MB, free: 3.688 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007671/0.02536, allocations: 0.7275 MB / 291.5 MB, free: 2.934 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.76e-05/0.02539, allocations: 8.125 kB / 291.5 MB, free: 2.926 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.512e-05/0.02545, allocations: 36.38 kB / 291.6 MB, free: 2.891 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/0.02546, allocations: 27.94 kB / 291.6 MB, free: 2.863 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005183/0.02598, allocations: 457.4 kB / 292.1 MB, free: 2.414 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002843/0.02882, allocations: 2.912 MB / 295 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009538/0.02978, allocations: 0.7365 MB / 295.7 MB, free: 14.61 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.02992, allocations: 156.9 kB / 295.9 MB, free: 14.44 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.196e-05/0.02998, allocations: 28.64 kB / 295.9 MB, free: 14.41 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.03002, allocations: 53.97 kB / 295.9 MB, free: 14.35 MB / 282.7 MB Notification: Performance of pre-optimization done (n=65): time 1.924e-06/0.03002, allocations: 0 / 295.9 MB, free: 14.35 MB / 282.7 MB Notification: Performance of matching and sorting (n=65): time 0.0005658/0.03059, allocations: 445.6 kB / 296.4 MB, free: 13.91 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.03064, allocations: 111.5 kB / 296.5 MB, free: 13.78 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.03082, allocations: 319.9 kB / 296.8 MB, free: 13.45 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.03085, allocations: 37.7 kB / 296.8 MB, free: 13.4 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.03103, allocations: 446.7 kB / 297.3 MB, free: 12.96 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.03116, allocations: 237.9 kB / 297.5 MB, free: 12.72 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.0313, allocations: 152.5 kB / 297.6 MB, free: 12.57 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.03144, allocations: 0.5312 MB / 298.2 MB, free: 12.02 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.03155, allocations: 101.8 kB / 298.3 MB, free: 11.92 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002595/0.03181, allocations: 397.4 kB / 298.7 MB, free: 11.41 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004324/0.03224, allocations: 0.5542 MB / 299.2 MB, free: 10.74 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.03225, allocations: 4 kB / 299.2 MB, free: 10.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0005487/0.0328, allocations: 0.5403 MB / 299.8 MB, free: 10.19 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.03281, allocations: 8 kB / 299.8 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.03282, allocations: 8 kB / 299.8 MB, free: 10.17 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.03284, allocations: 20.03 kB / 299.8 MB, free: 10.15 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000374/0.03321, allocations: 183.7 kB / 300 MB, free: 9.973 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.03323, allocations: 23.86 kB / 300 MB, free: 9.949 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.03341, allocations: 75.41 kB / 300.1 MB, free: 9.875 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.169e-05/0.03345, allocations: 28 kB / 300.1 MB, free: 9.848 MB / 282.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.0001484/0.03359, allocations: 208.3 kB / 300.3 MB, free: 9.633 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.247e-05/0.03369, allocations: 59.77 kB / 300.4 MB, free: 9.574 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005048/0.03419, allocations: 449.7 kB / 300.8 MB, free: 9.133 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.0342, allocations: 8 kB / 300.8 MB, free: 9.125 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.0342, allocations: 0 / 300.8 MB, free: 9.125 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/0.03421, allocations: 7.922 kB / 300.8 MB, free: 9.117 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.03525, allocations: 1.034 MB / 301.9 MB, free: 8.047 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.03525, allocations: 0 / 301.9 MB, free: 8.047 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002862/0.03554, allocations: 135.8 kB / 302 MB, free: 7.914 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.03554, allocations: 8 kB / 302 MB, free: 7.906 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.03557, allocations: 15.98 kB / 302 MB, free: 7.891 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.03557, allocations: 4 kB / 302 MB, free: 7.887 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.03557, allocations: 0 / 302 MB, free: 7.887 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006509/0.03622, allocations: 0.8932 MB / 302.9 MB, free: 6.977 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.94e-05/0.03626, allocations: 39.64 kB / 302.9 MB, free: 6.938 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.785e-05/0.0363, allocations: 12 kB / 303 MB, free: 6.926 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.03646, allocations: 27.98 kB / 303 MB, free: 6.898 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.692e-05/0.03653, allocations: 48.55 kB / 303 MB, free: 6.852 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.03655, allocations: 16.03 kB / 303 MB, free: 6.836 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.807e-05/0.03664, allocations: 197.1 kB / 303.2 MB, free: 6.645 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03664, allocations: 0 / 303.2 MB, free: 6.645 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004703/0.03711, allocations: 223.3 kB / 303.5 MB, free: 6.426 MB / 282.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.0001951/0.0373, allocations: 155 kB / 303.6 MB, free: 6.262 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000407/0.03771, allocations: 400 kB / 304 MB, free: 5.867 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.03771, allocations: 0 / 304 MB, free: 5.867 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001836/0.0379, allocations: 196.5 kB / 304.2 MB, free: 5.672 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.03825, allocations: 52.38 kB / 304.2 MB, free: 5.621 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.0397, allocations: 1.129 MB / 305.4 MB, free: 4.445 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.838e-05/0.0398, allocations: 140.8 kB / 305.5 MB, free: 4.281 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001804/0.03998, allocations: 76.28 kB / 305.6 MB, free: 4.207 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001804/0.04016, allocations: 154.2 kB / 305.7 MB, free: 4.055 MB / 282.7 MB Notification: Performance of SimCode: time 6.71e-07/0.04016, allocations: 0 / 305.7 MB, free: 4.055 MB / 282.7 MB Notification: Performance of Templates: time 0.008083/0.04824, allocations: 5.016 MB / 310.8 MB, free: 15.09 MB / 298.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: 3.0797955906018615]