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.001412/0.001412, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001661/0.001661, allocations: 171.9 kB / 24.82 MB, free: 9.273 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.9596/0.9596, allocations: 177 MB / 205.1 MB, free: 5.473 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.673e-06/1.673e-06, allocations: 0 / 273.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.816e-05/1.984e-05, allocations: 2.312 kB / 273.3 MB, free: 1.227 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.003856/0.003876, allocations: 4.078 MB / 277.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002039/0.005916, allocations: 1.666 MB / 279.1 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001915/0.006107, allocations: 12 kB / 279.1 MB, free: 11.44 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001463/0.007571, allocations: 1.046 MB / 280.1 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004409/0.008012, allocations: 250.1 kB / 280.4 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009037/0.008915, allocations: 0.7277 MB / 281.1 MB, free: 9.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004494/0.009365, allocations: 0.6258 MB / 281.7 MB, free: 8.781 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004718/0.009836, allocations: 435.3 kB / 282.2 MB, free: 8.352 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003881/0.01022, allocations: 391.1 kB / 282.5 MB, free: 7.969 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002372/0.01046, allocations: 255.3 kB / 282.8 MB, free: 7.719 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.535e-05/0.01052, allocations: 52 kB / 282.8 MB, free: 7.668 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004049/0.01092, allocations: 279.5 kB / 283.1 MB, free: 7.395 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.676e-05/0.01099, allocations: 139.4 kB / 283.2 MB, free: 7.258 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.01112, allocations: 215.4 kB / 283.5 MB, free: 7.047 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005649/0.01168, allocations: 0.6928 MB / 284.1 MB, free: 6.352 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.01168, allocations: 0 / 284.1 MB, free: 6.352 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.01168, allocations: 0 / 284.1 MB, free: 6.352 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.01169, allocations: 0 / 284.1 MB, free: 6.352 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.001859/0.01355, allocations: 1.26 MB / 285.4 MB, free: 5.051 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.01358, allocations: 15.98 kB / 285.4 MB, free: 5.035 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007167/0.0143, allocations: 296 kB / 285.7 MB, free: 4.746 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.01441, allocations: 188.5 kB / 285.9 MB, free: 4.531 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.249e-05/0.01445, allocations: 54.38 kB / 285.9 MB, free: 4.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.835e-05/0.01452, allocations: 64.38 kB / 286 MB, free: 4.418 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007637/0.01528, allocations: 0.5466 MB / 286.6 MB, free: 3.844 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.01529, allocations: 192 / 286.6 MB, free: 3.844 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.609e-05/0.01533, allocations: 24.38 kB / 286.6 MB, free: 3.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.01534, allocations: 19.94 kB / 286.6 MB, free: 3.801 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002926/0.01564, allocations: 252.8 kB / 286.8 MB, free: 3.555 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001767/0.0174, allocations: 1.758 MB / 288.6 MB, free: 1.734 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006214/0.01802, allocations: 0.5317 MB / 289.1 MB, free: 1.184 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.01815, allocations: 133.3 kB / 289.3 MB, free: 1.047 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.907e-05/0.01824, allocations: 44.61 kB / 289.3 MB, free: 1.004 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.01827, allocations: 50.06 kB / 289.4 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of pre-optimization done (n=66): time 1.744e-06/0.01827, allocations: 0 / 289.4 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of matching and sorting (n=66): time 0.0005412/0.01881, allocations: 417.5 kB / 289.8 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.01885, allocations: 111.5 kB / 289.9 MB, free: 408 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.01901, allocations: 286.4 kB / 290.2 MB, free: 100 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.01903, allocations: 37.7 kB / 290.2 MB, free: 56 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1005/0.1196, allocations: 311.7 kB / 290.5 MB, free: 20.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001962/0.1198, allocations: 241 kB / 290.7 MB, free: 20.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/0.1199, allocations: 133.2 kB / 290.9 MB, free: 20.58 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.189e-05/0.12, allocations: 0.5202 MB / 291.4 MB, free: 20.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.1201, allocations: 81.62 kB / 291.5 MB, free: 20.08 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.1203, allocations: 229.4 kB / 291.7 MB, free: 19.95 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003168/0.1207, allocations: 312.6 kB / 292 MB, free: 19.86 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.1207, allocations: 0.6562 kB / 292 MB, free: 19.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0005114/0.1212, allocations: 421.4 kB / 292.4 MB, free: 19.79 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.1212, allocations: 6.531 kB / 292.4 MB, free: 19.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.1212, allocations: 2.594 kB / 292.4 MB, free: 19.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.1212, allocations: 5.531 kB / 292.4 MB, free: 19.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004413/0.1217, allocations: 155.2 kB / 292.6 MB, free: 19.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.1217, allocations: 12.56 kB / 292.6 MB, free: 19.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002311/0.1219, allocations: 61.27 kB / 292.6 MB, free: 19.78 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.869e-05/0.1219, allocations: 23.22 kB / 292.7 MB, free: 19.78 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.0001279/0.1221, allocations: 189.4 kB / 292.8 MB, free: 19.62 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.689e-05/0.1221, allocations: 57.59 kB / 292.9 MB, free: 19.6 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005121/0.1226, allocations: 399.4 kB / 293.3 MB, free: 19.54 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.1227, allocations: 9.125 kB / 293.3 MB, free: 19.54 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.1227, allocations: 5.156 kB / 293.3 MB, free: 19.54 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.1227, allocations: 3.141 kB / 293.3 MB, free: 19.54 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000994/0.1237, allocations: 0.8783 MB / 294.2 MB, free: 19.24 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.1237, allocations: 1.125 kB / 294.2 MB, free: 19.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003012/0.124, allocations: 129.6 kB / 294.3 MB, free: 19.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.124, allocations: 5.844 kB / 294.3 MB, free: 19.24 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.409e-05/0.124, allocations: 15.88 kB / 294.3 MB, free: 19.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.124, allocations: 3.344 kB / 294.3 MB, free: 19.24 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.124, allocations: 2.938 kB / 294.3 MB, free: 19.24 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006067/0.1246, allocations: 0.6981 MB / 295 MB, free: 18.89 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.881e-05/0.1247, allocations: 50.67 kB / 295.1 MB, free: 18.87 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.782e-05/0.1247, allocations: 14.62 kB / 295.1 MB, free: 18.87 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.1249, allocations: 19.19 kB / 295.1 MB, free: 18.87 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.799e-05/0.1249, allocations: 49.27 kB / 295.2 MB, free: 18.87 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.125, allocations: 13.84 kB / 295.2 MB, free: 18.87 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.088e-05/0.125, allocations: 194.8 kB / 295.4 MB, free: 18.75 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.125, allocations: 0 / 295.4 MB, free: 18.75 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004367/0.1255, allocations: 181.1 kB / 295.6 MB, free: 18.73 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.000188/0.1257, allocations: 154.7 kB / 295.7 MB, free: 18.64 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003911/0.1261, allocations: 314.7 kB / 296 MB, free: 18.61 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1261, allocations: 1.188 kB / 296 MB, free: 18.61 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.1262, allocations: 175.7 kB / 296.2 MB, free: 18.6 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.1266, allocations: 61.02 kB / 296.2 MB, free: 18.59 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.128, allocations: 0.947 MB / 297.2 MB, free: 18.16 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.213e-05/0.1281, allocations: 123.1 kB / 297.3 MB, free: 18.08 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002235/0.1283, allocations: 74.23 kB / 297.4 MB, free: 18.07 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/0.1285, allocations: 154.1 kB / 297.5 MB, free: 18 MB / 266.7 MB Notification: Performance of SimCode: time 8.21e-07/0.1285, allocations: 0 / 297.5 MB, free: 18 MB / 266.7 MB Notification: Performance of Templates: time 0.008612/0.1371, allocations: 5.591 MB / 303.1 MB, free: 17.09 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.7146301921457052]