Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.0007656/0.0007656, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001301/0.002067, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0007648/0.0007648, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009159/0.001681, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.893/0.893, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1572/1.05, allocations: 52.49 MB / 238.5 MB, free: 7.641 MB / 234.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.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 239.8 MB, free: 6.367 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.948e-05/2.105e-05, allocations: 2.312 kB / 239.8 MB, free: 6.363 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.006131/0.006152, allocations: 7.53 MB / 247.3 MB, free: 14.81 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004898/0.01105, allocations: 2.741 MB / 250 MB, free: 12.07 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001109/0.01216, allocations: 87.38 kB / 250.1 MB, free: 11.99 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001047/0.01321, allocations: 0.5829 MB / 250.7 MB, free: 11.4 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00163/0.01484, allocations: 0.7975 MB / 251.5 MB, free: 10.61 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006767/0.01551, allocations: 422 kB / 251.9 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002654/0.01817, allocations: 3.435 MB / 255.3 MB, free: 6.746 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001903/0.02007, allocations: 2 MB / 257.3 MB, free: 4.664 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004308/0.02438, allocations: 3.049 MB / 260.4 MB, free: 1.641 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002784/0.02716, allocations: 1.883 MB / 262.3 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001072/0.02823, allocations: 455.9 kB / 262.7 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001717/0.02995, allocations: 0.6402 MB / 263.4 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009084/0.03086, allocations: 1.037 MB / 264.4 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001357/0.03222, allocations: 1.107 MB / 265.5 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002653/0.03487, allocations: 3.081 MB / 268.6 MB, free: 9.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.056e-05/0.03488, allocations: 0 / 268.6 MB, free: 9.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.03488, allocations: 0 / 268.6 MB, free: 9.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.399e-05/0.03498, allocations: 0 / 268.6 MB, free: 9.43 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.004559/0.03953, allocations: 4.201 MB / 272.8 MB, free: 5.184 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.03957, allocations: 8.031 kB / 272.8 MB, free: 5.176 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008069/0.04037, allocations: 0.5952 MB / 273.4 MB, free: 4.562 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001939/0.04231, allocations: 1.356 MB / 274.7 MB, free: 3.152 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/0.04242, allocations: 222.2 kB / 275 MB, free: 2.934 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002725/0.0427, allocations: 292.3 kB / 275.2 MB, free: 2.648 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002501/0.0452, allocations: 2.353 MB / 277.6 MB, free: 184 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.12e-05/0.04524, allocations: 3.938 kB / 277.6 MB, free: 180 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000164/0.0454, allocations: 116 kB / 277.7 MB, free: 64 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001198/0.04552, allocations: 133.9 kB / 277.8 MB, free: 15.93 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001452/0.04697, allocations: 0.8139 MB / 278.7 MB, free: 15.1 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007815/0.05479, allocations: 6.483 MB / 285.1 MB, free: 8.434 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/0.05595, allocations: 0.786 MB / 285.9 MB, free: 7.641 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008718/0.05682, allocations: 0.75 MB / 286.7 MB, free: 6.883 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001366/0.05695, allocations: 40.98 kB / 286.7 MB, free: 6.844 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.05699, allocations: 51.55 kB / 286.8 MB, free: 6.785 MB / 282.7 MB Notification: Performance of pre-optimization done (n=128): time 4.439e-06/0.05699, allocations: 4 kB / 286.8 MB, free: 6.781 MB / 282.7 MB Notification: Performance of matching and sorting (n=132): time 0.003231/0.06022, allocations: 1.93 MB / 288.7 MB, free: 4.828 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.06026, allocations: 68.72 kB / 288.8 MB, free: 4.75 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008679/0.06113, allocations: 1.093 MB / 289.9 MB, free: 3.645 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.666e-05/0.06119, allocations: 57.62 kB / 289.9 MB, free: 3.582 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000462/0.06165, allocations: 1.144 MB / 291.1 MB, free: 2.426 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002368/0.06189, allocations: 479.8 kB / 291.5 MB, free: 1.953 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002516/0.06214, allocations: 251.4 kB / 291.8 MB, free: 1.703 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.4e-05/0.06221, allocations: 301.1 kB / 292.1 MB, free: 1.406 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/0.06245, allocations: 182.8 kB / 292.2 MB, free: 1.227 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006207/0.06307, allocations: 0.5361 MB / 292.8 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007243/0.0638, allocations: 0.8539 MB / 293.6 MB, free: 15.54 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.345e-06/0.0638, allocations: 4 kB / 293.6 MB, free: 15.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.001248/0.06505, allocations: 0.9644 MB / 294.6 MB, free: 14.56 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.06507, allocations: 8 kB / 294.6 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/0.06509, allocations: 12.19 kB / 294.6 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008971/0.06598, allocations: 377.7 kB / 295 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007478/0.06673, allocations: 351.5 kB / 295.3 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002296/0.06903, allocations: 2.555 MB / 297.9 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006112/0.06964, allocations: 59.92 kB / 298 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-05/0.06972, allocations: 51.98 kB / 298 MB, free: 11.06 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (157): * Single equations (assignments): 152 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005148/0.07024, allocations: 200.3 kB / 298.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002507/0.07049, allocations: 151.8 kB / 298.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009968/0.07149, allocations: 0.8031 MB / 299.1 MB, free: 9.883 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-05/0.07151, allocations: 16 kB / 299.2 MB, free: 9.867 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.07152, allocations: 7.938 kB / 299.2 MB, free: 9.859 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.07152, allocations: 7.969 kB / 299.2 MB, free: 9.852 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003242/0.07477, allocations: 2.596 MB / 301.8 MB, free: 7.199 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.07477, allocations: 0 / 301.8 MB, free: 7.199 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005697/0.07534, allocations: 239.8 kB / 302 MB, free: 6.965 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003648/0.07571, allocations: 218.8 kB / 302.2 MB, free: 6.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008301/0.07654, allocations: 367.5 kB / 302.6 MB, free: 6.387 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.567e-05/0.07659, allocations: 35.92 kB / 302.6 MB, free: 6.352 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002042/0.07863, allocations: 2.574 MB / 305.2 MB, free: 3.676 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.07864, allocations: 0 / 305.2 MB, free: 3.676 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/0.08, allocations: 1.154 MB / 306.3 MB, free: 2.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001983/0.0802, allocations: 27.98 kB / 306.4 MB, free: 2.453 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004508/0.08065, allocations: 71.92 kB / 306.4 MB, free: 2.383 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004188/0.08107, allocations: 92.75 kB / 306.5 MB, free: 2.289 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.842e-05/0.08113, allocations: 31.98 kB / 306.6 MB, free: 2.258 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005258/0.08166, allocations: 0.5494 MB / 307.1 MB, free: 1.707 MB / 298.7 MB Notification: Performance of sort global known variables: time 3e-08/0.08166, allocations: 0 / 307.1 MB, free: 1.707 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00117/0.08283, allocations: 0.5428 MB / 307.7 MB, free: 1.164 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * 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 (102): * Single equations (assignments): 97 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004411/0.08327, allocations: 218.8 kB / 307.9 MB, free: 0.957 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001159/0.08443, allocations: 0.9693 MB / 308.8 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.295e-05/0.08447, allocations: 39.7 kB / 308.9 MB, free: 15.94 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007266/0.0852, allocations: 0.6935 MB / 309.6 MB, free: 15.23 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002257/0.08745, allocations: 4.051 MB / 313.6 MB, free: 10.38 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01464/0.1021, allocations: 5.015 MB / 318.6 MB, free: 5.297 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007085/0.1028, allocations: 0.7429 MB / 319.4 MB, free: 4.531 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006862/0.1035, allocations: 222.1 kB / 319.6 MB, free: 4.309 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007417/0.1042, allocations: 439.1 kB / 320 MB, free: 3.871 MB / 314.7 MB Notification: Performance of SimCode: time 1.904e-06/0.1042, allocations: 0 / 320 MB, free: 3.871 MB / 314.7 MB Notification: Performance of Templates: time 0.1323/0.2365, allocations: 29.09 MB / 349.1 MB, free: 78.26 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1384663050994277]