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.001325/0.001325, allocations: 75.75 kB / 21.97 MB, free: 2.598 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.001061/0.001061, allocations: 166.1 kB / 25.33 MB, free: 9.078 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 0.956/0.956, allocations: 158.6 MB / 187.2 MB, free: 2.953 MB / 170.7 MB " [Timeout remaining time 179] 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.803e-06/1.803e-06, allocations: 0 / 251 MB, free: 7.523 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.305e-05/2.486e-05, allocations: 2.312 kB / 251 MB, free: 7.52 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.003973/0.003998, allocations: 4.124 MB / 255.2 MB, free: 3.371 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002394/0.006392, allocations: 1.64 MB / 256.8 MB, free: 1.719 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002165/0.006609, allocations: 11.94 kB / 256.8 MB, free: 1.707 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001632/0.008241, allocations: 1.065 MB / 257.9 MB, free: 0.6328 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004506/0.008692, allocations: 254 kB / 258.1 MB, free: 392 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.0097, allocations: 0.7239 MB / 258.9 MB, free: 15.66 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004907/0.01019, allocations: 0.6491 MB / 259.5 MB, free: 15 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005471/0.01074, allocations: 439.4 kB / 259.9 MB, free: 14.57 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003627/0.0111, allocations: 391.2 kB / 260.3 MB, free: 14.18 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00029/0.01139, allocations: 259.3 kB / 260.6 MB, free: 13.93 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.033e-05/0.01145, allocations: 52 kB / 260.6 MB, free: 13.88 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003877/0.01184, allocations: 263.5 kB / 260.9 MB, free: 13.62 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.405e-05/0.01191, allocations: 135.4 kB / 261 MB, free: 13.49 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001372/0.01205, allocations: 207.5 kB / 261.2 MB, free: 13.29 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006179/0.01267, allocations: 0.6656 MB / 261.9 MB, free: 12.62 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.01267, allocations: 0 / 261.9 MB, free: 12.62 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.01267, allocations: 0 / 261.9 MB, free: 12.62 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.01268, allocations: 0 / 261.9 MB, free: 12.62 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.001939/0.01462, allocations: 1.253 MB / 263.1 MB, free: 11.32 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.01465, allocations: 11.98 kB / 263.1 MB, free: 11.31 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007098/0.01536, allocations: 300.1 kB / 263.4 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.0155, allocations: 180.5 kB / 263.6 MB, free: 10.82 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.342e-05/0.01554, allocations: 46.38 kB / 263.7 MB, free: 10.77 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.928e-05/0.01562, allocations: 68.38 kB / 263.7 MB, free: 10.71 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006972/0.01631, allocations: 0.5897 MB / 264.3 MB, free: 10.09 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.01633, allocations: 192 / 264.3 MB, free: 10.09 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.041e-05/0.01637, allocations: 28.38 kB / 264.3 MB, free: 10.06 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.01638, allocations: 19.94 kB / 264.4 MB, free: 10.04 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000736/0.01712, allocations: 315.6 kB / 264.7 MB, free: 9.734 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001888/0.01901, allocations: 1.809 MB / 266.5 MB, free: 7.855 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006587/0.01967, allocations: 0.5705 MB / 267 MB, free: 7.266 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001889/0.01986, allocations: 153.3 kB / 267.2 MB, free: 7.109 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.258e-05/0.01993, allocations: 20.64 kB / 267.2 MB, free: 7.09 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.01996, allocations: 49.98 kB / 267.3 MB, free: 7.027 MB / 250.7 MB Notification: Performance of pre-optimization done (n=66): time 1.744e-06/0.01996, allocations: 0 / 267.3 MB, free: 7.027 MB / 250.7 MB Notification: Performance of matching and sorting (n=66): time 0.0006504/0.02061, allocations: 473.6 kB / 267.7 MB, free: 6.562 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.02065, allocations: 107.5 kB / 267.8 MB, free: 6.434 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.02083, allocations: 290.6 kB / 268.1 MB, free: 6.129 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.02086, allocations: 41.83 kB / 268.2 MB, free: 6.082 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.02098, allocations: 323.3 kB / 268.5 MB, free: 5.762 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.02109, allocations: 234 kB / 268.7 MB, free: 5.531 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.02123, allocations: 124.3 kB / 268.8 MB, free: 5.402 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.02136, allocations: 0.5235 MB / 269.3 MB, free: 4.867 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.02152, allocations: 105.9 kB / 269.4 MB, free: 4.766 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/0.02175, allocations: 253.7 kB / 269.7 MB, free: 4.477 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003923/0.02215, allocations: 350.8 kB / 270 MB, free: 4.109 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.02215, allocations: 0 / 270 MB, free: 4.109 MB / 250.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0005323/0.02268, allocations: 476.9 kB / 270.5 MB, free: 3.637 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.0227, allocations: 11.94 kB / 270.5 MB, free: 3.625 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.0227, allocations: 0 / 270.5 MB, free: 3.625 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.02272, allocations: 4 kB / 270.5 MB, free: 3.621 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003645/0.02308, allocations: 152 kB / 270.7 MB, free: 3.473 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.02309, allocations: 8 kB / 270.7 MB, free: 3.465 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/0.02329, allocations: 71.5 kB / 270.7 MB, free: 3.395 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.681e-05/0.02331, allocations: 23.98 kB / 270.8 MB, free: 3.371 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.0001253/0.02344, allocations: 188.5 kB / 271 MB, free: 3.176 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.271e-05/0.02351, allocations: 63.7 kB / 271 MB, free: 3.113 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005202/0.02403, allocations: 445.1 kB / 271.5 MB, free: 2.668 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.259e-06/0.02404, allocations: 8 kB / 271.5 MB, free: 2.66 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.02404, allocations: 0 / 271.5 MB, free: 2.66 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.02405, allocations: 3.984 kB / 271.5 MB, free: 2.656 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001293/0.02534, allocations: 0.9673 MB / 272.4 MB, free: 1.645 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.02534, allocations: 4 kB / 272.4 MB, free: 1.641 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002696/0.02561, allocations: 119.8 kB / 272.6 MB, free: 1.523 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.02562, allocations: 11.98 kB / 272.6 MB, free: 1.512 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.507e-05/0.02564, allocations: 20 kB / 272.6 MB, free: 1.492 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.02564, allocations: 4 kB / 272.6 MB, free: 1.488 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.02565, allocations: 0 / 272.6 MB, free: 1.488 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006869/0.02633, allocations: 0.7639 MB / 273.4 MB, free: 0.707 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.862e-05/0.02637, allocations: 47.56 kB / 273.4 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/0.02641, allocations: 12 kB / 273.4 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.02656, allocations: 23.98 kB / 273.4 MB, free: 0.625 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.841e-05/0.02663, allocations: 40.58 kB / 273.5 MB, free: 0.582 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.02665, allocations: 27.97 kB / 273.5 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001003/0.02675, allocations: 205.2 kB / 273.7 MB, free: 364 kB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02675, allocations: 0 / 273.7 MB, free: 364 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003398/0.02709, allocations: 175.6 kB / 273.9 MB, free: 188 kB / 250.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.0001736/0.02727, allocations: 147.1 kB / 274 MB, free: 32 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004575/0.02772, allocations: 367 kB / 274.4 MB, free: 15.67 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.02772, allocations: 0 / 274.4 MB, free: 15.67 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001974/0.02792, allocations: 192.6 kB / 274.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.02823, allocations: 61.03 kB / 274.6 MB, free: 15.42 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.02968, allocations: 1.002 MB / 275.6 MB, free: 14.39 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.535e-05/0.02976, allocations: 124.8 kB / 275.7 MB, free: 14.24 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001998/0.02996, allocations: 79.33 kB / 275.8 MB, free: 14.16 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.03007, allocations: 40.48 kB / 275.9 MB, free: 14.12 MB / 266.7 MB Notification: Performance of SimCode: time 9.02e-07/0.03007, allocations: 0 / 275.9 MB, free: 14.12 MB / 266.7 MB Notification: Performance of Templates: time 0.007193/0.03726, allocations: 4.881 MB / 280.7 MB, free: 9.277 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","",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.8493627673015]