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.001021/0.001021, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001281/0.001281, allocations: 175.7 kB / 24.91 MB, free: 8.77 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 0.9305/0.9305, allocations: 177.1 MB / 205.3 MB, free: 5.113 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.222e-06/1.222e-06, allocations: 0 / 273.5 MB, free: 1.133 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.024e-05/2.146e-05, allocations: 2.312 kB / 273.5 MB, free: 1.129 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.004773/0.004795, allocations: 5.412 MB / 278.9 MB, free: 11.69 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002849/0.007644, allocations: 1.888 MB / 280.8 MB, free: 9.793 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003384/0.007982, allocations: 20 kB / 280.8 MB, free: 9.773 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001949/0.009931, allocations: 1.703 MB / 282.5 MB, free: 8.062 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001035/0.01097, allocations: 0.5902 MB / 283.1 MB, free: 7.469 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005552/0.01152, allocations: 402.7 kB / 283.5 MB, free: 7.074 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007265/0.01225, allocations: 0.8247 MB / 284.3 MB, free: 6.242 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009066/0.01315, allocations: 0.8051 MB / 285.1 MB, free: 5.402 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005073/0.01366, allocations: 0.5145 MB / 285.6 MB, free: 4.887 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003595/0.01402, allocations: 395 kB / 286 MB, free: 4.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8e-05/0.0141, allocations: 76 kB / 286.1 MB, free: 4.426 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004303/0.01453, allocations: 255.6 kB / 286.3 MB, free: 4.176 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.883e-05/0.01462, allocations: 183.3 kB / 286.5 MB, free: 3.996 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001726/0.01479, allocations: 291.2 kB / 286.8 MB, free: 3.711 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007069/0.0155, allocations: 0.7706 MB / 287.6 MB, free: 2.938 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.0155, allocations: 3.938 kB / 287.6 MB, free: 2.934 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.0155, allocations: 0 / 287.6 MB, free: 2.934 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.01552, allocations: 0 / 287.6 MB, free: 2.934 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.001851/0.01737, allocations: 1.338 MB / 288.9 MB, free: 1.57 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.0174, allocations: 12.03 kB / 288.9 MB, free: 1.559 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002651/0.02005, allocations: 0.8941 MB / 289.8 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003856/0.02044, allocations: 232.7 kB / 290.1 MB, free: 420 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.847e-05/0.02047, allocations: 74.38 kB / 290.1 MB, free: 344 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.672e-05/0.02056, allocations: 100.4 kB / 290.2 MB, free: 244 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1101/0.1306, allocations: 0.7136 MB / 290.9 MB, free: 18.42 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.933e-05/0.1307, allocations: 5.156 kB / 290.9 MB, free: 18.42 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-05/0.1307, allocations: 42.94 kB / 291 MB, free: 18.42 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.448e-05/0.1308, allocations: 22.69 kB / 291 MB, free: 18.42 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007157/0.1315, allocations: 380.3 kB / 291.4 MB, free: 18.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003142/0.1346, allocations: 2.363 MB / 293.7 MB, free: 17.46 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.1357, allocations: 0.6589 MB / 294.4 MB, free: 17.39 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.1359, allocations: 128.5 kB / 294.5 MB, free: 17.36 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.437e-05/0.136, allocations: 31.67 kB / 294.6 MB, free: 17.36 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.136, allocations: 45.86 kB / 294.6 MB, free: 17.32 MB / 266.7 MB Notification: Performance of pre-optimization done (n=65): time 3.015e-06/0.136, allocations: 0 / 294.6 MB, free: 17.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.0005867/0.1366, allocations: 343.5 kB / 294.9 MB, free: 17.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.1366, allocations: 112.4 kB / 295.1 MB, free: 17.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.1368, allocations: 247.8 kB / 295.3 MB, free: 17.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.1368, allocations: 35.52 kB / 295.3 MB, free: 16.99 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.137, allocations: 390 kB / 295.7 MB, free: 16.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.1371, allocations: 238.7 kB / 295.9 MB, free: 16.65 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001572/0.1373, allocations: 143.2 kB / 296.1 MB, free: 16.63 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.919e-05/0.1373, allocations: 348.1 kB / 296.4 MB, free: 16.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.1375, allocations: 81.34 kB / 296.5 MB, free: 16.31 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.1377, allocations: 304.7 kB / 296.8 MB, free: 16.08 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004544/0.1381, allocations: 461.9 kB / 297.3 MB, free: 15.84 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.1381, allocations: 8.062 kB / 297.3 MB, free: 15.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0005846/0.1387, allocations: 437 kB / 297.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.1387, allocations: 7.062 kB / 297.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.1388, allocations: 7.25 kB / 297.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.621e-05/0.1388, allocations: 10.78 kB / 297.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005774/0.1394, allocations: 209 kB / 297.9 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/0.1394, allocations: 15 kB / 297.9 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002748/0.1396, allocations: 82.06 kB / 298 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-05/0.1397, allocations: 27.03 kB / 298 MB, free: 15.77 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.0001441/0.1398, allocations: 161.6 kB / 298.2 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.1399, allocations: 46.33 kB / 298.2 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000545/0.1405, allocations: 364.1 kB / 298.6 MB, free: 15.6 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.1405, allocations: 12.77 kB / 298.6 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1405, allocations: 2.719 kB / 298.6 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/0.1405, allocations: 3.516 kB / 298.6 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.1417, allocations: 0.7469 MB / 299.4 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.1417, allocations: 1.766 kB / 299.4 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004603/0.1422, allocations: 150.5 kB / 299.5 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.1422, allocations: 3.406 kB / 299.5 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.974e-05/0.1422, allocations: 16.92 kB / 299.5 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.1422, allocations: 12.61 kB / 299.5 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1422, allocations: 3.656 kB / 299.5 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006186/0.1429, allocations: 0.6476 MB / 300.2 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.892e-05/0.1429, allocations: 43.69 kB / 300.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.291e-05/0.143, allocations: 14.5 kB / 300.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.1432, allocations: 23.5 kB / 300.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.912e-05/0.1433, allocations: 47.34 kB / 300.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.497e-05/0.1433, allocations: 11.69 kB / 300.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.117e-05/0.1434, allocations: 76.31 kB / 300.4 MB, free: 15.03 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1434, allocations: 5.406 kB / 300.4 MB, free: 15.03 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006932/0.1441, allocations: 233.3 kB / 300.6 MB, free: 14.99 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.0002038/0.1443, allocations: 128.5 kB / 300.8 MB, free: 14.92 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005011/0.1448, allocations: 362.4 kB / 301.1 MB, free: 14.9 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-05/0.1448, allocations: 8.625 kB / 301.1 MB, free: 14.89 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001998/0.145, allocations: 178.6 kB / 301.3 MB, free: 14.88 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004247/0.1454, allocations: 45.92 kB / 301.3 MB, free: 14.88 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.1471, allocations: 1.085 MB / 302.4 MB, free: 14.31 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.1472, allocations: 142.6 kB / 302.6 MB, free: 14.23 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002531/0.1474, allocations: 78.62 kB / 302.6 MB, free: 14.21 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002033/0.1476, allocations: 127.9 kB / 302.8 MB, free: 14.17 MB / 266.7 MB Notification: Performance of SimCode: time 8.01e-07/0.1476, allocations: 3.844 kB / 302.8 MB, free: 14.17 MB / 266.7 MB Notification: Performance of Templates: time 0.008965/0.1566, allocations: 4.934 MB / 307.7 MB, free: 13.12 MB / 266.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 -s gbode -gbm=radauIIA3 -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: 2.664959449786693]