Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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.0009193/0.0009193, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001024/0.001024, allocations: 150.9 kB / 24.9 MB, free: 8.734 MB / 18.57 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.053/1.053, allocations: 173.4 MB / 201.5 MB, free: 8.773 MB / 186.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.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 268.5 MB, free: 5.984 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.648e-05/4.852e-05, allocations: 5.969 kB / 268.5 MB, free: 5.98 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.004787/0.004835, allocations: 4.114 MB / 272.6 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001946/0.006781, allocations: 1.65 MB / 274.3 MB, free: 188 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.00694, allocations: 12 kB / 274.3 MB, free: 176 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001158/0.008098, allocations: 1.061 MB / 275.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003334/0.008432, allocations: 250 kB / 275.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008681/0.0093, allocations: 0.7586 MB / 276.4 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004279/0.009728, allocations: 0.6453 MB / 277 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004669/0.01019, allocations: 469.4 kB / 277.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003378/0.01053, allocations: 395.1 kB / 277.9 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002629/0.0108, allocations: 267.3 kB / 278.1 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.223e-05/0.01085, allocations: 52 kB / 278.2 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003498/0.0112, allocations: 267.5 kB / 278.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.691e-05/0.01126, allocations: 135.4 kB / 278.6 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.01139, allocations: 211.5 kB / 278.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005573/0.01195, allocations: 0.6695 MB / 279.4 MB, free: 11 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.01195, allocations: 0 / 279.4 MB, free: 11 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.145e-06/0.01195, allocations: 4 kB / 279.4 MB, free: 11 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.261e-06/0.01196, allocations: 0 / 279.4 MB, free: 11 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.001765/0.01373, allocations: 1.155 MB / 280.6 MB, free: 9.816 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.01376, allocations: 8.922 kB / 280.6 MB, free: 9.809 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007567/0.01451, allocations: 316.3 kB / 280.9 MB, free: 9.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.01466, allocations: 181.7 kB / 281.1 MB, free: 9.293 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.524e-05/0.01469, allocations: 50.38 kB / 281.1 MB, free: 9.246 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.555e-05/0.01476, allocations: 68.31 kB / 281.2 MB, free: 9.18 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005118/0.01527, allocations: 0.5305 MB / 281.7 MB, free: 8.625 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.01529, allocations: 192 / 281.7 MB, free: 8.625 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.446e-05/0.01532, allocations: 28.38 kB / 281.8 MB, free: 8.598 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.01533, allocations: 19.94 kB / 281.8 MB, free: 8.578 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002703/0.0156, allocations: 201 kB / 282 MB, free: 8.383 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001579/0.01718, allocations: 1.352 MB / 283.3 MB, free: 6.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004661/0.01765, allocations: 486.1 kB / 283.8 MB, free: 6.492 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.01776, allocations: 115.7 kB / 283.9 MB, free: 6.371 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.126e-05/0.01784, allocations: 28.62 kB / 283.9 MB, free: 6.344 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.01787, allocations: 39.22 kB / 284 MB, free: 6.297 MB / 266.7 MB Notification: Performance of pre-optimization done (n=66): time 2.294e-06/0.01787, allocations: 4 kB / 284 MB, free: 6.293 MB / 266.7 MB Notification: Performance of matching and sorting (n=66): time 0.0003779/0.01825, allocations: 313.8 kB / 284.3 MB, free: 5.98 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.01829, allocations: 123.5 kB / 284.4 MB, free: 5.836 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.01842, allocations: 223.2 kB / 284.6 MB, free: 5.605 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.01844, allocations: 37.7 kB / 284.7 MB, free: 5.562 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.299e-05/0.01854, allocations: 260.6 kB / 284.9 MB, free: 5.305 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.863e-05/0.01864, allocations: 229.9 kB / 285.2 MB, free: 5.078 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.01875, allocations: 122.6 kB / 285.3 MB, free: 4.953 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.954e-05/0.01884, allocations: 350.7 kB / 285.6 MB, free: 4.602 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.701e-05/0.01893, allocations: 65.97 kB / 285.7 MB, free: 4.535 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.01907, allocations: 191 kB / 285.9 MB, free: 4.316 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002446/0.01931, allocations: 278.9 kB / 286.1 MB, free: 4.02 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.01931, allocations: 0 / 286.1 MB, free: 4.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0003102/0.01962, allocations: 313.1 kB / 286.4 MB, free: 3.707 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.01964, allocations: 4 kB / 286.4 MB, free: 3.703 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.01965, allocations: 8.188 kB / 286.5 MB, free: 3.695 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.01966, allocations: 7.938 kB / 286.5 MB, free: 3.688 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003815/0.02004, allocations: 163.8 kB / 286.6 MB, free: 3.527 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.02005, allocations: 4 kB / 286.6 MB, free: 3.523 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/0.02022, allocations: 63.56 kB / 286.7 MB, free: 3.461 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.02024, allocations: 19.98 kB / 286.7 MB, free: 3.441 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.0001051/0.02035, allocations: 141.7 kB / 286.8 MB, free: 3.293 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.98e-05/0.02041, allocations: 43.91 kB / 286.9 MB, free: 3.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003389/0.02075, allocations: 329.1 kB / 287.2 MB, free: 2.922 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.02075, allocations: 11.94 kB / 287.2 MB, free: 2.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.02075, allocations: 0 / 287.2 MB, free: 2.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.02076, allocations: 7.984 kB / 287.2 MB, free: 2.902 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007247/0.02148, allocations: 0.6366 MB / 287.9 MB, free: 2.242 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.02148, allocations: 0 / 287.9 MB, free: 2.242 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002877/0.02177, allocations: 135.8 kB / 288 MB, free: 2.109 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.02178, allocations: 4 kB / 288 MB, free: 2.105 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.0218, allocations: 8 kB / 288 MB, free: 2.098 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.0218, allocations: 4 kB / 288 MB, free: 2.094 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.0218, allocations: 0 / 288 MB, free: 2.094 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004319/0.02223, allocations: 0.5255 MB / 288.5 MB, free: 1.551 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.429e-05/0.02227, allocations: 39.64 kB / 288.6 MB, free: 1.512 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.413e-05/0.0223, allocations: 12 kB / 288.6 MB, free: 1.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.02245, allocations: 23.98 kB / 288.6 MB, free: 1.477 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.363e-05/0.02251, allocations: 44.52 kB / 288.7 MB, free: 1.434 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.02253, allocations: 15.98 kB / 288.7 MB, free: 1.418 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.518e-05/0.02258, allocations: 70.78 kB / 288.7 MB, free: 1.348 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02258, allocations: 0 / 288.7 MB, free: 1.348 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003231/0.02291, allocations: 187.6 kB / 288.9 MB, free: 1.164 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.0001602/0.02307, allocations: 128.3 kB / 289.1 MB, free: 1.031 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003093/0.02338, allocations: 288.3 kB / 289.3 MB, free: 0.75 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.02338, allocations: 4 kB / 289.3 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.02352, allocations: 149.8 kB / 289.5 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.02378, allocations: 69 kB / 289.6 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09494/0.1187, allocations: 0.9611 MB / 290.5 MB, free: 25.16 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.681e-05/0.1188, allocations: 123.4 kB / 290.6 MB, free: 25.09 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003155/0.1191, allocations: 80.86 kB / 290.7 MB, free: 25.09 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/0.1193, allocations: 122.4 kB / 290.8 MB, free: 25.04 MB / 266.7 MB Notification: Performance of SimCode: time 1.613e-06/0.1193, allocations: 1 kB / 290.8 MB, free: 25.04 MB / 266.7 MB Notification: Performance of Templates: time 0.008662/0.128, allocations: 5.402 MB / 296.2 MB, free: 24.51 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.7702845982275903]