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.001241/0.001241, allocations: 77.97 kB / 21.42 MB, free: 3.066 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.001437/0.001437, allocations: 166 kB / 24.82 MB, free: 9.309 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.9308/0.9308, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.182e-06/1.182e-06, allocations: 3.938 kB / 273.4 MB, free: 1.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.08e-05/1.198e-05, allocations: 2.312 kB / 273.4 MB, free: 1.297 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.003369/0.003381, allocations: 4.072 MB / 277.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002027/0.005408, allocations: 1.658 MB / 279.1 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001984/0.005607, allocations: 8 kB / 279.1 MB, free: 11.53 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001415/0.007022, allocations: 1.054 MB / 280.2 MB, free: 10.47 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005046/0.007526, allocations: 246 kB / 280.4 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009193/0.008446, allocations: 0.7277 MB / 281.2 MB, free: 9.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004671/0.008913, allocations: 0.6297 MB / 281.8 MB, free: 8.867 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000492/0.009405, allocations: 435.4 kB / 282.2 MB, free: 8.438 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004144/0.009819, allocations: 383.2 kB / 282.6 MB, free: 8.062 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002395/0.01006, allocations: 259.3 kB / 282.8 MB, free: 7.809 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.844e-05/0.01012, allocations: 56 kB / 282.9 MB, free: 7.754 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004007/0.01052, allocations: 287.5 kB / 283.2 MB, free: 7.473 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.009e-05/0.01059, allocations: 135.4 kB / 283.3 MB, free: 7.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.01072, allocations: 207.5 kB / 283.5 MB, free: 7.137 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005881/0.01131, allocations: 0.6889 MB / 284.2 MB, free: 6.445 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.01131, allocations: 3.984 kB / 284.2 MB, free: 6.441 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.01131, allocations: 0 / 284.2 MB, free: 6.441 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.01132, allocations: 0 / 284.2 MB, free: 6.441 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.001842/0.01316, allocations: 1.272 MB / 285.5 MB, free: 5.129 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.01319, allocations: 8.031 kB / 285.5 MB, free: 5.121 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007182/0.01391, allocations: 296 kB / 285.8 MB, free: 4.832 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.01402, allocations: 188.4 kB / 286 MB, free: 4.617 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.14e-05/0.01405, allocations: 46.38 kB / 286 MB, free: 4.574 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.449e-05/0.01413, allocations: 72.36 kB / 286.1 MB, free: 4.504 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005369/0.01466, allocations: 0.535 MB / 286.6 MB, free: 3.941 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.01468, allocations: 192 / 286.6 MB, free: 3.941 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.902e-05/0.01472, allocations: 36.36 kB / 286.6 MB, free: 3.906 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.01473, allocations: 19.94 kB / 286.7 MB, free: 3.887 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002932/0.01502, allocations: 245.7 kB / 286.9 MB, free: 3.645 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001728/0.01675, allocations: 1.758 MB / 288.7 MB, free: 1.824 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000523/0.01728, allocations: 0.5214 MB / 289.2 MB, free: 1.285 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.0174, allocations: 137.3 kB / 289.3 MB, free: 1.145 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.307e-05/0.01748, allocations: 36.61 kB / 289.4 MB, free: 1.109 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.01751, allocations: 46.05 kB / 289.4 MB, free: 1.051 MB / 266.7 MB Notification: Performance of pre-optimization done (n=66): time 2.515e-06/0.01751, allocations: 3.984 kB / 289.4 MB, free: 1.047 MB / 266.7 MB Notification: Performance of matching and sorting (n=66): time 0.0004842/0.018, allocations: 421.5 kB / 289.8 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.01804, allocations: 115.4 kB / 289.9 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.0182, allocations: 290.4 kB / 290.2 MB, free: 196 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.01823, allocations: 37.83 kB / 290.3 MB, free: 152 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1008/0.119, allocations: 316.8 kB / 290.6 MB, free: 20.65 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001921/0.1192, allocations: 236.3 kB / 290.8 MB, free: 20.53 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.1194, allocations: 135.4 kB / 290.9 MB, free: 20.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.873e-05/0.1194, allocations: 0.5197 MB / 291.4 MB, free: 20.01 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.1196, allocations: 83.61 kB / 291.5 MB, free: 20 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.1198, allocations: 227.1 kB / 291.7 MB, free: 19.87 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003038/0.1201, allocations: 312.9 kB / 292.1 MB, free: 19.79 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.1201, allocations: 1.344 kB / 292.1 MB, free: 19.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.000477/0.1205, allocations: 417.9 kB / 292.5 MB, free: 19.72 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.1205, allocations: 6.375 kB / 292.5 MB, free: 19.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.1206, allocations: 3.953 kB / 292.5 MB, free: 19.72 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.1206, allocations: 5.938 kB / 292.5 MB, free: 19.72 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004422/0.121, allocations: 156 kB / 292.6 MB, free: 19.72 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.121, allocations: 8.719 kB / 292.6 MB, free: 19.72 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.1212, allocations: 67.64 kB / 292.7 MB, free: 19.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/0.1212, allocations: 18.41 kB / 292.7 MB, free: 19.7 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.0001148/0.1214, allocations: 192 kB / 292.9 MB, free: 19.54 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.624e-05/0.1214, allocations: 57.45 kB / 293 MB, free: 19.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000471/0.1219, allocations: 391.8 kB / 293.4 MB, free: 19.47 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.1219, allocations: 8.125 kB / 293.4 MB, free: 19.47 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.1219, allocations: 3.938 kB / 293.4 MB, free: 19.46 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.1219, allocations: 5.562 kB / 293.4 MB, free: 19.46 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.123, allocations: 0.8808 MB / 294.2 MB, free: 19.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.123, allocations: 3.172 kB / 294.3 MB, free: 19.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000305/0.1233, allocations: 129.7 kB / 294.4 MB, free: 19.17 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.1233, allocations: 2.375 kB / 294.4 MB, free: 19.17 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/0.1233, allocations: 12.98 kB / 294.4 MB, free: 19.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.1234, allocations: 5.344 kB / 294.4 MB, free: 19.17 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1234, allocations: 2.625 kB / 294.4 MB, free: 19.17 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000596/0.1239, allocations: 0.7009 MB / 295.1 MB, free: 18.82 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.694e-05/0.124, allocations: 49.73 kB / 295.2 MB, free: 18.8 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.403e-05/0.124, allocations: 16.3 kB / 295.2 MB, free: 18.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.1242, allocations: 17.98 kB / 295.2 MB, free: 18.8 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.379e-05/0.1243, allocations: 45.56 kB / 295.2 MB, free: 18.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.309e-05/0.1243, allocations: 13.64 kB / 295.2 MB, free: 18.8 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.878e-05/0.1244, allocations: 194.2 kB / 295.4 MB, free: 18.68 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1244, allocations: 4.969 kB / 295.4 MB, free: 18.68 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005056/0.1249, allocations: 182.3 kB / 295.6 MB, free: 18.66 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.0002086/0.1251, allocations: 154.2 kB / 295.8 MB, free: 18.57 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004125/0.1255, allocations: 318 kB / 296.1 MB, free: 18.54 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1255, allocations: 0 / 296.1 MB, free: 18.54 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.1257, allocations: 171.6 kB / 296.2 MB, free: 18.53 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.126, allocations: 59.69 kB / 296.3 MB, free: 18.52 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.1274, allocations: 0.9501 MB / 297.3 MB, free: 18.1 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.475e-05/0.1275, allocations: 125 kB / 297.4 MB, free: 18.02 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002162/0.1277, allocations: 74.53 kB / 297.4 MB, free: 18 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001952/0.1279, allocations: 150.3 kB / 297.6 MB, free: 17.94 MB / 266.7 MB Notification: Performance of SimCode: time 4.41e-07/0.1279, allocations: 2.406 kB / 297.6 MB, free: 17.94 MB / 266.7 MB Notification: Performance of Templates: time 0.008213/0.1362, allocations: 5.6 MB / 303.2 MB, free: 17 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 -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.7037844359874725]