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.001395/0.001395, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.001423/0.001423, allocations: 161.4 kB / 25.02 MB, free: 8.953 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 1.414/1.414, allocations: 158.6 MB / 186.8 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] 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.803e-06/1.803e-06, allocations: 0 / 250.4 MB, free: 7.844 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.347e-05/3.528e-05, allocations: 5.406 kB / 250.4 MB, free: 7.84 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.008486/0.008521, allocations: 5.221 MB / 255.6 MB, free: 2.59 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00462/0.01314, allocations: 1.815 MB / 257.4 MB, free: 0.7578 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004513/0.01359, allocations: 20 kB / 257.4 MB, free: 0.7383 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004047/0.01764, allocations: 1.594 MB / 259 MB, free: 15.14 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002119/0.01976, allocations: 0.6603 MB / 259.7 MB, free: 14.47 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.02077, allocations: 402.8 kB / 260.1 MB, free: 14.08 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001405/0.02217, allocations: 0.9256 MB / 261 MB, free: 13.15 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001468/0.02364, allocations: 0.7706 MB / 261.8 MB, free: 12.36 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009029/0.02455, allocations: 0.5573 MB / 262.3 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006744/0.02522, allocations: 418.8 kB / 262.7 MB, free: 11.39 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001261/0.02535, allocations: 84 kB / 262.8 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006203/0.02597, allocations: 243.6 kB / 263 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002234/0.02619, allocations: 211.2 kB / 263.2 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004131/0.0266, allocations: 315.1 kB / 263.6 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001904/0.02851, allocations: 1.246 MB / 264.8 MB, free: 9.301 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.02851, allocations: 0 / 264.8 MB, free: 9.301 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.02852, allocations: 0 / 264.8 MB, free: 9.301 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.02853, allocations: 0 / 264.8 MB, free: 9.301 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.00375/0.03228, allocations: 1.359 MB / 266.2 MB, free: 7.906 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.03233, allocations: 15.98 kB / 266.2 MB, free: 7.891 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007105/0.03944, allocations: 1.206 MB / 267.4 MB, free: 6.684 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.04046, allocations: 400.3 kB / 267.8 MB, free: 6.266 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.791e-05/0.04055, allocations: 82.55 kB / 267.9 MB, free: 6.184 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002019/0.04075, allocations: 108.4 kB / 268 MB, free: 6.078 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002272/0.04302, allocations: 1.154 MB / 269.1 MB, free: 4.879 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.087e-05/0.04305, allocations: 192 / 269.1 MB, free: 4.879 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.04317, allocations: 44.38 kB / 269.2 MB, free: 4.836 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.191e-05/0.0432, allocations: 31.94 kB / 269.2 MB, free: 4.805 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002185/0.04538, allocations: 1.117 MB / 270.3 MB, free: 3.691 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005824/0.05121, allocations: 3.175 MB / 273.5 MB, free: 372 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002471/0.05368, allocations: 0.9057 MB / 274.4 MB, free: 15.47 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005289/0.05421, allocations: 280.8 kB / 274.7 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.303e-05/0.0543, allocations: 24.64 kB / 274.7 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/0.05434, allocations: 39.22 kB / 274.7 MB, free: 15.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=71): time 2.374e-06/0.05435, allocations: 0 / 274.7 MB, free: 15.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=71): time 0.001746/0.05609, allocations: 0.779 MB / 275.5 MB, free: 14.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.789e-05/0.05619, allocations: 127.3 kB / 275.6 MB, free: 14.19 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004592/0.05665, allocations: 324.1 kB / 275.9 MB, free: 13.86 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.881e-05/0.05671, allocations: 37.7 kB / 276 MB, free: 13.82 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004213/0.05713, allocations: 463.5 kB / 276.4 MB, free: 13.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002765/0.05741, allocations: 253.8 kB / 276.7 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003053/0.05771, allocations: 170.6 kB / 276.8 MB, free: 12.94 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002166/0.05793, allocations: 350.8 kB / 277.2 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005189/0.05845, allocations: 249.9 kB / 277.4 MB, free: 12.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/0.05946, allocations: 0.5633 MB / 278 MB, free: 11.63 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001435/0.06089, allocations: 0.868 MB / 278.9 MB, free: 10.62 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.377e-06/0.0609, allocations: 4 kB / 278.9 MB, free: 10.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001849/0.06275, allocations: 0.9426 MB / 279.8 MB, free: 9.668 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/0.06278, allocations: 16 kB / 279.8 MB, free: 9.652 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.186e-05/0.0628, allocations: 11.98 kB / 279.8 MB, free: 9.641 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.006e-05/0.06284, allocations: 19.94 kB / 279.9 MB, free: 9.621 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008819/0.06372, allocations: 235.6 kB / 280.1 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.058e-05/0.06375, allocations: 27.86 kB / 280.1 MB, free: 9.363 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000536/0.06429, allocations: 107.2 kB / 280.2 MB, free: 9.258 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.52e-05/0.06436, allocations: 44 kB / 280.3 MB, free: 9.215 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.0004183/0.06478, allocations: 237.5 kB / 280.5 MB, free: 8.973 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001692/0.06495, allocations: 71.66 kB / 280.6 MB, free: 8.902 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001421/0.06637, allocations: 0.6776 MB / 281.2 MB, free: 8.215 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.06638, allocations: 8 kB / 281.3 MB, free: 8.207 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.06639, allocations: 11.94 kB / 281.3 MB, free: 8.195 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.0664, allocations: 3.984 kB / 281.3 MB, free: 8.191 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002634/0.06904, allocations: 1.342 MB / 282.6 MB, free: 6.809 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.06904, allocations: 4 kB / 282.6 MB, free: 6.805 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006614/0.0697, allocations: 147.8 kB / 282.8 MB, free: 6.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.742e-05/0.06972, allocations: 4 kB / 282.8 MB, free: 6.656 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.471e-05/0.06977, allocations: 16 kB / 282.8 MB, free: 6.641 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.06977, allocations: 4 kB / 282.8 MB, free: 6.637 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-06/0.06978, allocations: 3.938 kB / 282.8 MB, free: 6.633 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001979/0.07176, allocations: 1.19 MB / 284 MB, free: 5.43 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.117e-05/0.07185, allocations: 51.56 kB / 284 MB, free: 5.379 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.999e-05/0.07192, allocations: 16 kB / 284 MB, free: 5.363 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003725/0.07229, allocations: 23.92 kB / 284.1 MB, free: 5.34 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.07242, allocations: 56.5 kB / 284.1 MB, free: 5.285 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.29e-05/0.07247, allocations: 20 kB / 284.1 MB, free: 5.266 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002632/0.07273, allocations: 203.1 kB / 284.3 MB, free: 5.066 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.07273, allocations: 0 / 284.3 MB, free: 5.066 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009322/0.07366, allocations: 251.2 kB / 284.6 MB, free: 4.82 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.0002934/0.07396, allocations: 139.2 kB / 284.7 MB, free: 4.676 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001394/0.07535, allocations: 0.6518 MB / 285.4 MB, free: 4.027 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.07535, allocations: 448 / 285.4 MB, free: 4.027 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005148/0.07587, allocations: 287.6 kB / 285.7 MB, free: 3.746 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000575/0.07644, allocations: 44.66 kB / 285.7 MB, free: 3.703 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00267/0.07911, allocations: 1.386 MB / 287.1 MB, free: 2.277 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004038/0.07952, allocations: 333.2 kB / 287.4 MB, free: 1.926 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003581/0.07987, allocations: 88.84 kB / 287.5 MB, free: 1.84 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001644/0.08004, allocations: 56.5 kB / 287.5 MB, free: 1.785 MB / 266.7 MB Notification: Performance of SimCode: time 8.12e-07/0.08004, allocations: 0 / 287.5 MB, free: 1.785 MB / 266.7 MB Notification: Performance of Templates: time 0.01263/0.09267, allocations: 4.565 MB / 292.1 MB, free: 13.23 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.550897751003504]