Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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.0008867/0.0008867, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001176/0.001176, allocations: 169.1 kB / 24.91 MB, free: 9.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9967/0.9967, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 273.5 MB, free: 1.262 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.859e-06/1.105e-05, allocations: 2.312 kB / 273.5 MB, free: 1.258 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.003383/0.003394, allocations: 4.125 MB / 277.6 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001828/0.005222, allocations: 1.728 MB / 279.3 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.005355, allocations: 12 kB / 279.4 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001127/0.006482, allocations: 1.057 MB / 280.4 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003249/0.006807, allocations: 249.9 kB / 280.7 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009015/0.007708, allocations: 0.7393 MB / 281.4 MB, free: 9.312 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004709/0.008179, allocations: 0.6297 MB / 282 MB, free: 8.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004559/0.008635, allocations: 461.4 kB / 282.5 MB, free: 8.227 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003462/0.008981, allocations: 391 kB / 282.9 MB, free: 7.844 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002578/0.009239, allocations: 263.3 kB / 283.1 MB, free: 7.586 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.336e-05/0.009292, allocations: 52 kB / 283.2 MB, free: 7.535 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003528/0.009645, allocations: 303.5 kB / 283.5 MB, free: 7.238 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.494e-05/0.00971, allocations: 135.4 kB / 283.6 MB, free: 7.105 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.009834, allocations: 211.5 kB / 283.8 MB, free: 6.898 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005495/0.01038, allocations: 0.6851 MB / 284.5 MB, free: 6.211 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.01039, allocations: 0 / 284.5 MB, free: 6.211 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.01039, allocations: 0 / 284.5 MB, free: 6.211 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.01039, allocations: 0 / 284.5 MB, free: 6.211 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.001778/0.01217, allocations: 1.186 MB / 285.7 MB, free: 4.996 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.673e-05/0.0122, allocations: 8.031 kB / 285.7 MB, free: 4.988 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007913/0.01299, allocations: 308.3 kB / 286 MB, free: 4.688 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.0131, allocations: 173.7 kB / 286.2 MB, free: 4.488 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.216e-05/0.01313, allocations: 54.36 kB / 286.2 MB, free: 4.438 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.494e-05/0.01319, allocations: 68.33 kB / 286.3 MB, free: 4.371 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004676/0.01366, allocations: 0.5343 MB / 286.8 MB, free: 3.809 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.01368, allocations: 192 / 286.8 MB, free: 3.809 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.2e-05/0.01371, allocations: 24.38 kB / 286.8 MB, free: 3.785 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.01372, allocations: 27.94 kB / 286.9 MB, free: 3.758 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002553/0.01398, allocations: 197.8 kB / 287.1 MB, free: 3.562 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001501/0.01548, allocations: 1.371 MB / 288.4 MB, free: 2.141 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004716/0.01595, allocations: 482.5 kB / 288.9 MB, free: 1.652 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.01606, allocations: 115.7 kB / 289 MB, free: 1.531 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.01e-05/0.01614, allocations: 32.62 kB / 289 MB, free: 1.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.01617, allocations: 43.2 kB / 289.1 MB, free: 1.449 MB / 266.7 MB Notification: Performance of pre-optimization done (n=66): time 1.724e-06/0.01617, allocations: 4 kB / 289.1 MB, free: 1.445 MB / 266.7 MB Notification: Performance of matching and sorting (n=66): time 0.0003742/0.01654, allocations: 317.8 kB / 289.4 MB, free: 1.129 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.01658, allocations: 115.5 kB / 289.5 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.01671, allocations: 223.2 kB / 289.7 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.01673, allocations: 33.7 kB / 289.8 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.113e-05/0.01682, allocations: 264.6 kB / 290 MB, free: 472 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.01692, allocations: 237.9 kB / 290.3 MB, free: 232 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.01703, allocations: 118.6 kB / 290.4 MB, free: 108 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.09617/0.1132, allocations: 343.6 kB / 290.7 MB, free: 20.74 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001932/0.1134, allocations: 66.27 kB / 290.8 MB, free: 20.74 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.1135, allocations: 191.4 kB / 291 MB, free: 20.64 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002796/0.1138, allocations: 272.5 kB / 291.2 MB, free: 20.58 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.1138, allocations: 2 kB / 291.2 MB, free: 20.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0004075/0.1142, allocations: 319.1 kB / 291.5 MB, free: 20.54 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.1143, allocations: 5.562 kB / 291.5 MB, free: 20.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.1143, allocations: 4.234 kB / 291.5 MB, free: 20.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.1143, allocations: 4.844 kB / 291.5 MB, free: 20.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004529/0.1147, allocations: 163.4 kB / 291.7 MB, free: 20.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.1147, allocations: 9.953 kB / 291.7 MB, free: 20.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002074/0.1149, allocations: 63 kB / 291.8 MB, free: 20.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.838e-05/0.115, allocations: 18.39 kB / 291.8 MB, free: 20.54 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.0001285/0.1151, allocations: 145.6 kB / 291.9 MB, free: 20.42 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.619e-05/0.1152, allocations: 42.44 kB / 292 MB, free: 20.42 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004146/0.1156, allocations: 322.5 kB / 292.3 MB, free: 20.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.1156, allocations: 8.5 kB / 292.3 MB, free: 20.38 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.1156, allocations: 7.031 kB / 292.3 MB, free: 20.37 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.1156, allocations: 7.562 kB / 292.3 MB, free: 20.37 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008258/0.1164, allocations: 0.6266 MB / 292.9 MB, free: 20.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.1164, allocations: 0.6562 kB / 292.9 MB, free: 20.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003026/0.1167, allocations: 135.9 kB / 293.1 MB, free: 20.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.197e-06/0.1167, allocations: 3.312 kB / 293.1 MB, free: 20.18 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/0.1168, allocations: 12.86 kB / 293.1 MB, free: 20.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.1168, allocations: 8.844 kB / 293.1 MB, free: 20.18 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1168, allocations: 0 / 293.1 MB, free: 20.18 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004663/0.1172, allocations: 0.521 MB / 293.6 MB, free: 19.95 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.06e-05/0.1173, allocations: 44.98 kB / 293.7 MB, free: 19.95 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.39e-05/0.1173, allocations: 13.12 kB / 293.7 MB, free: 19.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.1175, allocations: 19.17 kB / 293.7 MB, free: 19.95 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.237e-05/0.1175, allocations: 44.94 kB / 293.7 MB, free: 19.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.1175, allocations: 14.59 kB / 293.8 MB, free: 19.95 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.909e-05/0.1176, allocations: 75.73 kB / 293.8 MB, free: 19.93 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1176, allocations: 0 / 293.8 MB, free: 19.93 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000388/0.118, allocations: 189.4 kB / 294 MB, free: 19.92 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.0001671/0.1182, allocations: 134.1 kB / 294.1 MB, free: 19.85 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003283/0.1185, allocations: 280.3 kB / 294.4 MB, free: 19.83 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.186e-06/0.1185, allocations: 5.844 kB / 294.4 MB, free: 19.83 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.1187, allocations: 158 kB / 294.6 MB, free: 19.82 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.1189, allocations: 55.53 kB / 294.6 MB, free: 19.81 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.1202, allocations: 0.931 MB / 295.6 MB, free: 19.39 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.69e-05/0.1202, allocations: 128.3 kB / 295.7 MB, free: 19.31 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.00021/0.1205, allocations: 72.06 kB / 295.8 MB, free: 19.3 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002047/0.1207, allocations: 126.7 kB / 295.9 MB, free: 19.25 MB / 266.7 MB Notification: Performance of SimCode: time 5.72e-07/0.1207, allocations: 0 / 295.9 MB, free: 19.25 MB / 266.7 MB Notification: Performance of Templates: time 0.008293/0.129, allocations: 5.507 MB / 301.4 MB, free: 18.44 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.6891484283842146]