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.001307/0.001307, allocations: 81.66 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001347/0.001347, allocations: 150.9 kB / 23.94 MB, free: 4.176 MB / 14.72 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 1.437/1.437, allocations: 173.3 MB / 200.4 MB, free: 12.89 MB / 190.1 MB " [Timeout remaining time 178] 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 2.254e-06/2.254e-06, allocations: 0 / 318.9 MB, free: 3.582 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.983e-05/3.208e-05, allocations: 2.281 kB / 318.9 MB, free: 3.578 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.0059/0.005932, allocations: 4.996 MB / 323.9 MB, free: 228 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003857/0.009789, allocations: 1.702 MB / 325.6 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000944/0.01073, allocations: 23.19 kB / 325.6 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004511/0.01524, allocations: 1.59 MB / 327.2 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002493/0.01774, allocations: 0.724 MB / 327.9 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009868/0.01872, allocations: 282.4 kB / 328.2 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00156/0.02028, allocations: 0.8419 MB / 329.1 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001587/0.02187, allocations: 0.7485 MB / 329.8 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001112/0.02298, allocations: 0.5155 MB / 330.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008067/0.02379, allocations: 370.8 kB / 330.7 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002142/0.024, allocations: 82.19 kB / 330.8 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000776/0.02478, allocations: 231.9 kB / 331 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002362/0.02502, allocations: 188.8 kB / 331.2 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005615/0.02558, allocations: 292.2 kB / 331.5 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001952/0.02753, allocations: 1.183 MB / 332.7 MB, free: 11.31 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.02753, allocations: 0 / 332.7 MB, free: 11.31 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.02753, allocations: 0 / 332.7 MB, free: 11.31 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.582e-05/0.02757, allocations: 1.031 kB / 332.7 MB, free: 11.31 MB / 302.1 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.004089/0.03166, allocations: 1.285 MB / 333.9 MB, free: 10.39 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.03169, allocations: 9.859 kB / 333.9 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004999/0.03669, allocations: 0.6546 MB / 334.6 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007839/0.03748, allocations: 362.5 kB / 335 MB, free: 9.793 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.895e-05/0.03755, allocations: 68.91 kB / 335 MB, free: 9.766 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001665/0.03771, allocations: 98.77 kB / 335.1 MB, free: 9.73 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001934/0.03965, allocations: 1.011 MB / 336.1 MB, free: 9.109 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.168e-05/0.03968, allocations: 1.562 kB / 336.1 MB, free: 9.109 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.901e-05/0.03978, allocations: 36.62 kB / 336.2 MB, free: 9.082 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-05/0.0398, allocations: 35.23 kB / 336.2 MB, free: 9.07 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001738/0.04154, allocations: 0.9203 MB / 337.1 MB, free: 8.629 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004714/0.04625, allocations: 2.771 MB / 339.9 MB, free: 6.422 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001974/0.04823, allocations: 0.7482 MB / 340.6 MB, free: 5.723 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004627/0.04869, allocations: 255.6 kB / 340.9 MB, free: 5.469 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.068e-05/0.04877, allocations: 16.64 kB / 340.9 MB, free: 5.453 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.04881, allocations: 43.22 kB / 341 MB, free: 5.402 MB / 302.1 MB Notification: Performance of pre-optimization done (n=65): time 2.505e-06/0.04881, allocations: 0 / 341 MB, free: 5.402 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.001517/0.05033, allocations: 0.7242 MB / 341.7 MB, free: 4.672 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.364e-05/0.0504, allocations: 107.5 kB / 341.8 MB, free: 4.543 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003004/0.0507, allocations: 273.4 kB / 342 MB, free: 4.266 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.765e-05/0.05075, allocations: 33.7 kB / 342.1 MB, free: 4.227 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002701/0.05102, allocations: 399.9 kB / 342.5 MB, free: 3.828 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001935/0.05121, allocations: 226 kB / 342.7 MB, free: 3.605 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002257/0.05144, allocations: 138.6 kB / 342.8 MB, free: 3.461 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.05161, allocations: 346.8 kB / 343.2 MB, free: 3.113 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004448/0.05206, allocations: 217.9 kB / 343.4 MB, free: 2.898 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006319/0.05269, allocations: 447.4 kB / 343.8 MB, free: 2.371 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.05383, allocations: 0.693 MB / 344.5 MB, free: 1.586 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.05384, allocations: 4 kB / 344.5 MB, free: 1.582 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001417/0.05526, allocations: 0.7511 MB / 345.3 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.05528, allocations: 12.03 kB / 345.3 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.05529, allocations: 8 kB / 345.3 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.76e-05/0.05532, allocations: 12 kB / 345.3 MB, free: 0.793 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007545/0.05607, allocations: 191.6 kB / 345.5 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.219e-05/0.05611, allocations: 19.88 kB / 345.5 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004451/0.05655, allocations: 79.44 kB / 345.6 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.09e-05/0.05661, allocations: 36 kB / 345.6 MB, free: 484 kB / 302.1 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.0003434/0.05696, allocations: 221.6 kB / 345.8 MB, free: 252 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.05707, allocations: 35.77 kB / 345.9 MB, free: 216 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001382/0.05845, allocations: 0.6501 MB / 346.5 MB, free: 15.55 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/0.05846, allocations: 8 kB / 346.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.05847, allocations: 0 / 346.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.646e-05/0.05849, allocations: 11.92 kB / 346.5 MB, free: 15.53 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002395/0.06088, allocations: 1.253 MB / 347.8 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.06088, allocations: 0 / 347.8 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000634/0.06152, allocations: 147.8 kB / 347.9 MB, free: 14.1 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.654e-06/0.06153, allocations: 4 kB / 347.9 MB, free: 14.1 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.569e-05/0.06157, allocations: 16 kB / 348 MB, free: 14.08 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.06158, allocations: 4 kB / 348 MB, free: 14.08 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.06158, allocations: 0 / 348 MB, free: 14.08 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001748/0.06333, allocations: 1.12 MB / 349.1 MB, free: 12.94 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.781e-05/0.06342, allocations: 51.67 kB / 349.1 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.653e-05/0.06348, allocations: 16 kB / 349.1 MB, free: 12.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003687/0.06385, allocations: 19.98 kB / 349.2 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.06395, allocations: 44.56 kB / 349.2 MB, free: 12.81 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-05/0.06399, allocations: 20 kB / 349.2 MB, free: 12.79 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000186/0.06418, allocations: 169.2 kB / 349.4 MB, free: 12.63 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.06418, allocations: 4 kB / 349.4 MB, free: 12.63 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008748/0.06505, allocations: 227.3 kB / 349.6 MB, free: 12.41 MB / 318.1 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.0003142/0.06537, allocations: 153.8 kB / 349.8 MB, free: 12.25 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001252/0.06662, allocations: 0.5731 MB / 350.3 MB, free: 11.68 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.06662, allocations: 0 / 350.3 MB, free: 11.68 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004719/0.06709, allocations: 271.6 kB / 350.6 MB, free: 11.41 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005397/0.06763, allocations: 40.69 kB / 350.6 MB, free: 11.38 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002292/0.06993, allocations: 1.184 MB / 351.8 MB, free: 10.15 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.07026, allocations: 303.8 kB / 352.1 MB, free: 9.828 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002985/0.07056, allocations: 76.34 kB / 352.2 MB, free: 9.75 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001578/0.07072, allocations: 52.47 kB / 352.2 MB, free: 9.699 MB / 318.1 MB Notification: Performance of SimCode: time 4.4e-07/0.07072, allocations: 0 / 352.2 MB, free: 9.699 MB / 318.1 MB Notification: Performance of Templates: time 0.01127/0.08199, allocations: 4.185 MB / 356.4 MB, free: 5.543 MB / 318.1 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.449255347251892]