Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.0007588/0.0007588, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001051/0.00181, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0006986/0.0006986, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009271/0.001626, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.004/1.004, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1696/1.174, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") translateModel(Modelica.Electrical.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 222 MB, free: 72 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.916e-05, allocations: 2.312 kB / 222 MB, free: 68 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.005078/0.005107, allocations: 5.654 MB / 227.6 MB, free: 10.38 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003424/0.008532, allocations: 1.958 MB / 229.6 MB, free: 8.402 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000504/0.009036, allocations: 20 kB / 229.6 MB, free: 8.383 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002009/0.01104, allocations: 1.719 MB / 231.3 MB, free: 6.656 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00141/0.01245, allocations: 0.6641 MB / 232 MB, free: 5.988 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006626/0.01312, allocations: 402.7 kB / 232.4 MB, free: 5.594 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001059/0.01418, allocations: 0.9279 MB / 233.3 MB, free: 4.664 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001066/0.01524, allocations: 0.7704 MB / 234.1 MB, free: 3.867 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007612/0.016, allocations: 0.5768 MB / 234.7 MB, free: 3.289 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00059/0.01659, allocations: 438.8 kB / 235.1 MB, free: 2.859 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001894/0.01678, allocations: 80 kB / 235.2 MB, free: 2.781 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006446/0.01743, allocations: 247.7 kB / 235.4 MB, free: 2.539 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.01753, allocations: 147.5 kB / 235.6 MB, free: 2.395 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002693/0.0178, allocations: 255.5 kB / 235.8 MB, free: 2.145 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.01881, allocations: 0.7587 MB / 236.6 MB, free: 1.383 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.478e-05/0.01883, allocations: 0 / 236.6 MB, free: 1.383 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.01883, allocations: 4 kB / 236.6 MB, free: 1.379 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.236e-05/0.01886, allocations: 0 / 236.6 MB, free: 1.379 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.002353/0.02122, allocations: 1.667 MB / 238.2 MB, free: 15.66 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.02125, allocations: 12.03 kB / 238.2 MB, free: 15.65 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003742/0.02499, allocations: 1.354 MB / 239.6 MB, free: 14.3 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006928/0.02569, allocations: 264.5 kB / 239.9 MB, free: 14.01 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.005e-05/0.02574, allocations: 82.55 kB / 239.9 MB, free: 13.93 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.02585, allocations: 112.4 kB / 240 MB, free: 13.82 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008993/0.02675, allocations: 0.811 MB / 240.9 MB, free: 12.96 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.8e-05/0.02678, allocations: 192 / 240.9 MB, free: 12.96 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.809e-05/0.02684, allocations: 48.38 kB / 240.9 MB, free: 12.91 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.109e-05/0.02686, allocations: 27.94 kB / 240.9 MB, free: 12.89 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005866/0.02745, allocations: 465.6 kB / 241.4 MB, free: 12.43 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003627/0.03107, allocations: 2.662 MB / 244 MB, free: 9.633 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.0321, allocations: 0.8447 MB / 244.9 MB, free: 8.762 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.03223, allocations: 145 kB / 245 MB, free: 8.609 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.485e-05/0.03232, allocations: 28.58 kB / 245.1 MB, free: 8.582 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.03235, allocations: 43.22 kB / 245.1 MB, free: 8.531 MB / 250.7 MB Notification: Performance of pre-optimization done (n=71): time 4.288e-06/0.03235, allocations: 0 / 245.1 MB, free: 8.531 MB / 250.7 MB Notification: Performance of matching and sorting (n=71): time 0.00047/0.03282, allocations: 353.9 kB / 245.5 MB, free: 8.18 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.03287, allocations: 111.5 kB / 245.6 MB, free: 8.047 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/0.03309, allocations: 314.6 kB / 245.9 MB, free: 7.727 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.599e-05/0.03312, allocations: 45.7 kB / 245.9 MB, free: 7.676 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/0.03333, allocations: 455.6 kB / 246.4 MB, free: 7.223 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.03347, allocations: 257.8 kB / 246.6 MB, free: 6.969 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.03362, allocations: 174.4 kB / 246.8 MB, free: 6.793 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.697e-05/0.03372, allocations: 358.7 kB / 247.1 MB, free: 6.434 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.03382, allocations: 97.95 kB / 247.2 MB, free: 6.336 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002628/0.03408, allocations: 424.8 kB / 247.6 MB, free: 5.777 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004741/0.03456, allocations: 0.6522 MB / 248.3 MB, free: 4.984 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.03457, allocations: 4 kB / 248.3 MB, free: 4.98 MB / 250.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.0008143/0.03538, allocations: 0.5402 MB / 248.8 MB, free: 4.434 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.0354, allocations: 8 kB / 248.8 MB, free: 4.426 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.03542, allocations: 12 kB / 248.9 MB, free: 4.414 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.513e-05/0.03544, allocations: 16 kB / 248.9 MB, free: 4.398 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005065/0.03595, allocations: 271.5 kB / 249.1 MB, free: 4.133 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/0.03596, allocations: 24.33 kB / 249.2 MB, free: 4.109 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002806/0.03624, allocations: 103.2 kB / 249.3 MB, free: 4.008 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.311e-05/0.03628, allocations: 36 kB / 249.3 MB, free: 3.973 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (122): * Single equations (assignments): 122 * 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.0001528/0.03643, allocations: 173.5 kB / 249.5 MB, free: 3.793 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.693e-05/0.03651, allocations: 47.95 kB / 249.5 MB, free: 3.746 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004275/0.03693, allocations: 390 kB / 249.9 MB, free: 3.359 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.677e-06/0.03694, allocations: 11.98 kB / 249.9 MB, free: 3.348 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.03695, allocations: 3.938 kB / 249.9 MB, free: 3.344 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.03696, allocations: 7.984 kB / 249.9 MB, free: 3.336 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.03799, allocations: 0.7964 MB / 250.7 MB, free: 2.512 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.03799, allocations: 4 kB / 250.7 MB, free: 2.508 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000359/0.03835, allocations: 173.8 kB / 250.9 MB, free: 2.34 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.152e-05/0.03841, allocations: 51.53 kB / 250.9 MB, free: 2.289 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.03842, allocations: 0 / 250.9 MB, free: 2.289 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.03844, allocations: 23.92 kB / 251 MB, free: 2.266 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.03845, allocations: 7.938 kB / 251 MB, free: 2.258 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.03845, allocations: 0 / 251 MB, free: 2.258 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005339/0.03898, allocations: 0.6707 MB / 251.6 MB, free: 1.57 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.061e-05/0.03903, allocations: 24.02 kB / 251.7 MB, free: 1.547 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.03921, allocations: 20 kB / 251.7 MB, free: 1.527 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.448e-05/0.03929, allocations: 52.5 kB / 251.7 MB, free: 1.477 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.03931, allocations: 12 kB / 251.7 MB, free: 1.465 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.464e-05/0.0394, allocations: 100.5 kB / 251.8 MB, free: 1.363 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0394, allocations: 0 / 251.8 MB, free: 1.363 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0006422/0.04004, allocations: 251.3 kB / 252.1 MB, free: 1.117 MB / 250.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 (78): * Single equations (assignments): 78 * 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.0002548/0.04029, allocations: 136.2 kB / 252.2 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004652/0.04076, allocations: 433.1 kB / 252.6 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.81e-05/0.04079, allocations: 16.44 kB / 252.7 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000203/0.04099, allocations: 231.4 kB / 252.9 MB, free: 320 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004795/0.04147, allocations: 268.6 kB / 253.1 MB, free: 16 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006927/0.0484, allocations: 1.303 MB / 254.5 MB, free: 14.67 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.04854, allocations: 156.9 kB / 254.6 MB, free: 14.5 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003355/0.04887, allocations: 96.83 kB / 254.7 MB, free: 14.4 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002004/0.04908, allocations: 135.4 kB / 254.8 MB, free: 14.27 MB / 266.7 MB Notification: Performance of SimCode: time 2.355e-06/0.04908, allocations: 0 / 254.8 MB, free: 14.27 MB / 266.7 MB Notification: Performance of Templates: time 0.009968/0.05905, allocations: 4.882 MB / 259.7 MB, free: 9.406 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/Transformer/Transformer.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7990936702117324]