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.0008329/0.0008329, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 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.00356/0.00356, allocations: 141 kB / 24.68 MB, free: 9.43 MB / 18.57 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 0.8275/0.8275, allocations: 173.4 MB / 201.2 MB, free: 9.441 MB / 186.7 MB " [Timeout remaining time 179] 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.232e-06/1.232e-06, allocations: 0 / 319.7 MB, free: 5.867 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.856e-05/1.979e-05, allocations: 5.516 kB / 319.7 MB, free: 5.863 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.003217/0.003237, allocations: 3.784 MB / 323.5 MB, free: 2.055 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001498/0.004734, allocations: 1.541 MB / 325 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.004858, allocations: 16 kB / 325 MB, free: 500 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001197/0.006055, allocations: 0.9874 MB / 326 MB, free: 15.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002823/0.006338, allocations: 238.1 kB / 326.3 MB, free: 15.26 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007718/0.007109, allocations: 0.7547 MB / 327 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003774/0.007487, allocations: 0.6453 MB / 327.7 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000448/0.007935, allocations: 439.4 kB / 328.1 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002899/0.008225, allocations: 395.1 kB / 328.5 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002398/0.008464, allocations: 263.2 kB / 328.7 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.807e-05/0.008513, allocations: 52 kB / 328.8 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002812/0.008794, allocations: 251.6 kB / 329 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.224e-05/0.008856, allocations: 131.5 kB / 329.2 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.008979, allocations: 215.4 kB / 329.4 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006449/0.009624, allocations: 0.9502 MB / 330.3 MB, free: 11.19 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.009626, allocations: 0 / 330.3 MB, free: 11.19 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.009627, allocations: 4 kB / 330.3 MB, free: 11.19 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.009632, allocations: 0 / 330.3 MB, free: 11.19 MB / 298.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.001749/0.01138, allocations: 1.133 MB / 331.5 MB, free: 10.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.01141, allocations: 12.92 kB / 331.5 MB, free: 10.01 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005372/0.01195, allocations: 180.4 kB / 331.6 MB, free: 9.836 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.01207, allocations: 193.6 kB / 331.8 MB, free: 9.617 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.1e-05/0.0121, allocations: 50.38 kB / 331.9 MB, free: 9.566 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.898e-05/0.01217, allocations: 64.38 kB / 331.9 MB, free: 9.504 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007634/0.01293, allocations: 0.729 MB / 332.7 MB, free: 8.754 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.01295, allocations: 4.141 kB / 332.7 MB, free: 8.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.06e-05/0.01299, allocations: 32.38 kB / 332.7 MB, free: 8.719 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.013, allocations: 19.94 kB / 332.7 MB, free: 8.699 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000736/0.01374, allocations: 0.6024 MB / 333.3 MB, free: 8.098 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001796/0.01553, allocations: 1.756 MB / 335.1 MB, free: 6.281 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007568/0.01629, allocations: 0.6703 MB / 335.8 MB, free: 5.605 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002978/0.01659, allocations: 250.6 kB / 336 MB, free: 5.359 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.472e-05/0.01665, allocations: 16.64 kB / 336 MB, free: 5.344 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.01667, allocations: 43.16 kB / 336.1 MB, free: 5.293 MB / 298.7 MB Notification: Performance of pre-optimization done (n=66): time 1.463e-06/0.01668, allocations: 0 / 336.1 MB, free: 5.293 MB / 298.7 MB Notification: Performance of matching and sorting (n=66): time 0.0009298/0.01761, allocations: 0.7046 MB / 336.8 MB, free: 4.582 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.01765, allocations: 119.6 kB / 336.9 MB, free: 4.441 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.01782, allocations: 248 kB / 337.1 MB, free: 4.184 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.01785, allocations: 37.7 kB / 337.2 MB, free: 4.141 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.01797, allocations: 272.6 kB / 337.4 MB, free: 3.867 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.01807, allocations: 237.9 kB / 337.7 MB, free: 3.633 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.01819, allocations: 114.7 kB / 337.8 MB, free: 3.512 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.102e-05/0.01828, allocations: 346.8 kB / 338.1 MB, free: 3.164 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002865/0.01856, allocations: 209.9 kB / 338.3 MB, free: 2.961 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000331/0.0189, allocations: 331 kB / 338.6 MB, free: 2.605 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006023/0.0195, allocations: 0.5068 MB / 339.1 MB, free: 2.074 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.0195, allocations: 4.031 kB / 339.2 MB, free: 2.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.000734/0.02023, allocations: 0.6297 MB / 339.8 MB, free: 1.434 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.02025, allocations: 7.938 kB / 339.8 MB, free: 1.426 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.02025, allocations: 7.984 kB / 339.8 MB, free: 1.418 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.02027, allocations: 4.188 kB / 339.8 MB, free: 1.414 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003612/0.02063, allocations: 159.8 kB / 340 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.02064, allocations: 4 kB / 340 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002092/0.02085, allocations: 71.56 kB / 340 MB, free: 1.184 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.02087, allocations: 23.98 kB / 340.1 MB, free: 1.16 MB / 298.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.0001435/0.02101, allocations: 185.7 kB / 340.2 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.851e-05/0.02106, allocations: 39.7 kB / 340.3 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007347/0.0218, allocations: 0.6103 MB / 340.9 MB, free: 316 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.0218, allocations: 8 kB / 340.9 MB, free: 308 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.02181, allocations: 4 kB / 340.9 MB, free: 304 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.02181, allocations: 11.92 kB / 340.9 MB, free: 292 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/0.02305, allocations: 1.101 MB / 342 MB, free: 15.15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.02305, allocations: 3.938 kB / 342 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002834/0.02334, allocations: 131.8 kB / 342.1 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.305e-06/0.02334, allocations: 4 kB / 342.1 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/0.02337, allocations: 16 kB / 342.2 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.02337, allocations: 0 / 342.2 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.02337, allocations: 0 / 342.2 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009914/0.02437, allocations: 0.9745 MB / 343.1 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.971e-05/0.02441, allocations: 51.66 kB / 343.2 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.463e-05/0.02444, allocations: 16.06 kB / 343.2 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.02462, allocations: 27.97 kB / 343.2 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.357e-05/0.02468, allocations: 52.5 kB / 343.3 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/0.0247, allocations: 19.98 kB / 343.3 MB, free: 13.84 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001051/0.02481, allocations: 181.2 kB / 343.5 MB, free: 13.67 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02481, allocations: 0 / 343.5 MB, free: 13.67 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003288/0.02513, allocations: 179.6 kB / 343.7 MB, free: 13.49 MB / 314.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.0001858/0.02532, allocations: 147.1 kB / 343.8 MB, free: 13.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006341/0.02595, allocations: 0.5052 MB / 344.3 MB, free: 12.83 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.02596, allocations: 0 / 344.3 MB, free: 12.83 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002772/0.02623, allocations: 251.6 kB / 344.5 MB, free: 12.59 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.02657, allocations: 49.16 kB / 344.6 MB, free: 12.54 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.02779, allocations: 1.059 MB / 345.7 MB, free: 11.45 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.02793, allocations: 249.1 kB / 345.9 MB, free: 11.18 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.02806, allocations: 52.48 kB / 345.9 MB, free: 11.13 MB / 314.7 MB Notification: Performance of SimCode: time 3.8e-07/0.02806, allocations: 0 / 345.9 MB, free: 11.13 MB / 314.7 MB Notification: Performance of Templates: time 0.005763/0.03382, allocations: 7.01 MB / 353 MB, free: 4.145 MB / 314.7 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.264484623447061]