Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.002549/0.002549, allocations: 103.5 kB / 21.73 MB, free: 2.688 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.003116/0.003116, allocations: 170.3 kB / 25.03 MB, free: 8.934 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.365/1.365, allocations: 158.6 MB / 186.8 MB, free: 2.883 MB / 170.7 MB " [Timeout remaining time 178] 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.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 250.4 MB, free: 7.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.804e-05/2.982e-05, allocations: 2.312 kB / 250.4 MB, free: 7.82 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.008493/0.008523, allocations: 4.077 MB / 254.4 MB, free: 3.719 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004213/0.01274, allocations: 1.624 MB / 256.1 MB, free: 2.078 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002763/0.01301, allocations: 12 kB / 256.1 MB, free: 2.066 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003867/0.01688, allocations: 1.054 MB / 257.1 MB, free: 1.008 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001074/0.01795, allocations: 250 kB / 257.4 MB, free: 0.7617 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002793/0.02075, allocations: 0.7317 MB / 258.1 MB, free: 28 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001213/0.02196, allocations: 0.6414 MB / 258.8 MB, free: 15.38 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001131/0.02309, allocations: 443.3 kB / 259.2 MB, free: 14.94 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009248/0.02401, allocations: 391.1 kB / 259.6 MB, free: 14.56 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007154/0.02473, allocations: 267.2 kB / 259.8 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001272/0.02486, allocations: 52 kB / 259.9 MB, free: 14.25 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008761/0.02573, allocations: 255.6 kB / 260.1 MB, free: 14 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002112/0.02594, allocations: 139.4 kB / 260.3 MB, free: 13.86 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004141/0.02636, allocations: 203.5 kB / 260.5 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002052/0.02841, allocations: 0.9578 MB / 261.4 MB, free: 12.7 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.02841, allocations: 0 / 261.4 MB, free: 12.7 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.02842, allocations: 0 / 261.4 MB, free: 12.7 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.02843, allocations: 0 / 261.4 MB, free: 12.7 MB / 250.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.006029/0.03446, allocations: 1.268 MB / 262.7 MB, free: 11.39 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.053e-05/0.03452, allocations: 15.98 kB / 262.7 MB, free: 11.38 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002325/0.03684, allocations: 300 kB / 263 MB, free: 11.08 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003459/0.03719, allocations: 196.4 kB / 263.2 MB, free: 10.86 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.126e-05/0.03728, allocations: 50.38 kB / 263.2 MB, free: 10.82 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001787/0.03746, allocations: 64.38 kB / 263.3 MB, free: 10.75 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002149/0.03961, allocations: 0.7491 MB / 264.1 MB, free: 9.98 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.416e-05/0.03964, allocations: 192 / 264.1 MB, free: 9.98 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/0.03976, allocations: 32.36 kB / 264.1 MB, free: 9.949 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.538e-05/0.03978, allocations: 19.94 kB / 264.1 MB, free: 9.93 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001985/0.04177, allocations: 0.5595 MB / 264.7 MB, free: 9.371 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004124/0.04589, allocations: 2.041 MB / 266.7 MB, free: 7.262 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/0.04735, allocations: 0.6991 MB / 267.4 MB, free: 6.543 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005137/0.04786, allocations: 249.3 kB / 267.6 MB, free: 6.293 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001119/0.04797, allocations: 20.64 kB / 267.7 MB, free: 6.273 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.905e-05/0.04802, allocations: 49.98 kB / 267.7 MB, free: 6.211 MB / 250.7 MB Notification: Performance of pre-optimization done (n=66): time 1.954e-06/0.04802, allocations: 0 / 267.7 MB, free: 6.211 MB / 250.7 MB Notification: Performance of matching and sorting (n=66): time 0.001619/0.04964, allocations: 0.6734 MB / 268.4 MB, free: 5.535 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.514e-05/0.04974, allocations: 111.5 kB / 268.5 MB, free: 5.402 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003955/0.05013, allocations: 326.5 kB / 268.8 MB, free: 5.062 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.146e-05/0.05018, allocations: 37.7 kB / 268.9 MB, free: 5.02 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002707/0.05045, allocations: 327.3 kB / 269.2 MB, free: 4.695 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002485/0.0507, allocations: 246 kB / 269.4 MB, free: 4.453 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002535/0.05096, allocations: 140.4 kB / 269.5 MB, free: 4.309 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003451/0.0513, allocations: 0.5313 MB / 270.1 MB, free: 3.766 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004703/0.05177, allocations: 197.9 kB / 270.3 MB, free: 3.574 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006306/0.0524, allocations: 353.7 kB / 270.6 MB, free: 3.188 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.05345, allocations: 0.5261 MB / 271.1 MB, free: 2.637 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.05345, allocations: 4 kB / 271.1 MB, free: 2.633 MB / 250.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001356/0.05481, allocations: 0.6258 MB / 271.8 MB, free: 2 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.05483, allocations: 11.94 kB / 271.8 MB, free: 1.988 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.05484, allocations: 0 / 271.8 MB, free: 1.988 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/0.05486, allocations: 4.188 kB / 271.8 MB, free: 1.984 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007478/0.05561, allocations: 155.8 kB / 271.9 MB, free: 1.832 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.05562, allocations: 7.984 kB / 272 MB, free: 1.824 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004748/0.0561, allocations: 63.58 kB / 272 MB, free: 1.762 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-05/0.05616, allocations: 23.98 kB / 272 MB, free: 1.738 MB / 250.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.0003148/0.05647, allocations: 236.4 kB / 272.3 MB, free: 1.496 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.05661, allocations: 59.7 kB / 272.3 MB, free: 1.438 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001338/0.05794, allocations: 0.5714 MB / 272.9 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.05795, allocations: 8 kB / 272.9 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.05796, allocations: 0 / 272.9 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.05797, allocations: 3.984 kB / 272.9 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002364/0.06033, allocations: 1.217 MB / 274.1 MB, free: 15.58 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.06033, allocations: 0 / 274.1 MB, free: 15.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005819/0.06091, allocations: 123.8 kB / 274.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.06092, allocations: 0 / 274.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.626e-05/0.06097, allocations: 19.98 kB / 274.3 MB, free: 15.44 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.06097, allocations: 0 / 274.3 MB, free: 15.44 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.06097, allocations: 0 / 274.3 MB, free: 15.44 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00183/0.0628, allocations: 1.045 MB / 275.3 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.06291, allocations: 47.62 kB / 275.4 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.568e-05/0.06298, allocations: 12 kB / 275.4 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003656/0.06334, allocations: 23.98 kB / 275.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.06347, allocations: 44.52 kB / 275.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-05/0.06351, allocations: 16 kB / 275.5 MB, free: 14.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002925/0.0638, allocations: 225.1 kB / 275.7 MB, free: 14.01 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0638, allocations: 0 / 275.7 MB, free: 14.01 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006623/0.06447, allocations: 191.5 kB / 275.9 MB, free: 13.82 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.0002949/0.06476, allocations: 143.1 kB / 276 MB, free: 13.68 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001157/0.06592, allocations: 0.5264 MB / 276.5 MB, free: 13.15 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.06592, allocations: 0 / 276.5 MB, free: 13.15 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005195/0.06644, allocations: 272.6 kB / 276.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004995/0.06694, allocations: 64.53 kB / 276.9 MB, free: 12.81 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002514/0.06945, allocations: 1.061 MB / 277.9 MB, free: 11.72 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.06975, allocations: 245.1 kB / 278.2 MB, free: 11.46 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003572/0.07011, allocations: 79.33 kB / 278.2 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/0.07027, allocations: 44.48 kB / 278.3 MB, free: 11.34 MB / 266.7 MB Notification: Performance of SimCode: time 1.113e-06/0.07027, allocations: 0 / 278.3 MB, free: 11.34 MB / 266.7 MB Notification: Performance of Templates: time 0.01181/0.08207, allocations: 4.877 MB / 283.2 MB, free: 6.496 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.438720033038408]