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.001088/0.001088, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.001075/0.001075, allocations: 162.8 kB / 25.45 MB, free: 8.855 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.8743/0.8743, allocations: 158.6 MB / 187.2 MB, free: 3.047 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.623e-06/1.623e-06, allocations: 3.938 kB / 299.7 MB, free: 6.934 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.312e-05/2.475e-05, allocations: 2.281 kB / 299.7 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.004187/0.004211, allocations: 5.201 MB / 304.9 MB, free: 1.695 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002811/0.007022, allocations: 1.823 MB / 306.7 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003972/0.00742, allocations: 19.94 kB / 306.7 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001682/0.009101, allocations: 1.59 MB / 308.3 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001114/0.01021, allocations: 0.6681 MB / 309 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005537/0.01077, allocations: 402.8 kB / 309.4 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007322/0.0115, allocations: 0.9216 MB / 310.3 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000874/0.01237, allocations: 0.7822 MB / 311.1 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004813/0.01286, allocations: 0.565 MB / 311.7 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003675/0.01322, allocations: 418.8 kB / 312.1 MB, free: 10.47 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.946e-05/0.01331, allocations: 84 kB / 312.1 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003867/0.0137, allocations: 235.7 kB / 312.4 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.475e-05/0.01379, allocations: 207.2 kB / 312.6 MB, free: 9.957 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002007/0.014, allocations: 311.2 kB / 312.9 MB, free: 9.652 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001213/0.01521, allocations: 1.246 MB / 314.1 MB, free: 8.402 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.01521, allocations: 3.938 kB / 314.1 MB, free: 8.398 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.01521, allocations: 0 / 314.1 MB, free: 8.398 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.987e-05/0.01523, allocations: 3.938 kB / 314.1 MB, free: 8.395 MB / 298.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.002026/0.01726, allocations: 1.371 MB / 315.5 MB, free: 6.988 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.0173, allocations: 11.98 kB / 315.5 MB, free: 6.977 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003133/0.02043, allocations: 0.9603 MB / 316.5 MB, free: 6.016 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005981/0.02103, allocations: 396.5 kB / 316.9 MB, free: 5.602 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.504e-05/0.02107, allocations: 82.55 kB / 317 MB, free: 5.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.02118, allocations: 112.3 kB / 317.1 MB, free: 5.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.0224, allocations: 1.146 MB / 318.2 MB, free: 4.219 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/0.02242, allocations: 4.188 kB / 318.2 MB, free: 4.215 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.298e-05/0.02249, allocations: 44.38 kB / 318.3 MB, free: 4.172 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.0225, allocations: 31.94 kB / 318.3 MB, free: 4.141 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/0.02373, allocations: 1.12 MB / 319.4 MB, free: 3.02 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003397/0.02713, allocations: 3.117 MB / 322.5 MB, free: 15.77 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/0.02833, allocations: 0.8979 MB / 323.4 MB, free: 14.88 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002738/0.02861, allocations: 272.9 kB / 323.7 MB, free: 14.6 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.527e-05/0.02866, allocations: 16.64 kB / 323.7 MB, free: 14.58 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.02869, allocations: 47.16 kB / 323.7 MB, free: 14.53 MB / 314.7 MB Notification: Performance of pre-optimization done (n=71): time 2.254e-06/0.02869, allocations: 0 / 323.7 MB, free: 14.53 MB / 314.7 MB Notification: Performance of matching and sorting (n=71): time 0.0008692/0.02956, allocations: 0.7595 MB / 324.5 MB, free: 13.77 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.02962, allocations: 119.4 kB / 324.6 MB, free: 13.62 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/0.02983, allocations: 324.2 kB / 324.9 MB, free: 13.29 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.02986, allocations: 33.7 kB / 325 MB, free: 13.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/0.03003, allocations: 463.6 kB / 325.4 MB, free: 12.79 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.03015, allocations: 253.9 kB / 325.7 MB, free: 12.54 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/0.03029, allocations: 170.5 kB / 325.8 MB, free: 12.37 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.888e-05/0.03039, allocations: 358.7 kB / 326.2 MB, free: 12.01 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002607/0.03065, allocations: 241.9 kB / 326.4 MB, free: 11.78 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003889/0.03104, allocations: 0.5711 MB / 327 MB, free: 11.07 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009586/0.032, allocations: 0.8719 MB / 327.9 MB, free: 10.05 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.032, allocations: 8 kB / 327.9 MB, free: 10.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.00085/0.03285, allocations: 0.8996 MB / 328.8 MB, free: 9.137 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.03287, allocations: 8 kB / 328.8 MB, free: 9.129 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.03288, allocations: 12 kB / 328.8 MB, free: 9.117 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.03291, allocations: 16 kB / 328.8 MB, free: 9.102 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004031/0.03331, allocations: 235.6 kB / 329 MB, free: 8.871 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.761e-05/0.03333, allocations: 27.86 kB / 329.1 MB, free: 8.844 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002888/0.03361, allocations: 99.23 kB / 329.2 MB, free: 8.746 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.084e-05/0.03366, allocations: 52.11 kB / 329.2 MB, free: 8.695 MB / 314.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.0002309/0.03389, allocations: 237.5 kB / 329.5 MB, free: 8.453 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.302e-05/0.03395, allocations: 47.66 kB / 329.5 MB, free: 8.406 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007277/0.03468, allocations: 0.6815 MB / 330.2 MB, free: 7.715 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.03468, allocations: 8 kB / 330.2 MB, free: 7.707 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.03469, allocations: 11.88 kB / 330.2 MB, free: 7.695 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.0347, allocations: 3.984 kB / 330.2 MB, free: 7.691 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/0.03611, allocations: 1.339 MB / 331.5 MB, free: 6.316 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.03612, allocations: 0 / 331.5 MB, free: 6.316 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002939/0.03641, allocations: 151.8 kB / 331.7 MB, free: 6.168 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.03642, allocations: 4 kB / 331.7 MB, free: 6.164 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.03644, allocations: 16 kB / 331.7 MB, free: 6.148 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.03644, allocations: 3.984 kB / 331.7 MB, free: 6.145 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.03645, allocations: 7.938 kB / 331.7 MB, free: 6.137 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.03746, allocations: 1.163 MB / 332.9 MB, free: 4.957 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.426e-05/0.03752, allocations: 51.52 kB / 332.9 MB, free: 4.906 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/0.03756, allocations: 16 kB / 332.9 MB, free: 4.891 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.03774, allocations: 23.98 kB / 333 MB, free: 4.867 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.08e-05/0.03781, allocations: 52.5 kB / 333 MB, free: 4.816 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/0.03783, allocations: 20 kB / 333 MB, free: 4.797 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001282/0.03796, allocations: 199.1 kB / 333.2 MB, free: 4.598 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03796, allocations: 0 / 333.2 MB, free: 4.598 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006202/0.03858, allocations: 251.3 kB / 333.5 MB, free: 4.352 MB / 314.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.0002308/0.03881, allocations: 147.1 kB / 333.6 MB, free: 4.195 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007462/0.03955, allocations: 0.6482 MB / 334.3 MB, free: 3.555 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.03956, allocations: 8.062 kB / 334.3 MB, free: 3.547 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005333/0.04009, allocations: 283.6 kB / 334.6 MB, free: 3.27 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/0.04045, allocations: 48.59 kB / 334.6 MB, free: 3.223 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/0.04211, allocations: 1.398 MB / 336 MB, free: 1.777 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.04232, allocations: 333.2 kB / 336.3 MB, free: 1.426 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.04246, allocations: 64.48 kB / 336.4 MB, free: 1.363 MB / 314.7 MB Notification: Performance of SimCode: time 1.242e-06/0.04246, allocations: 0 / 336.4 MB, free: 1.363 MB / 314.7 MB Notification: Performance of Templates: time 0.008239/0.0507, allocations: 8.372 MB / 344.8 MB, free: 8.973 MB / 330.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.4047106094658375]