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.001874/0.001874, allocations: 100.7 kB / 20.96 MB, free: 480 kB / 14.72 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.002117/0.002117, allocations: 149.4 kB / 24.24 MB, free: 3.551 MB / 14.72 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.425/1.425, allocations: 173.3 MB / 200.8 MB, free: 12.77 MB / 190.1 MB " [Timeout remaining time 178] 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 1.273e-06/1.273e-06, allocations: 0 / 267.3 MB, free: 10.23 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.371e-05/2.499e-05, allocations: 2.312 kB / 267.3 MB, free: 10.23 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005641/0.005666, allocations: 3.801 MB / 271.1 MB, free: 6.406 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002772/0.008438, allocations: 1.533 MB / 272.6 MB, free: 4.863 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001717/0.008609, allocations: 12 kB / 272.7 MB, free: 4.852 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002446/0.01106, allocations: 0.9913 MB / 273.6 MB, free: 3.855 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005277/0.01158, allocations: 246 kB / 273.9 MB, free: 3.613 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001659/0.01324, allocations: 0.7549 MB / 274.6 MB, free: 2.855 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.000702/0.01394, allocations: 0.6492 MB / 275.3 MB, free: 2.203 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007305/0.01467, allocations: 435.4 kB / 275.7 MB, free: 1.773 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005222/0.0152, allocations: 391.2 kB / 276.1 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004177/0.01561, allocations: 263.3 kB / 276.4 MB, free: 1.133 MB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 8.599e-05/0.0157, allocations: 52 kB / 276.4 MB, free: 1.082 MB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005055/0.01621, allocations: 259.5 kB / 276.7 MB, free: 0.8281 MB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001439/0.01635, allocations: 135.5 kB / 276.8 MB, free: 0.6953 MB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002511/0.0166, allocations: 207.4 kB / 277 MB, free: 0.4922 MB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001215/0.01782, allocations: 0.9501 MB / 277.9 MB, free: 15.54 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.01782, allocations: 0 / 277.9 MB, free: 15.54 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.01782, allocations: 0 / 277.9 MB, free: 15.54 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.01783, allocations: 3.938 kB / 278 MB, free: 15.54 MB / 270.1 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.003715/0.02154, allocations: 1.145 MB / 279.1 MB, free: 14.36 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.02158, allocations: 8.922 kB / 279.1 MB, free: 14.35 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001409/0.02299, allocations: 292.1 kB / 279.4 MB, free: 14.06 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.02319, allocations: 189.6 kB / 279.6 MB, free: 13.85 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.096e-05/0.02324, allocations: 46.38 kB / 279.6 MB, free: 13.8 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.02336, allocations: 68.38 kB / 279.7 MB, free: 13.74 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.02474, allocations: 0.7292 MB / 280.4 MB, free: 12.98 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/0.02476, allocations: 192 / 280.4 MB, free: 12.98 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.929e-05/0.02483, allocations: 28.38 kB / 280.4 MB, free: 12.96 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/0.02485, allocations: 19.94 kB / 280.5 MB, free: 12.94 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001393/0.02625, allocations: 0.6024 MB / 281.1 MB, free: 12.34 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003321/0.02957, allocations: 1.787 MB / 282.9 MB, free: 10.48 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/0.03101, allocations: 0.6802 MB / 283.5 MB, free: 9.797 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005544/0.03156, allocations: 251.6 kB / 283.8 MB, free: 9.547 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.49e-05/0.03166, allocations: 16.66 kB / 283.8 MB, free: 9.531 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.774e-05/0.0317, allocations: 43.16 kB / 283.8 MB, free: 9.48 MB / 270.1 MB Notification: Performance of pre-optimization done (n=66): time 2.424e-06/0.03171, allocations: 4 kB / 283.8 MB, free: 9.477 MB / 270.1 MB Notification: Performance of matching and sorting (n=66): time 0.001768/0.03347, allocations: 0.7202 MB / 284.6 MB, free: 8.75 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.139e-05/0.03356, allocations: 111.5 kB / 284.7 MB, free: 8.617 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003071/0.03386, allocations: 256 kB / 284.9 MB, free: 8.355 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.361e-05/0.03391, allocations: 33.7 kB / 285 MB, free: 8.316 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000209/0.03412, allocations: 280.8 kB / 285.2 MB, free: 8.039 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001996/0.03432, allocations: 230 kB / 285.5 MB, free: 7.812 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002029/0.03452, allocations: 114.6 kB / 285.6 MB, free: 7.691 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.0347, allocations: 346.8 kB / 285.9 MB, free: 7.344 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005258/0.03523, allocations: 209.8 kB / 286.1 MB, free: 7.141 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000622/0.03585, allocations: 331.1 kB / 286.4 MB, free: 6.785 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/0.03698, allocations: 0.5107 MB / 286.9 MB, free: 6.25 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.03699, allocations: 0 / 286.9 MB, free: 6.25 MB / 270.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001466/0.03845, allocations: 0.6609 MB / 287.6 MB, free: 5.582 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.03847, allocations: 7.938 kB / 287.6 MB, free: 5.574 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.03848, allocations: 0 / 287.6 MB, free: 5.574 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.0385, allocations: 8 kB / 287.6 MB, free: 5.566 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007498/0.03925, allocations: 163.8 kB / 287.8 MB, free: 5.406 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.03926, allocations: 4.188 kB / 287.8 MB, free: 5.402 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004969/0.03976, allocations: 75.53 kB / 287.9 MB, free: 5.328 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.915e-05/0.03981, allocations: 24 kB / 287.9 MB, free: 5.305 MB / 270.1 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.0002503/0.04006, allocations: 189.6 kB / 288.1 MB, free: 5.109 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/0.0402, allocations: 63.7 kB / 288.1 MB, free: 5.047 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001463/0.04166, allocations: 0.6026 MB / 288.7 MB, free: 4.434 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.04167, allocations: 8 kB / 288.7 MB, free: 4.426 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.04168, allocations: 0 / 288.7 MB, free: 4.426 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.166e-06/0.04168, allocations: 3.984 kB / 288.7 MB, free: 4.422 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00218/0.04387, allocations: 1.101 MB / 289.8 MB, free: 3.285 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.04387, allocations: 0 / 289.8 MB, free: 3.285 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005938/0.04446, allocations: 131.8 kB / 290 MB, free: 3.156 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.04447, allocations: 0 / 290 MB, free: 3.156 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.856e-05/0.0445, allocations: 19.92 kB / 290 MB, free: 3.137 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.04451, allocations: 4 kB / 290 MB, free: 3.133 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.04451, allocations: 0 / 290 MB, free: 3.133 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/0.04641, allocations: 1.006 MB / 291 MB, free: 2.113 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.877e-05/0.04647, allocations: 47.58 kB / 291 MB, free: 2.066 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.332e-05/0.04654, allocations: 15.98 kB / 291.1 MB, free: 2.051 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004062/0.04694, allocations: 23.98 kB / 291.1 MB, free: 2.027 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.04705, allocations: 48.62 kB / 291.1 MB, free: 1.98 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.611e-05/0.04709, allocations: 16 kB / 291.1 MB, free: 1.965 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.000205/0.04729, allocations: 181.2 kB / 291.3 MB, free: 1.785 MB / 270.1 MB Notification: Performance of sort global known variables: time 8e-08/0.04729, allocations: 0 / 291.3 MB, free: 1.785 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005785/0.04787, allocations: 179.6 kB / 291.5 MB, free: 1.609 MB / 270.1 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.0002622/0.04814, allocations: 159 kB / 291.7 MB, free: 1.445 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001185/0.04932, allocations: 0.5091 MB / 292.2 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.04932, allocations: 0 / 292.2 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005497/0.04987, allocations: 243.6 kB / 292.4 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005061/0.05038, allocations: 48.66 kB / 292.5 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002238/0.05262, allocations: 1.038 MB / 293.5 MB, free: 15.58 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.0529, allocations: 249.1 kB / 293.7 MB, free: 15.31 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0003708/0.05327, allocations: 75.34 kB / 293.8 MB, free: 15.23 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.05342, allocations: 44.48 kB / 293.8 MB, free: 15.19 MB / 286.1 MB Notification: Performance of SimCode: time 3.61e-07/0.05342, allocations: 4 kB / 293.9 MB, free: 15.19 MB / 286.1 MB Notification: Performance of Templates: time 0.01138/0.0648, allocations: 4.916 MB / 298.8 MB, free: 10.36 MB / 286.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.351245936006308]