Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008077/0.0008077, allocations: 84 kB / 21.43 MB, free: 3.121 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003031/0.003031, allocations: 147.8 kB / 24.68 MB, free: 9.438 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8306/0.8306, allocations: 173.4 MB / 201.2 MB, free: 9.402 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.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_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") translateModel(Modelica.Electrical.QuasiStatic.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_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 319.7 MB, free: 5.836 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.983e-05/2.132e-05, allocations: 3.688 kB / 319.7 MB, free: 5.832 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.003979/0.004001, allocations: 5.009 MB / 324.7 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001911/0.005911, allocations: 1.694 MB / 326.4 MB, free: 15.09 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000206/0.006117, allocations: 20 kB / 326.4 MB, free: 15.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001556/0.007673, allocations: 1.59 MB / 328 MB, free: 13.47 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008658/0.008539, allocations: 0.7294 MB / 328.7 MB, free: 12.74 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003239/0.008863, allocations: 283.3 kB / 329 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005412/0.009404, allocations: 0.8324 MB / 329.8 MB, free: 11.63 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008047/0.01021, allocations: 0.751 MB / 330.6 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003509/0.01056, allocations: 0.5144 MB / 331.1 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003065/0.01087, allocations: 379 kB / 331.5 MB, free: 9.973 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.915e-05/0.01094, allocations: 79.98 kB / 331.5 MB, free: 9.895 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002667/0.0112, allocations: 227.7 kB / 331.8 MB, free: 9.672 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002031/0.01141, allocations: 191.3 kB / 332 MB, free: 9.484 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001587/0.01156, allocations: 283.3 kB / 332.2 MB, free: 9.207 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007722/0.01234, allocations: 1.184 MB / 333.4 MB, free: 8.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.01234, allocations: 0 / 333.4 MB, free: 8.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01234, allocations: 0 / 333.4 MB, free: 8.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.01235, allocations: 0 / 333.4 MB, free: 8.02 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.001726/0.01407, allocations: 1.289 MB / 334.7 MB, free: 6.695 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.01411, allocations: 8.922 kB / 334.7 MB, free: 6.688 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002122/0.01623, allocations: 0.656 MB / 335.4 MB, free: 6.031 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000651/0.01688, allocations: 356.6 kB / 335.7 MB, free: 5.656 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.569e-05/0.01691, allocations: 74.38 kB / 335.8 MB, free: 5.586 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.942e-05/0.017, allocations: 96.33 kB / 335.9 MB, free: 5.492 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.01801, allocations: 1.012 MB / 336.9 MB, free: 4.457 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/0.01803, allocations: 192 / 336.9 MB, free: 4.457 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.989e-05/0.01809, allocations: 44.38 kB / 336.9 MB, free: 4.414 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/0.01811, allocations: 23.94 kB / 337 MB, free: 4.391 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009588/0.01907, allocations: 0.9097 MB / 337.9 MB, free: 3.484 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002487/0.02155, allocations: 2.783 MB / 340.7 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.02256, allocations: 0.7481 MB / 341.4 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002533/0.02282, allocations: 255.5 kB / 341.7 MB, free: 15.54 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.984e-05/0.02287, allocations: 20.64 kB / 341.7 MB, free: 15.52 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.02289, allocations: 43.22 kB / 341.7 MB, free: 15.47 MB / 314.7 MB Notification: Performance of pre-optimization done (n=65): time 1.844e-06/0.02289, allocations: 0 / 341.7 MB, free: 15.47 MB / 314.7 MB Notification: Performance of matching and sorting (n=65): time 0.0008312/0.02372, allocations: 0.7165 MB / 342.4 MB, free: 14.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002905/0.02401, allocations: 123.3 kB / 342.6 MB, free: 14.6 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.02418, allocations: 265.4 kB / 342.8 MB, free: 14.33 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.0242, allocations: 37.7 kB / 342.9 MB, free: 14.29 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.02434, allocations: 395.9 kB / 343.2 MB, free: 13.89 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.02445, allocations: 234 kB / 343.5 MB, free: 13.66 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.02457, allocations: 130.6 kB / 343.6 MB, free: 13.53 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.661e-05/0.02466, allocations: 346.8 kB / 343.9 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002453/0.0249, allocations: 225.9 kB / 344.2 MB, free: 12.96 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003316/0.02523, allocations: 443.4 kB / 344.6 MB, free: 12.44 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006137/0.02585, allocations: 0.6969 MB / 345.3 MB, free: 11.65 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.02585, allocations: 4 kB / 345.3 MB, free: 11.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0007289/0.02658, allocations: 0.7551 MB / 346 MB, free: 10.88 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.0266, allocations: 8 kB / 346 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.02661, allocations: 8 kB / 346.1 MB, free: 10.87 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.02662, allocations: 8 kB / 346.1 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003374/0.02696, allocations: 191.7 kB / 346.3 MB, free: 10.67 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.02697, allocations: 15.88 kB / 346.3 MB, free: 10.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.02715, allocations: 79.5 kB / 346.3 MB, free: 10.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/0.02718, allocations: 28 kB / 346.4 MB, free: 10.55 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (98): * Single equations (assignments): 98 * 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.000172/0.02735, allocations: 229.6 kB / 346.6 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.526e-05/0.02741, allocations: 39.77 kB / 346.6 MB, free: 10.28 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006827/0.02809, allocations: 0.6501 MB / 347.3 MB, free: 9.617 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.02809, allocations: 8 kB / 347.3 MB, free: 9.609 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.0281, allocations: 0 / 347.3 MB, free: 9.609 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.02811, allocations: 7.922 kB / 347.3 MB, free: 9.602 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/0.02937, allocations: 1.245 MB / 348.5 MB, free: 8.324 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.02937, allocations: 3.938 kB / 348.6 MB, free: 8.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002755/0.02964, allocations: 143.8 kB / 348.7 MB, free: 8.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.02965, allocations: 4 kB / 348.7 MB, free: 8.176 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.02967, allocations: 12 kB / 348.7 MB, free: 8.164 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.02967, allocations: 4 kB / 348.7 MB, free: 8.16 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.02967, allocations: 7.984 kB / 348.7 MB, free: 8.152 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.03087, allocations: 1.116 MB / 349.8 MB, free: 7.02 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.193e-05/0.03092, allocations: 55.66 kB / 349.9 MB, free: 6.965 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.503e-05/0.03095, allocations: 12 kB / 349.9 MB, free: 6.953 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.03112, allocations: 23.98 kB / 349.9 MB, free: 6.93 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.158e-05/0.03118, allocations: 44.58 kB / 350 MB, free: 6.887 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/0.0312, allocations: 19.98 kB / 350 MB, free: 6.867 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.76e-05/0.0313, allocations: 169.2 kB / 350.2 MB, free: 6.707 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0313, allocations: 0 / 350.2 MB, free: 6.707 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004287/0.03173, allocations: 231.3 kB / 350.4 MB, free: 6.48 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 (72): * Single equations (assignments): 72 * 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.0001884/0.03191, allocations: 147 kB / 350.5 MB, free: 6.328 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005939/0.03251, allocations: 0.5731 MB / 351.1 MB, free: 5.754 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.03251, allocations: 3.938 kB / 351.1 MB, free: 5.75 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002537/0.03276, allocations: 267.6 kB / 351.4 MB, free: 5.492 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.03311, allocations: 49.52 kB / 351.4 MB, free: 5.445 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.03431, allocations: 1.213 MB / 352.6 MB, free: 4.188 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001812/0.03449, allocations: 303.8 kB / 352.9 MB, free: 3.863 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.03462, allocations: 60.48 kB / 353 MB, free: 3.805 MB / 314.7 MB Notification: Performance of SimCode: time 8.11e-07/0.03462, allocations: 0 / 353 MB, free: 3.805 MB / 314.7 MB Notification: Performance of Templates: time 0.006424/0.04105, allocations: 7.533 MB / 360.5 MB, free: 12.27 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.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.1505561247467995]