Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009472/0.0009472, allocations: 84.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001556/0.001556, allocations: 162.1 kB / 24.92 MB, free: 8.75 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9602/0.9602, allocations: 177 MB / 205.2 MB, free: 5.422 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 273.4 MB, free: 1.199 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.621e-05/1.767e-05, allocations: 6.312 kB / 273.4 MB, free: 1.191 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.003509/0.003527, allocations: 4.082 MB / 277.5 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002213/0.005739, allocations: 1.724 MB / 279.2 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001844/0.005924, allocations: 12 kB / 279.2 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001212/0.007135, allocations: 1.069 MB / 280.3 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004204/0.007556, allocations: 262 kB / 280.5 MB, free: 10.01 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000884/0.00844, allocations: 0.7354 MB / 281.3 MB, free: 9.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000419/0.008859, allocations: 0.6413 MB / 281.9 MB, free: 8.625 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004682/0.009327, allocations: 457.4 kB / 282.3 MB, free: 8.176 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00036/0.009687, allocations: 391.1 kB / 282.7 MB, free: 7.793 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002504/0.009937, allocations: 267.2 kB / 283 MB, free: 7.531 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.457e-05/0.009992, allocations: 52 kB / 283 MB, free: 7.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003779/0.01037, allocations: 279.5 kB / 283.3 MB, free: 7.207 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.342e-05/0.01044, allocations: 139.4 kB / 283.5 MB, free: 7.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.01058, allocations: 207.5 kB / 283.7 MB, free: 6.867 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005976/0.01118, allocations: 0.689 MB / 284.3 MB, free: 6.176 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.01118, allocations: 0 / 284.3 MB, free: 6.176 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.01118, allocations: 0 / 284.3 MB, free: 6.176 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.01119, allocations: 0 / 284.3 MB, free: 6.176 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.001747/0.01293, allocations: 1.186 MB / 285.5 MB, free: 4.961 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.794e-05/0.01296, allocations: 11.98 kB / 285.5 MB, free: 4.949 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000713/0.01367, allocations: 308.3 kB / 285.8 MB, free: 4.648 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.01379, allocations: 181.6 kB / 286 MB, free: 4.441 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.276e-05/0.01382, allocations: 50.38 kB / 286.1 MB, free: 4.395 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.776e-05/0.01389, allocations: 72.33 kB / 286.1 MB, free: 4.324 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004594/0.01435, allocations: 0.5344 MB / 286.7 MB, free: 3.762 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.01436, allocations: 192 / 286.7 MB, free: 3.762 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.506e-05/0.0144, allocations: 24.38 kB / 286.7 MB, free: 3.738 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.01441, allocations: 19.94 kB / 286.7 MB, free: 3.719 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002448/0.01465, allocations: 201 kB / 286.9 MB, free: 3.523 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00151/0.01616, allocations: 1.363 MB / 288.3 MB, free: 2.109 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004754/0.01664, allocations: 489.8 kB / 288.8 MB, free: 1.613 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.01675, allocations: 111.7 kB / 288.9 MB, free: 1.496 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.822e-05/0.01684, allocations: 36.58 kB / 288.9 MB, free: 1.461 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.01686, allocations: 43.22 kB / 288.9 MB, free: 1.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=66): time 2.174e-06/0.01686, allocations: 0 / 288.9 MB, free: 1.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=66): time 0.0003841/0.01724, allocations: 321.8 kB / 289.3 MB, free: 1.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.01729, allocations: 107.5 kB / 289.4 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.01742, allocations: 235.4 kB / 289.6 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.01744, allocations: 33.7 kB / 289.6 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.09e-05/0.01753, allocations: 260.6 kB / 289.9 MB, free: 428 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.01763, allocations: 237.9 kB / 290.1 MB, free: 188 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.01774, allocations: 118.5 kB / 290.2 MB, free: 64 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.09364/0.1114, allocations: 342.8 kB / 290.6 MB, free: 20.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.1116, allocations: 74.47 kB / 290.6 MB, free: 20.53 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.1117, allocations: 184.9 kB / 290.8 MB, free: 20.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002758/0.112, allocations: 275.2 kB / 291.1 MB, free: 20.37 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.112, allocations: 0 / 291.1 MB, free: 20.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0003775/0.1124, allocations: 318.1 kB / 291.4 MB, free: 20.32 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1124, allocations: 8.969 kB / 291.4 MB, free: 20.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.1124, allocations: 1.953 kB / 291.4 MB, free: 20.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.1124, allocations: 5.906 kB / 291.4 MB, free: 20.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003736/0.1128, allocations: 152.8 kB / 291.6 MB, free: 20.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.1128, allocations: 8.094 kB / 291.6 MB, free: 20.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/0.113, allocations: 63.36 kB / 291.6 MB, free: 20.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.113, allocations: 20.19 kB / 291.6 MB, free: 20.32 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (84): * Single equations (assignments): 84 * 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.0001297/0.1131, allocations: 141.5 kB / 291.8 MB, free: 20.21 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.988e-05/0.1132, allocations: 45.06 kB / 291.8 MB, free: 20.21 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003976/0.1136, allocations: 323 kB / 292.1 MB, free: 20.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.1136, allocations: 7.531 kB / 292.2 MB, free: 20.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.1136, allocations: 5.875 kB / 292.2 MB, free: 20.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.1136, allocations: 4.328 kB / 292.2 MB, free: 20.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008081/0.1144, allocations: 0.6307 MB / 292.8 MB, free: 19.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1144, allocations: 3.406 kB / 292.8 MB, free: 19.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002681/0.1147, allocations: 124.4 kB / 292.9 MB, free: 19.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1147, allocations: 3.375 kB / 292.9 MB, free: 19.97 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.1147, allocations: 13.33 kB / 292.9 MB, free: 19.97 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.1147, allocations: 2.219 kB / 292.9 MB, free: 19.97 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1147, allocations: 1.812 kB / 292.9 MB, free: 19.97 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004435/0.1152, allocations: 0.5217 MB / 293.5 MB, free: 19.74 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.724e-05/0.1152, allocations: 45 kB / 293.5 MB, free: 19.74 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.692e-05/0.1152, allocations: 20.84 kB / 293.5 MB, free: 19.74 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.1154, allocations: 21.36 kB / 293.5 MB, free: 19.74 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.99e-05/0.1155, allocations: 41.64 kB / 293.6 MB, free: 19.74 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.1155, allocations: 13.34 kB / 293.6 MB, free: 19.74 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.069e-05/0.1155, allocations: 75.22 kB / 293.7 MB, free: 19.72 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1155, allocations: 0 / 293.7 MB, free: 19.72 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003687/0.1159, allocations: 184.4 kB / 293.9 MB, free: 19.71 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.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 (66): * Single equations (assignments): 66 * 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.0001689/0.1161, allocations: 140.2 kB / 294 MB, free: 19.64 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003258/0.1164, allocations: 282 kB / 294.3 MB, free: 19.62 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.415e-06/0.1164, allocations: 5.375 kB / 294.3 MB, free: 19.62 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.1166, allocations: 152.9 kB / 294.4 MB, free: 19.61 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.1168, allocations: 60.06 kB / 294.5 MB, free: 19.6 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.1181, allocations: 0.9276 MB / 295.4 MB, free: 19.18 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.158e-05/0.1181, allocations: 122.3 kB / 295.5 MB, free: 19.11 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002038/0.1183, allocations: 82.14 kB / 295.6 MB, free: 19.09 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001715/0.1185, allocations: 127.8 kB / 295.7 MB, free: 19.04 MB / 266.7 MB Notification: Performance of SimCode: time 8.22e-07/0.1185, allocations: 0 / 295.7 MB, free: 19.04 MB / 266.7 MB Notification: Performance of Templates: time 0.007801/0.1263, allocations: 5.503 MB / 301.2 MB, free: 18.25 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.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.6340149980969727]