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.001091/0.001091, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001577/0.002668, allocations: 445.7 kB / 10.37 MB, free: 328 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.001063/0.001063, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001385/0.002448, allocations: 463.6 kB / 11.71 MB, free: 2.453 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 0.8953/0.8953, allocations: 158.6 MB / 171.1 MB, free: 2.59 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1587/1.054, allocations: 49.49 MB / 220.6 MB, free: 1.445 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.412e-06/1.412e-06, allocations: 0 / 221.8 MB, free: 184 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.412e-05/1.553e-05, allocations: 2.312 kB / 221.8 MB, free: 180 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.005982/0.005998, allocations: 5.653 MB / 227.5 MB, free: 10.49 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00359/0.009587, allocations: 1.947 MB / 229.4 MB, free: 8.527 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004948/0.01008, allocations: 20 kB / 229.4 MB, free: 8.508 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002423/0.01251, allocations: 1.726 MB / 231.2 MB, free: 6.773 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001387/0.01389, allocations: 0.668 MB / 231.8 MB, free: 6.102 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007026/0.0146, allocations: 406.7 kB / 232.2 MB, free: 5.703 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001051/0.01565, allocations: 0.9217 MB / 233.2 MB, free: 4.781 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001378/0.01702, allocations: 0.7743 MB / 233.9 MB, free: 3.977 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007004/0.01772, allocations: 0.5768 MB / 234.5 MB, free: 3.398 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005497/0.01827, allocations: 434.8 kB / 234.9 MB, free: 2.973 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.01839, allocations: 80 kB / 235 MB, free: 2.895 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005535/0.01894, allocations: 251.6 kB / 235.3 MB, free: 2.648 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.01905, allocations: 147.5 kB / 235.4 MB, free: 2.504 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002545/0.01931, allocations: 255.5 kB / 235.7 MB, free: 2.254 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009167/0.02023, allocations: 0.7665 MB / 236.4 MB, free: 1.484 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.988e-05/0.02025, allocations: 0 / 236.4 MB, free: 1.484 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.02025, allocations: 3.984 kB / 236.4 MB, free: 1.48 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.961e-05/0.02028, allocations: 0 / 236.4 MB, free: 1.48 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.002688/0.02296, allocations: 1.663 MB / 238.1 MB, free: 15.77 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.023, allocations: 12.03 kB / 238.1 MB, free: 15.76 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005061/0.02806, allocations: 1.358 MB / 239.5 MB, free: 14.4 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004964/0.02856, allocations: 256.5 kB / 239.7 MB, free: 14.12 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.003e-05/0.02862, allocations: 82.55 kB / 239.8 MB, free: 14.04 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.02874, allocations: 112.3 kB / 239.9 MB, free: 13.93 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.02998, allocations: 0.8149 MB / 240.7 MB, free: 13.07 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.679e-05/0.03, allocations: 192 / 240.7 MB, free: 13.07 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.564e-05/0.03007, allocations: 44.38 kB / 240.8 MB, free: 13.02 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.325e-05/0.03009, allocations: 31.94 kB / 240.8 MB, free: 12.99 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006725/0.03077, allocations: 469.6 kB / 241.2 MB, free: 12.53 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003374/0.03414, allocations: 2.658 MB / 243.9 MB, free: 9.738 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/0.03543, allocations: 0.8409 MB / 244.7 MB, free: 8.871 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.0356, allocations: 148.9 kB / 244.9 MB, free: 8.719 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.433e-05/0.03567, allocations: 24.64 kB / 244.9 MB, free: 8.695 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.03571, allocations: 47.16 kB / 245 MB, free: 8.641 MB / 250.7 MB Notification: Performance of pre-optimization done (n=71): time 2.404e-06/0.03571, allocations: 0 / 245 MB, free: 8.641 MB / 250.7 MB Notification: Performance of matching and sorting (n=71): time 0.0005425/0.03625, allocations: 353.9 kB / 245.3 MB, free: 8.289 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/0.03631, allocations: 115.7 kB / 245.4 MB, free: 8.152 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002158/0.03653, allocations: 310.4 kB / 245.7 MB, free: 7.836 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.03656, allocations: 41.7 kB / 245.8 MB, free: 7.789 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002027/0.03676, allocations: 455.6 kB / 246.2 MB, free: 7.336 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.03691, allocations: 257.8 kB / 246.5 MB, free: 7.082 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001704/0.03708, allocations: 170.5 kB / 246.6 MB, free: 6.91 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.03718, allocations: 354.7 kB / 247 MB, free: 6.555 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.03731, allocations: 101.9 kB / 247.1 MB, free: 6.453 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003041/0.03762, allocations: 424.8 kB / 247.5 MB, free: 5.887 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007883/0.03841, allocations: 0.6216 MB / 248.1 MB, free: 5.125 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.984e-06/0.03841, allocations: 4 kB / 248.1 MB, free: 5.121 MB / 250.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.000616/0.03903, allocations: 0.54 MB / 248.7 MB, free: 4.574 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.03905, allocations: 12 kB / 248.7 MB, free: 4.562 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.03907, allocations: 12 kB / 248.7 MB, free: 4.551 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.03909, allocations: 12 kB / 248.7 MB, free: 4.539 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000669/0.03975, allocations: 276.2 kB / 249 MB, free: 4.27 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.669e-05/0.03977, allocations: 23.94 kB / 249 MB, free: 4.246 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003196/0.04009, allocations: 107.2 kB / 249.1 MB, free: 4.141 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.494e-05/0.04014, allocations: 36 kB / 249.1 MB, free: 4.105 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.0002076/0.04034, allocations: 173.5 kB / 249.3 MB, free: 3.926 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.732e-05/0.04044, allocations: 47.95 kB / 249.3 MB, free: 3.879 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004999/0.04094, allocations: 386 kB / 249.7 MB, free: 3.496 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/0.04095, allocations: 8 kB / 249.7 MB, free: 3.488 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.04095, allocations: 3.938 kB / 249.7 MB, free: 3.484 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.04096, allocations: 3.984 kB / 249.7 MB, free: 3.48 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000969/0.04193, allocations: 0.812 MB / 250.5 MB, free: 2.637 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.04193, allocations: 0 / 250.5 MB, free: 2.637 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003406/0.04227, allocations: 173.8 kB / 250.7 MB, free: 2.469 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.658e-05/0.04231, allocations: 47.53 kB / 250.8 MB, free: 2.422 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.04231, allocations: 4 kB / 250.8 MB, free: 2.418 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.04233, allocations: 23.92 kB / 250.8 MB, free: 2.395 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.04234, allocations: 4 kB / 250.8 MB, free: 2.391 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.04234, allocations: 0 / 250.8 MB, free: 2.391 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004711/0.04281, allocations: 0.6746 MB / 251.5 MB, free: 1.703 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.812e-05/0.04285, allocations: 19.98 kB / 251.5 MB, free: 1.684 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.043, allocations: 16 kB / 251.5 MB, free: 1.668 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.271e-05/0.04307, allocations: 56.5 kB / 251.6 MB, free: 1.613 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.04309, allocations: 12 kB / 251.6 MB, free: 1.602 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.955e-05/0.04316, allocations: 96.61 kB / 251.7 MB, free: 1.504 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04316, allocations: 0 / 251.7 MB, free: 1.504 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004976/0.04365, allocations: 251.3 kB / 251.9 MB, free: 1.258 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.0002034/0.04386, allocations: 132.3 kB / 252 MB, free: 1.117 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003677/0.04423, allocations: 419 kB / 252.4 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.036e-05/0.04425, allocations: 16.44 kB / 252.5 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.04438, allocations: 197.9 kB / 252.7 MB, free: 0.5 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.0447, allocations: 92.59 kB / 252.7 MB, free: 416 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006299/0.051, allocations: 1.307 MB / 254.1 MB, free: 15.06 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.0511, allocations: 157 kB / 254.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002353/0.05134, allocations: 96.83 kB / 254.3 MB, free: 14.79 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/0.05151, allocations: 131.4 kB / 254.4 MB, free: 14.66 MB / 266.7 MB Notification: Performance of SimCode: time 1.513e-06/0.05151, allocations: 0 / 254.4 MB, free: 14.66 MB / 266.7 MB Notification: Performance of Templates: time 0.008716/0.06023, allocations: 5.229 MB / 259.7 MB, free: 9.453 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7201005229726434]