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.0009195/0.0009195, allocations: 68.08 kB / 21.69 MB, free: 2.855 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.0009867/0.0009867, allocations: 145.8 kB / 24.98 MB, free: 8.809 MB / 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 0.8955/0.8955, allocations: 173.4 MB / 201.5 MB, free: 9.324 MB / 186.7 MB " [Timeout remaining time 179] 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.202e-06/1.202e-06, allocations: 0 / 268.1 MB, free: 6.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.444e-05/1.564e-05, allocations: 10.19 kB / 268.1 MB, free: 6.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.004427/0.004442, allocations: 5.444 MB / 273.5 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00243/0.006872, allocations: 1.748 MB / 275.3 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002623/0.007134, allocations: 20 kB / 275.3 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002223/0.009358, allocations: 1.715 MB / 277 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001464/0.01082, allocations: 0.7419 MB / 277.7 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005015/0.01132, allocations: 275.3 kB / 278 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007703/0.01209, allocations: 0.8285 MB / 278.8 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009398/0.01303, allocations: 0.747 MB / 279.6 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000491/0.01352, allocations: 0.5183 MB / 280.1 MB, free: 10.6 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003795/0.0139, allocations: 379 kB / 280.5 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000102/0.01401, allocations: 80 kB / 280.6 MB, free: 10.15 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004879/0.01449, allocations: 231.7 kB / 280.8 MB, free: 9.922 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.01461, allocations: 191.3 kB / 281 MB, free: 9.734 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000243/0.01485, allocations: 295.2 kB / 281.3 MB, free: 9.445 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008617/0.01571, allocations: 0.7627 MB / 282 MB, free: 8.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.01572, allocations: 0 / 282 MB, free: 8.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.01572, allocations: 0 / 282 MB, free: 8.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.01573, allocations: 0 / 282 MB, free: 8.68 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.002099/0.01783, allocations: 1.416 MB / 283.4 MB, free: 7.227 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.01786, allocations: 8.922 kB / 283.4 MB, free: 7.219 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002836/0.0207, allocations: 0.8509 MB / 284.3 MB, free: 6.367 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004362/0.02113, allocations: 363.4 kB / 284.7 MB, free: 5.984 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.329e-05/0.02118, allocations: 74.38 kB / 284.7 MB, free: 5.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.786e-05/0.02127, allocations: 96.38 kB / 284.8 MB, free: 5.816 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.02244, allocations: 0.7979 MB / 285.6 MB, free: 4.992 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.7e-05/0.02249, allocations: 4.188 kB / 285.6 MB, free: 4.988 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.879e-05/0.02256, allocations: 40.38 kB / 285.7 MB, free: 4.949 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.233e-05/0.02258, allocations: 27.94 kB / 285.7 MB, free: 4.922 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000802/0.02338, allocations: 0.5307 MB / 286.2 MB, free: 4.391 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002811/0.02619, allocations: 2.897 MB / 289.1 MB, free: 1.355 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.02725, allocations: 0.7605 MB / 289.9 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002047/0.02745, allocations: 195.9 kB / 290.1 MB, free: 376 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.805e-05/0.02751, allocations: 20.64 kB / 290.1 MB, free: 356 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.02754, allocations: 49.98 kB / 290.1 MB, free: 296 kB / 266.7 MB Notification: Performance of pre-optimization done (n=65): time 1.963e-06/0.02754, allocations: 0 / 290.1 MB, free: 296 kB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.108/0.1355, allocations: 0.4957 MB / 290.6 MB, free: 32.12 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.1356, allocations: 112.3 kB / 290.7 MB, free: 32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002286/0.1358, allocations: 319.8 kB / 291.1 MB, free: 31.83 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.1358, allocations: 36.02 kB / 291.1 MB, free: 31.8 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.136, allocations: 440 kB / 291.5 MB, free: 31.56 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.1361, allocations: 241 kB / 291.8 MB, free: 31.44 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/0.1362, allocations: 147 kB / 291.9 MB, free: 31.41 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.739e-05/0.1363, allocations: 0.5206 MB / 292.4 MB, free: 30.92 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/0.1365, allocations: 124 kB / 292.5 MB, free: 30.92 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002674/0.1367, allocations: 432.4 kB / 293 MB, free: 30.56 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004993/0.1372, allocations: 0.5993 MB / 293.6 MB, free: 30.21 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.1373, allocations: 5.719 kB / 293.6 MB, free: 30.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0007124/0.138, allocations: 0.5975 MB / 294.2 MB, free: 30.12 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.138, allocations: 8.859 kB / 294.2 MB, free: 30.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.138, allocations: 11.89 kB / 294.2 MB, free: 30.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.138, allocations: 10.31 kB / 294.2 MB, free: 30.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004441/0.1385, allocations: 186.6 kB / 294.4 MB, free: 30.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/0.1385, allocations: 18.81 kB / 294.4 MB, free: 30.1 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002189/0.1387, allocations: 77.55 kB / 294.5 MB, free: 30.08 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.545e-05/0.1387, allocations: 33.41 kB / 294.5 MB, free: 30.08 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.0001391/0.1389, allocations: 203.7 kB / 294.7 MB, free: 29.91 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.139e-05/0.139, allocations: 64.48 kB / 294.8 MB, free: 29.88 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006181/0.1396, allocations: 0.4937 MB / 295.3 MB, free: 29.8 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.1396, allocations: 8.062 kB / 295.3 MB, free: 29.8 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.1396, allocations: 1.062 kB / 295.3 MB, free: 29.8 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.1396, allocations: 4.594 kB / 295.3 MB, free: 29.8 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/0.1409, allocations: 1.171 MB / 296.4 MB, free: 29.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.1409, allocations: 5.422 kB / 296.4 MB, free: 29.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003341/0.1413, allocations: 132.4 kB / 296.6 MB, free: 29.17 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.1413, allocations: 2.812 kB / 296.6 MB, free: 29.17 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.852e-05/0.1413, allocations: 14.42 kB / 296.6 MB, free: 29.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.1413, allocations: 11.64 kB / 296.6 MB, free: 29.16 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1413, allocations: 6.094 kB / 296.6 MB, free: 29.16 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007665/0.1421, allocations: 0.9539 MB / 297.6 MB, free: 28.58 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.397e-05/0.1421, allocations: 50.73 kB / 297.6 MB, free: 28.54 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.014e-05/0.1421, allocations: 15.81 kB / 297.6 MB, free: 28.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/0.1423, allocations: 22.39 kB / 297.7 MB, free: 28.52 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.127e-05/0.1424, allocations: 48 kB / 297.7 MB, free: 28.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.342e-05/0.1424, allocations: 19.62 kB / 297.7 MB, free: 28.51 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001015/0.1425, allocations: 202.9 kB / 297.9 MB, free: 28.37 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1425, allocations: 0 / 297.9 MB, free: 28.37 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005308/0.1431, allocations: 222.3 kB / 298.1 MB, free: 28.3 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.0002083/0.1433, allocations: 155.1 kB / 298.3 MB, free: 28.2 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006034/0.1439, allocations: 446.6 kB / 298.7 MB, free: 28.1 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1439, allocations: 1.5 kB / 298.7 MB, free: 28.1 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00025/0.1441, allocations: 221 kB / 298.9 MB, free: 28.04 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.1445, allocations: 42.69 kB / 299 MB, free: 28.02 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.1462, allocations: 1.152 MB / 300.1 MB, free: 27.34 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.1463, allocations: 142.4 kB / 300.3 MB, free: 27.27 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002038/0.1465, allocations: 77.66 kB / 300.3 MB, free: 27.25 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.1467, allocations: 49.47 kB / 300.4 MB, free: 27.24 MB / 266.7 MB Notification: Performance of SimCode: time 1.513e-06/0.1467, allocations: 4 kB / 300.4 MB, free: 27.23 MB / 266.7 MB Notification: Performance of Templates: time 0.007133/0.1538, allocations: 4.229 MB / 304.6 MB, free: 26.39 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 240] 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","",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.94762228988111]