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.001043/0.001043, allocations: 75.77 kB / 22.46 MB, free: 2.094 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.001055/0.001055, allocations: 168 kB / 25.75 MB, free: 8.961 MB / 18.57 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.9261/0.9261, allocations: 158.6 MB / 187.6 MB, free: 2.898 MB / 170.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.553e-06/1.553e-06, allocations: 0 / 251.1 MB, free: 7.797 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.88e-05/2.035e-05, allocations: 2.312 kB / 251.1 MB, free: 7.793 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.006667/0.006688, allocations: 5.7 MB / 256.8 MB, free: 2.062 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00332/0.01001, allocations: 1.846 MB / 258.7 MB, free: 208 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003596/0.01037, allocations: 16 kB / 258.7 MB, free: 192 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002593/0.01296, allocations: 1.723 MB / 260.4 MB, free: 14.46 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001452/0.01441, allocations: 0.6719 MB / 261.1 MB, free: 13.78 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00072/0.01513, allocations: 402.8 kB / 261.5 MB, free: 13.39 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001052/0.01618, allocations: 0.9256 MB / 262.4 MB, free: 12.46 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001209/0.01739, allocations: 0.7629 MB / 263.1 MB, free: 11.67 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006682/0.01806, allocations: 0.565 MB / 263.7 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005274/0.01859, allocations: 430.9 kB / 264.1 MB, free: 10.68 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.0187, allocations: 84 kB / 264.2 MB, free: 10.6 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004479/0.01915, allocations: 235.7 kB / 264.4 MB, free: 10.37 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001566/0.01931, allocations: 211.2 kB / 264.6 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003034/0.01961, allocations: 323.1 kB / 265 MB, free: 9.848 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001125/0.02074, allocations: 0.8054 MB / 265.8 MB, free: 9.039 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.02074, allocations: 4 kB / 265.8 MB, free: 9.035 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.02074, allocations: 0 / 265.8 MB, free: 9.035 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.729e-06/0.02075, allocations: 0 / 265.8 MB, free: 9.035 MB / 250.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.003085/0.02383, allocations: 1.487 MB / 267.3 MB, free: 7.508 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.02388, allocations: 15.98 kB / 267.3 MB, free: 7.492 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00719/0.03107, allocations: 1.225 MB / 268.5 MB, free: 6.266 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006848/0.03175, allocations: 403.2 kB / 268.9 MB, free: 5.844 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.349e-05/0.03183, allocations: 78.55 kB / 269 MB, free: 5.766 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001652/0.03199, allocations: 108.4 kB / 269.1 MB, free: 5.66 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001675/0.03367, allocations: 0.9055 MB / 270 MB, free: 4.703 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.563e-05/0.0337, allocations: 12.19 kB / 270 MB, free: 4.691 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001248/0.03383, allocations: 40.38 kB / 270 MB, free: 4.652 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.178e-05/0.03386, allocations: 31.94 kB / 270.1 MB, free: 4.621 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001501/0.03536, allocations: 0.6634 MB / 270.7 MB, free: 3.961 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004681/0.04004, allocations: 3.211 MB / 273.9 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001992/0.04203, allocations: 0.9773 MB / 274.9 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003431/0.04238, allocations: 201.3 kB / 275.1 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.485e-05/0.04245, allocations: 20.64 kB / 275.1 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/0.04249, allocations: 46.05 kB / 275.2 MB, free: 15.33 MB / 266.7 MB Notification: Performance of pre-optimization done (n=71): time 3.306e-06/0.04249, allocations: 0 / 275.2 MB, free: 15.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=71): time 0.001102/0.0436, allocations: 0.5444 MB / 275.7 MB, free: 14.78 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/0.04366, allocations: 119.3 kB / 275.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003539/0.04401, allocations: 377.9 kB / 276.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.26e-05/0.04406, allocations: 37.7 kB / 276.2 MB, free: 14.21 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002774/0.04433, allocations: 0.4984 MB / 276.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/0.04452, allocations: 261.8 kB / 277 MB, free: 13.45 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002323/0.04476, allocations: 184.2 kB / 277.2 MB, free: 13.26 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.04493, allocations: 0.5235 MB / 277.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003088/0.04524, allocations: 145.9 kB / 277.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005786/0.04582, allocations: 0.5957 MB / 278.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009392/0.04676, allocations: 0.8221 MB / 279.3 MB, free: 10.77 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.782e-06/0.04676, allocations: 0 / 279.3 MB, free: 10.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001213/0.04798, allocations: 0.7543 MB / 280 MB, free: 10 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.048, allocations: 8 kB / 280 MB, free: 9.996 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/0.04801, allocations: 16.89 kB / 280 MB, free: 9.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.847e-05/0.04804, allocations: 20 kB / 280.1 MB, free: 9.961 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007179/0.04876, allocations: 235.6 kB / 280.3 MB, free: 9.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.51e-05/0.04879, allocations: 27.86 kB / 280.3 MB, free: 9.703 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003981/0.04918, allocations: 99.25 kB / 280.4 MB, free: 9.605 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-05/0.04924, allocations: 44 kB / 280.5 MB, free: 9.562 MB / 266.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.0002107/0.04946, allocations: 224.2 kB / 280.7 MB, free: 9.332 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.0496, allocations: 71.66 kB / 280.7 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009425/0.05054, allocations: 0.5136 MB / 281.3 MB, free: 8.742 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.667e-06/0.05055, allocations: 8 kB / 281.3 MB, free: 8.734 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.05056, allocations: 7.938 kB / 281.3 MB, free: 8.727 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.05057, allocations: 3.984 kB / 281.3 MB, free: 8.723 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002095/0.05267, allocations: 1.252 MB / 282.5 MB, free: 7.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.05267, allocations: 0 / 282.5 MB, free: 7.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005227/0.05319, allocations: 143.8 kB / 282.7 MB, free: 7.289 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.0532, allocations: 0 / 282.7 MB, free: 7.289 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.942e-05/0.05324, allocations: 16 kB / 282.7 MB, free: 7.273 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.05324, allocations: 4 kB / 282.7 MB, free: 7.27 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.05324, allocations: 7.875 kB / 282.7 MB, free: 7.262 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001214/0.05446, allocations: 1.003 MB / 283.7 MB, free: 6.238 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.926e-05/0.05452, allocations: 51.53 kB / 283.8 MB, free: 6.188 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.629e-05/0.05458, allocations: 16 kB / 283.8 MB, free: 6.172 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003055/0.05489, allocations: 27.97 kB / 283.8 MB, free: 6.145 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.05499, allocations: 56.44 kB / 283.9 MB, free: 6.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.744e-05/0.05503, allocations: 20 kB / 283.9 MB, free: 6.07 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001825/0.05521, allocations: 219 kB / 284.1 MB, free: 5.852 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.05521, allocations: 0 / 284.1 MB, free: 5.852 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008228/0.05603, allocations: 255.3 kB / 284.3 MB, free: 5.602 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 (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.0002335/0.05627, allocations: 143.1 kB / 284.5 MB, free: 5.449 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008557/0.05712, allocations: 0.5058 MB / 285 MB, free: 4.949 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.05712, allocations: 0 / 285 MB, free: 4.949 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003597/0.05748, allocations: 236.8 kB / 285.2 MB, free: 4.711 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004041/0.05789, allocations: 48.64 kB / 285.3 MB, free: 4.664 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.05956, allocations: 1.307 MB / 286.6 MB, free: 3.312 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.123e-05/0.05965, allocations: 152.9 kB / 286.7 MB, free: 3.145 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001974/0.05985, allocations: 92.84 kB / 286.8 MB, free: 3.055 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.05995, allocations: 56.48 kB / 286.9 MB, free: 3 MB / 266.7 MB Notification: Performance of SimCode: time 1.022e-06/0.05995, allocations: 7.938 kB / 286.9 MB, free: 2.992 MB / 266.7 MB Notification: Performance of Templates: time 0.006897/0.06685, allocations: 4.573 MB / 291.4 MB, free: 14.43 MB / 282.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 -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.94777884404175]