Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001923/0.001923, allocations: 92.62 kB / 20.96 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002326/0.002326, allocations: 149.4 kB / 24.26 MB, free: 180 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 173.4 MB / 200.8 MB, free: 9.297 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.552e-05/2.703e-05, allocations: 2.312 kB / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007812/0.007839, allocations: 4.988 MB / 272.3 MB, free: 1.691 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004019/0.01186, allocations: 1.728 MB / 274 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003805/0.01224, allocations: 20 kB / 274.1 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004059/0.0163, allocations: 1.582 MB / 275.6 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002/0.0183, allocations: 0.7379 MB / 276.4 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006891/0.01899, allocations: 267.4 kB / 276.6 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001057/0.02004, allocations: 0.8324 MB / 277.5 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001297/0.02134, allocations: 0.7509 MB / 278.2 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006915/0.02203, allocations: 0.5028 MB / 278.7 MB, free: 11.22 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005749/0.02261, allocations: 379 kB / 279.1 MB, free: 10.85 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.02272, allocations: 80 kB / 279.2 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005082/0.02323, allocations: 239.6 kB / 279.4 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001972/0.02343, allocations: 191.2 kB / 279.6 MB, free: 10.35 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003457/0.02377, allocations: 283.3 kB / 279.9 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001808/0.02558, allocations: 1.187 MB / 281.1 MB, free: 8.883 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.02559, allocations: 0 / 281.1 MB, free: 8.883 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.02559, allocations: 0 / 281.1 MB, free: 8.883 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.0256, allocations: 0 / 281.1 MB, free: 8.883 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.003494/0.02909, allocations: 1.281 MB / 282.3 MB, free: 7.57 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.02913, allocations: 8.922 kB / 282.3 MB, free: 7.562 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004905/0.03404, allocations: 0.8431 MB / 283.2 MB, free: 6.719 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007753/0.03481, allocations: 356.6 kB / 283.5 MB, free: 6.344 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.932e-05/0.03489, allocations: 70.38 kB / 283.6 MB, free: 6.273 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001738/0.03506, allocations: 100.4 kB / 283.7 MB, free: 6.176 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00202/0.03708, allocations: 1.008 MB / 284.7 MB, free: 5.148 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.946e-05/0.03711, allocations: 192 / 284.7 MB, free: 5.148 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.03722, allocations: 44.38 kB / 284.8 MB, free: 5.105 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.95e-05/0.03725, allocations: 27.94 kB / 284.8 MB, free: 5.078 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001852/0.0391, allocations: 0.9174 MB / 285.7 MB, free: 4.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005303/0.04441, allocations: 2.838 MB / 288.5 MB, free: 1.191 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002016/0.04642, allocations: 0.7439 MB / 289.3 MB, free: 440 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004949/0.04692, allocations: 255.4 kB / 289.5 MB, free: 180 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.013e-05/0.04701, allocations: 20.66 kB / 289.6 MB, free: 160 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.666e-05/0.04705, allocations: 43.2 kB / 289.6 MB, free: 108 kB / 266.7 MB Notification: Performance of pre-optimization done (n=65): time 2.385e-06/0.04706, allocations: 4 kB / 289.6 MB, free: 104 kB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.1047/0.1518, allocations: 0.7341 MB / 290.3 MB, free: 32.28 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.1518, allocations: 111.7 kB / 290.4 MB, free: 32.15 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000243/0.152, allocations: 265.2 kB / 290.7 MB, free: 32.05 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.1521, allocations: 36.14 kB / 290.7 MB, free: 32.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.1522, allocations: 394.3 kB / 291.1 MB, free: 31.83 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/0.1524, allocations: 234.3 kB / 291.4 MB, free: 31.71 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001887/0.1526, allocations: 136.2 kB / 291.5 MB, free: 31.69 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.797e-05/0.1526, allocations: 347.9 kB / 291.8 MB, free: 31.38 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000397/0.153, allocations: 220.5 kB / 292 MB, free: 31.35 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004805/0.1535, allocations: 435.2 kB / 292.5 MB, free: 31.01 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008616/0.1544, allocations: 0.7004 MB / 293.2 MB, free: 30.54 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.1544, allocations: 2.25 kB / 293.2 MB, free: 30.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001168/0.1555, allocations: 0.7796 MB / 293.9 MB, free: 30.21 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.1555, allocations: 8.094 kB / 294 MB, free: 30.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.1556, allocations: 6.844 kB / 294 MB, free: 30.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.021e-05/0.1556, allocations: 12.7 kB / 294 MB, free: 30.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007182/0.1563, allocations: 196.5 kB / 294.2 MB, free: 30.19 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.758e-05/0.1563, allocations: 13.86 kB / 294.2 MB, free: 30.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003899/0.1567, allocations: 81.25 kB / 294.3 MB, free: 30.15 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.157e-05/0.1568, allocations: 31.08 kB / 294.3 MB, free: 30.15 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.000222/0.157, allocations: 226 kB / 294.5 MB, free: 29.96 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.1571, allocations: 62.7 kB / 294.6 MB, free: 29.93 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001117/0.1582, allocations: 0.6509 MB / 295.2 MB, free: 29.64 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.1583, allocations: 10.39 kB / 295.2 MB, free: 29.64 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1583, allocations: 1.062 kB / 295.2 MB, free: 29.64 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.1583, allocations: 7.953 kB / 295.2 MB, free: 29.64 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001939/0.1602, allocations: 1.258 MB / 296.5 MB, free: 28.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.1602, allocations: 1.203 kB / 296.5 MB, free: 28.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006688/0.1609, allocations: 139.3 kB / 296.6 MB, free: 28.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.1609, allocations: 3.156 kB / 296.6 MB, free: 28.97 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.557e-05/0.1609, allocations: 14.28 kB / 296.7 MB, free: 28.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.1609, allocations: 4.047 kB / 296.7 MB, free: 28.96 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.1609, allocations: 5.531 kB / 296.7 MB, free: 28.96 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/0.1625, allocations: 1.135 MB / 297.8 MB, free: 28.31 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.959e-05/0.1626, allocations: 47.2 kB / 297.8 MB, free: 28.28 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.552e-05/0.1626, allocations: 16.7 kB / 297.9 MB, free: 28.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003734/0.163, allocations: 25.31 kB / 297.9 MB, free: 28.25 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.1631, allocations: 47.64 kB / 297.9 MB, free: 28.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.548e-05/0.1632, allocations: 19.36 kB / 297.9 MB, free: 28.24 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000139/0.1633, allocations: 171 kB / 298.1 MB, free: 28.14 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1633, allocations: 2.562 kB / 298.1 MB, free: 28.14 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008139/0.1641, allocations: 226.9 kB / 298.3 MB, free: 28.07 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.0002675/0.1644, allocations: 152.7 kB / 298.5 MB, free: 27.96 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001056/0.1654, allocations: 0.5706 MB / 299.1 MB, free: 27.76 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1654, allocations: 1.469 kB / 299.1 MB, free: 27.76 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004169/0.1658, allocations: 267.2 kB / 299.3 MB, free: 27.67 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005583/0.1664, allocations: 42.14 kB / 299.4 MB, free: 27.65 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.1681, allocations: 1.228 MB / 300.6 MB, free: 26.93 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.1684, allocations: 307.4 kB / 300.9 MB, free: 26.82 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002935/0.1687, allocations: 80.45 kB / 301 MB, free: 26.8 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.1688, allocations: 46.33 kB / 301 MB, free: 26.79 MB / 266.7 MB Notification: Performance of SimCode: time 8.32e-07/0.1688, allocations: 0 / 301 MB, free: 26.79 MB / 266.7 MB Notification: Performance of Templates: time 0.00893/0.1778, allocations: 4.214 MB / 305.2 MB, free: 25.71 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.48699972697068]