Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.001385/0.001385, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.001652/0.001652, allocations: 167.6 kB / 25.7 MB, free: 8.438 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.022/1.022, allocations: 158.6 MB / 187.6 MB, free: 2.785 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.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 251.6 MB, free: 7.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.427e-05/2.565e-05, allocations: 6.25 kB / 251.6 MB, free: 7.215 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.003005/0.003031, allocations: 2.725 MB / 254.3 MB, free: 4.469 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.004679, allocations: 1.196 MB / 255.5 MB, free: 3.266 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.004798, allocations: 11.94 kB / 255.5 MB, free: 3.254 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008836/0.005681, allocations: 0.6415 MB / 256.1 MB, free: 2.609 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002643/0.005946, allocations: 138.9 kB / 256.3 MB, free: 2.473 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007709/0.006717, allocations: 0.6185 MB / 256.9 MB, free: 1.852 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002907/0.007007, allocations: 298.5 kB / 257.2 MB, free: 1.559 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003154/0.007323, allocations: 249.7 kB / 257.4 MB, free: 1.312 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001854/0.007508, allocations: 195.5 kB / 257.6 MB, free: 1.121 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.007653, allocations: 131.7 kB / 257.8 MB, free: 0.9922 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.804e-05/0.007682, allocations: 24 kB / 257.8 MB, free: 0.9688 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002815/0.007963, allocations: 175.7 kB / 257.9 MB, free: 0.7969 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.565e-05/0.007999, allocations: 67.75 kB / 258 MB, free: 0.7305 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.221e-05/0.008071, allocations: 99.75 kB / 258.1 MB, free: 0.6328 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003766/0.008448, allocations: 378.7 kB / 258.5 MB, free: 268 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.008451, allocations: 0 / 258.5 MB, free: 268 kB / 234.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.008452, allocations: 0 / 258.5 MB, free: 268 kB / 234.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.008456, allocations: 0 / 258.5 MB, free: 268 kB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.00102/0.009476, allocations: 0.6598 MB / 259.1 MB, free: 15.58 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.009508, allocations: 8.031 kB / 259.2 MB, free: 15.57 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005341/0.01004, allocations: 188.7 kB / 259.3 MB, free: 15.39 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.01024, allocations: 161.3 kB / 259.5 MB, free: 15.2 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.01026, allocations: 25.03 kB / 259.5 MB, free: 15.18 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.539e-05/0.0103, allocations: 32.38 kB / 259.5 MB, free: 15.15 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/0.01053, allocations: 237.6 kB / 259.8 MB, free: 14.9 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.01055, allocations: 192 / 259.8 MB, free: 14.9 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.01056, allocations: 19.88 kB / 259.8 MB, free: 14.88 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.01057, allocations: 12 kB / 259.8 MB, free: 14.87 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.01068, allocations: 88.53 kB / 259.9 MB, free: 14.79 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009671/0.01165, allocations: 0.845 MB / 260.7 MB, free: 13.9 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002595/0.01191, allocations: 194.4 kB / 260.9 MB, free: 13.7 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.153e-05/0.01196, allocations: 56.69 kB / 261 MB, free: 13.64 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.233e-05/0.01203, allocations: 8 kB / 261 MB, free: 13.64 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.01206, allocations: 42.56 kB / 261 MB, free: 13.59 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.644e-06/0.01206, allocations: 0 / 261 MB, free: 13.59 MB / 250.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005367/0.0126, allocations: 282.4 kB / 261.3 MB, free: 13.3 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.01262, allocations: 59.34 kB / 261.4 MB, free: 13.23 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.597e-05/0.01271, allocations: 159.2 kB / 261.5 MB, free: 13.06 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.01272, allocations: 29.7 kB / 261.6 MB, free: 13.03 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.949e-05/0.01279, allocations: 180.3 kB / 261.7 MB, free: 12.85 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.431e-05/0.01284, allocations: 99.19 kB / 261.8 MB, free: 12.75 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.101e-05/0.01289, allocations: 49.91 kB / 261.9 MB, free: 12.7 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.203e-05/0.01297, allocations: 330.8 kB / 262.2 MB, free: 12.36 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.242e-05/0.013, allocations: 28.55 kB / 262.2 MB, free: 12.34 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.022e-05/0.01307, allocations: 88.12 kB / 262.3 MB, free: 12.22 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.01319, allocations: 140.1 kB / 262.5 MB, free: 12.06 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01319, allocations: 0 / 262.5 MB, free: 12.06 MB / 250.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005046/0.01369, allocations: 208.4 kB / 262.7 MB, free: 11.85 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.01371, allocations: 8 kB / 262.7 MB, free: 11.84 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.01371, allocations: 0 / 262.7 MB, free: 11.84 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002073/0.01392, allocations: 72.94 kB / 262.7 MB, free: 11.77 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.926e-05/0.01401, allocations: 51.86 kB / 262.8 MB, free: 11.72 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009998/0.01501, allocations: 1.571 MB / 264.4 MB, free: 10.06 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.394e-05/0.01507, allocations: 27.78 kB / 264.4 MB, free: 10.04 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.01509, allocations: 8 kB / 264.4 MB, free: 10.03 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.61e-05/0.01516, allocations: 133.7 kB / 264.5 MB, free: 9.887 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/0.01519, allocations: 11.98 kB / 264.5 MB, free: 9.875 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002251/0.01541, allocations: 191.4 kB / 264.7 MB, free: 9.68 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.01542, allocations: 4 kB / 264.7 MB, free: 9.676 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.01542, allocations: 0 / 264.7 MB, free: 9.676 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.01542, allocations: 4 kB / 264.7 MB, free: 9.672 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003997/0.01582, allocations: 403.5 kB / 265.1 MB, free: 9.246 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.01582, allocations: 0 / 265.1 MB, free: 9.246 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.018e-05/0.01588, allocations: 23.98 kB / 265.1 MB, free: 9.223 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001424/0.01603, allocations: 72.94 kB / 265.2 MB, free: 9.148 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.01604, allocations: 12 kB / 265.2 MB, free: 9.137 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00088/0.01692, allocations: 1.587 MB / 266.8 MB, free: 7.461 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.01692, allocations: 4 kB / 266.8 MB, free: 7.457 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.01717, allocations: 293.8 kB / 267.1 MB, free: 7.152 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.161e-05/0.0172, allocations: 19.89 kB / 267.1 MB, free: 7.133 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.01721, allocations: 8 kB / 267.1 MB, free: 7.125 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.093e-05/0.01726, allocations: 4 kB / 267.1 MB, free: 7.121 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.672e-05/0.01729, allocations: 19.91 kB / 267.2 MB, free: 7.102 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.0173, allocations: 7.938 kB / 267.2 MB, free: 7.094 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.995e-05/0.01733, allocations: 40.88 kB / 267.2 MB, free: 7.051 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01733, allocations: 0 / 267.2 MB, free: 7.051 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000295/0.01762, allocations: 99.72 kB / 267.3 MB, free: 6.953 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSource.port_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 (15): * Single equations (assignments): 14 * Array equations: 0 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002009/0.01782, allocations: 108.4 kB / 267.4 MB, free: 6.84 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003223/0.01815, allocations: 272.3 kB / 267.7 MB, free: 6.559 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.01815, allocations: 4 kB / 267.7 MB, free: 6.555 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.0183, allocations: 219.1 kB / 267.9 MB, free: 6.324 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001628/0.01846, allocations: 23.92 kB / 267.9 MB, free: 6.301 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007969/0.01925, allocations: 0.5053 MB / 268.4 MB, free: 5.766 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.118e-05/0.01931, allocations: 88.31 kB / 268.5 MB, free: 5.66 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.132e-05/0.01937, allocations: 21.62 kB / 268.5 MB, free: 5.641 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.88e-05/0.01943, allocations: 67.36 kB / 268.6 MB, free: 5.574 MB / 250.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01943, allocations: 4 kB / 268.6 MB, free: 5.57 MB / 250.7 MB Notification: Performance of Templates: time 0.005083/0.02451, allocations: 2.773 MB / 271.4 MB, free: 2.812 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8228065511211753]