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.001313/0.001313, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.001309/0.001309, allocations: 139.9 kB / 24.89 MB, free: 9.207 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.932/0.932, allocations: 173.3 MB / 201.5 MB, free: 9.211 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.222e-06/1.222e-06, allocations: 0 / 268.5 MB, free: 6.164 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.27e-05/1.393e-05, allocations: 6.25 kB / 268.5 MB, free: 6.156 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.005125/0.005139, allocations: 5.393 MB / 273.9 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002779/0.007918, allocations: 1.825 MB / 275.7 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002603/0.008178, allocations: 20 kB / 275.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002154/0.01033, allocations: 1.707 MB / 277.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001073/0.01141, allocations: 0.734 MB / 278.2 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004157/0.01182, allocations: 275.3 kB / 278.5 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006509/0.01247, allocations: 0.8285 MB / 279.3 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008601/0.01333, allocations: 0.8013 MB / 280.1 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004559/0.01379, allocations: 0.5183 MB / 280.6 MB, free: 9.965 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003845/0.01417, allocations: 395 kB / 281 MB, free: 9.578 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.152e-05/0.01425, allocations: 76 kB / 281.1 MB, free: 9.504 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000349/0.0146, allocations: 239.7 kB / 281.3 MB, free: 9.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.953e-05/0.0147, allocations: 183.3 kB / 281.5 MB, free: 9.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001847/0.01489, allocations: 291.2 kB / 281.8 MB, free: 8.805 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006906/0.01558, allocations: 0.7704 MB / 282.5 MB, free: 8.031 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.01558, allocations: 0 / 282.5 MB, free: 8.031 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.01558, allocations: 0 / 282.5 MB, free: 8.031 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.01559, allocations: 4 kB / 282.5 MB, free: 8.027 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.002038/0.01763, allocations: 1.334 MB / 283.9 MB, free: 6.668 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.745e-05/0.01766, allocations: 12.92 kB / 283.9 MB, free: 6.656 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002424/0.02008, allocations: 0.9215 MB / 284.8 MB, free: 5.734 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.02037, allocations: 243.6 kB / 285 MB, free: 5.473 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.641e-05/0.02041, allocations: 74.38 kB / 285.1 MB, free: 5.398 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.312e-05/0.02049, allocations: 100.3 kB / 285.2 MB, free: 5.301 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006739/0.02116, allocations: 0.7307 MB / 285.9 MB, free: 4.547 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.02118, allocations: 192 / 285.9 MB, free: 4.547 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.202e-05/0.02123, allocations: 40.38 kB / 286 MB, free: 4.508 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.02124, allocations: 27.94 kB / 286 MB, free: 4.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004046/0.02164, allocations: 369.7 kB / 286.4 MB, free: 4.117 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002133/0.02378, allocations: 2.359 MB / 288.7 MB, free: 1.637 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007291/0.02451, allocations: 0.6606 MB / 289.4 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.02462, allocations: 131.5 kB / 289.5 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.394e-05/0.02467, allocations: 24.64 kB / 289.5 MB, free: 0.793 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.0247, allocations: 51.16 kB / 289.6 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of pre-optimization done (n=65): time 1.753e-06/0.0247, allocations: 0 / 289.6 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.0003699/0.02507, allocations: 341.9 kB / 289.9 MB, free: 404 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.02511, allocations: 111.5 kB / 290 MB, free: 268 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003824/0.02549, allocations: 244.7 kB / 290.3 MB, free: 8 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.08927/0.1148, allocations: 38.17 kB / 290.3 MB, free: 23.09 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.1149, allocations: 386.3 kB / 290.7 MB, free: 22.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.115, allocations: 234.1 kB / 290.9 MB, free: 22.81 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.1152, allocations: 137.8 kB / 291.1 MB, free: 22.79 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.438e-05/0.1152, allocations: 352.2 kB / 291.4 MB, free: 22.47 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.1153, allocations: 81.95 kB / 291.5 MB, free: 22.47 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.1155, allocations: 299.2 kB / 291.8 MB, free: 22.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003528/0.1158, allocations: 462.5 kB / 292.2 MB, free: 22 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.1158, allocations: 3.328 kB / 292.2 MB, free: 22 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0004592/0.1163, allocations: 426.5 kB / 292.6 MB, free: 21.95 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.1163, allocations: 10.5 kB / 292.7 MB, free: 21.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.1163, allocations: 6.688 kB / 292.7 MB, free: 21.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.1163, allocations: 12.38 kB / 292.7 MB, free: 21.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004813/0.1168, allocations: 206.6 kB / 292.9 MB, free: 21.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.1168, allocations: 19.95 kB / 292.9 MB, free: 21.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000181/0.117, allocations: 80.27 kB / 293 MB, free: 21.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.993e-05/0.1171, allocations: 27.12 kB / 293 MB, free: 21.93 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.0001162/0.1172, allocations: 155.3 kB / 293.2 MB, free: 21.82 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.553e-05/0.1172, allocations: 43.67 kB / 293.2 MB, free: 21.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004056/0.1176, allocations: 360.6 kB / 293.5 MB, free: 21.77 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.1177, allocations: 12.23 kB / 293.6 MB, free: 21.77 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.1177, allocations: 2.719 kB / 293.6 MB, free: 21.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.1177, allocations: 4.5 kB / 293.6 MB, free: 21.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008583/0.1185, allocations: 0.7498 MB / 294.3 MB, free: 21.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1185, allocations: 0 / 294.3 MB, free: 21.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003352/0.1189, allocations: 152.3 kB / 294.5 MB, free: 21.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.1189, allocations: 3.531 kB / 294.5 MB, free: 21.55 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.1189, allocations: 15.52 kB / 294.5 MB, free: 21.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.1189, allocations: 6.719 kB / 294.5 MB, free: 21.55 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.1189, allocations: 1.25 kB / 294.5 MB, free: 21.55 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004491/0.1193, allocations: 0.6592 MB / 295.1 MB, free: 21.25 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.1194, allocations: 47.8 kB / 295.2 MB, free: 21.23 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.901e-05/0.1194, allocations: 13.98 kB / 295.2 MB, free: 21.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.1196, allocations: 22.78 kB / 295.2 MB, free: 21.23 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.456e-05/0.1196, allocations: 47 kB / 295.3 MB, free: 21.22 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.1197, allocations: 14.41 kB / 295.3 MB, free: 21.22 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.032e-05/0.1197, allocations: 74.94 kB / 295.4 MB, free: 21.21 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1197, allocations: 0 / 295.4 MB, free: 21.21 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004359/0.1202, allocations: 225.3 kB / 295.6 MB, free: 21.18 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.0001451/0.1203, allocations: 130.3 kB / 295.7 MB, free: 21.11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000355/0.1207, allocations: 358.7 kB / 296.1 MB, free: 21.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.809e-06/0.1207, allocations: 4.344 kB / 296.1 MB, free: 21.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.1208, allocations: 168.7 kB / 296.2 MB, free: 21.08 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.1211, allocations: 55.64 kB / 296.3 MB, free: 21.07 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.1223, allocations: 1.094 MB / 297.4 MB, free: 20.52 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.746e-05/0.1224, allocations: 141.5 kB / 297.5 MB, free: 20.45 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001808/0.1226, allocations: 79.34 kB / 297.6 MB, free: 20.43 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/0.1228, allocations: 126.2 kB / 297.7 MB, free: 20.38 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.1228, allocations: 0 / 297.7 MB, free: 20.38 MB / 266.7 MB Notification: Performance of Templates: time 0.007332/0.1301, allocations: 4.738 MB / 302.5 MB, free: 19.91 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 -s gbode -gbm=radauIIA3 -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.5798919182270765]