Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001902/0.001902, allocations: 86.09 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002236/0.002236, allocations: 157.1 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 177 MB / 204.1 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0.6562 kB / 325 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.025e-05/2.205e-05, allocations: 2.281 kB / 325 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005323/0.005345, allocations: 3.804 MB / 328.8 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002966/0.008311, allocations: 1.641 MB / 330.5 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001869/0.008498, allocations: 10.62 kB / 330.5 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002455/0.01095, allocations: 0.9911 MB / 331.5 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005752/0.01153, allocations: 253 kB / 331.7 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001641/0.01317, allocations: 0.7255 MB / 332.4 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006648/0.01384, allocations: 0.6305 MB / 333.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006895/0.01452, allocations: 431 kB / 333.5 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005526/0.01508, allocations: 387.1 kB / 333.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003786/0.01546, allocations: 250.8 kB / 334.1 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.929e-05/0.01554, allocations: 53.72 kB / 334.2 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005206/0.01606, allocations: 280.6 kB / 334.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.01618, allocations: 130.7 kB / 334.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002354/0.01642, allocations: 219.5 kB / 334.8 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001192/0.01761, allocations: 0.9742 MB / 335.7 MB, free: 9.445 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.01761, allocations: 0 / 335.7 MB, free: 9.445 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01762, allocations: 0 / 335.7 MB, free: 9.445 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.01762, allocations: 0.875 kB / 335.7 MB, free: 9.445 MB / 302.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.003842/0.02146, allocations: 1.153 MB / 336.9 MB, free: 8.637 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.0215, allocations: 12.98 kB / 336.9 MB, free: 8.633 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001306/0.02281, allocations: 172.9 kB / 337.1 MB, free: 8.551 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.02304, allocations: 193.4 kB / 337.3 MB, free: 8.352 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.509e-05/0.02309, allocations: 54.08 kB / 337.3 MB, free: 8.324 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.02321, allocations: 67.64 kB / 337.4 MB, free: 8.301 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.02459, allocations: 0.7276 MB / 338.1 MB, free: 7.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/0.02461, allocations: 1.219 kB / 338.1 MB, free: 7.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-05/0.02468, allocations: 34.03 kB / 338.2 MB, free: 7.812 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.904e-05/0.0247, allocations: 19.97 kB / 338.2 MB, free: 7.809 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001355/0.02606, allocations: 0.6006 MB / 338.8 MB, free: 7.234 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003395/0.02945, allocations: 1.784 MB / 340.6 MB, free: 5.391 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001414/0.03086, allocations: 0.6698 MB / 341.2 MB, free: 4.707 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005215/0.03139, allocations: 243.6 kB / 341.5 MB, free: 4.465 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001386/0.03152, allocations: 28.64 kB / 341.5 MB, free: 4.438 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/0.03156, allocations: 47.14 kB / 341.5 MB, free: 4.383 MB / 302.1 MB Notification: Performance of pre-optimization done (n=66): time 2.254e-06/0.03157, allocations: 0 / 341.5 MB, free: 4.383 MB / 302.1 MB Notification: Performance of matching and sorting (n=66): time 0.001708/0.03327, allocations: 0.7084 MB / 342.2 MB, free: 3.664 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.956e-05/0.03335, allocations: 115.5 kB / 342.4 MB, free: 3.527 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000301/0.03365, allocations: 244 kB / 342.6 MB, free: 3.277 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.034e-05/0.0337, allocations: 37.7 kB / 342.6 MB, free: 3.234 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001993/0.0339, allocations: 272.7 kB / 342.9 MB, free: 2.961 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001994/0.0341, allocations: 230 kB / 343.1 MB, free: 2.734 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002162/0.03432, allocations: 122.6 kB / 343.2 MB, free: 2.605 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.03451, allocations: 350.9 kB / 343.6 MB, free: 2.254 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005133/0.03502, allocations: 213.8 kB / 343.8 MB, free: 2.047 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000611/0.03563, allocations: 323.1 kB / 344.1 MB, free: 1.699 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.03676, allocations: 0.5146 MB / 344.6 MB, free: 1.164 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.03676, allocations: 0 / 344.6 MB, free: 1.164 MB / 302.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0014/0.03816, allocations: 0.6416 MB / 345.3 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.03818, allocations: 11.94 kB / 345.3 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.03819, allocations: 0 / 345.3 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.03821, allocations: 4 kB / 345.3 MB, free: 0.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007601/0.03897, allocations: 155.8 kB / 345.4 MB, free: 356 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.03898, allocations: 4 kB / 345.4 MB, free: 352 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004864/0.03947, allocations: 75.53 kB / 345.5 MB, free: 276 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-05/0.03952, allocations: 28.02 kB / 345.5 MB, free: 248 kB / 302.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.0002525/0.03977, allocations: 185.7 kB / 345.7 MB, free: 52 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.03988, allocations: 39.7 kB / 345.8 MB, free: 12 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001422/0.0413, allocations: 0.6064 MB / 346.4 MB, free: 15.39 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.04131, allocations: 8 kB / 346.4 MB, free: 15.39 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.04132, allocations: 0 / 346.4 MB, free: 15.39 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.04133, allocations: 7.984 kB / 346.4 MB, free: 15.38 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002206/0.04354, allocations: 1.105 MB / 347.5 MB, free: 14.24 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.04354, allocations: 4 kB / 347.5 MB, free: 14.24 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006131/0.04415, allocations: 127.8 kB / 347.6 MB, free: 14.11 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.638e-06/0.04416, allocations: 4 kB / 347.6 MB, free: 14.11 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.991e-05/0.0442, allocations: 15.98 kB / 347.6 MB, free: 14.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.309e-06/0.04421, allocations: 8 kB / 347.6 MB, free: 14.09 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.04421, allocations: 0 / 347.6 MB, free: 14.09 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001799/0.04601, allocations: 0.9745 MB / 348.6 MB, free: 13.1 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.786e-05/0.04609, allocations: 51.59 kB / 348.7 MB, free: 13.05 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.708e-05/0.04615, allocations: 12 kB / 348.7 MB, free: 13.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004106/0.04656, allocations: 35.97 kB / 348.7 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.04668, allocations: 44.58 kB / 348.8 MB, free: 12.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.856e-05/0.04672, allocations: 19.98 kB / 348.8 MB, free: 12.94 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001954/0.04691, allocations: 181.2 kB / 349 MB, free: 12.76 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.04691, allocations: 0 / 349 MB, free: 12.76 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006196/0.04753, allocations: 179.6 kB / 349.1 MB, free: 12.58 MB / 318.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.0002726/0.0478, allocations: 151 kB / 349.3 MB, free: 12.42 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001167/0.04897, allocations: 0.5052 MB / 349.8 MB, free: 11.91 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.04897, allocations: 3.938 kB / 349.8 MB, free: 11.91 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005219/0.0495, allocations: 251.6 kB / 350 MB, free: 11.66 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005671/0.05006, allocations: 43.11 kB / 350.1 MB, free: 11.63 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002176/0.05224, allocations: 1.006 MB / 351.1 MB, free: 10.59 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.05253, allocations: 249.1 kB / 351.3 MB, free: 10.32 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003333/0.05286, allocations: 71.34 kB / 351.4 MB, free: 10.25 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/0.05303, allocations: 48.48 kB / 351.4 MB, free: 10.21 MB / 318.1 MB Notification: Performance of SimCode: time 5.41e-07/0.05303, allocations: 4 kB / 351.4 MB, free: 10.2 MB / 318.1 MB Notification: Performance of Templates: time 0.01149/0.06452, allocations: 4.981 MB / 356.4 MB, free: 5.305 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.492324128746986]