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.001365/0.001365, allocations: 82.5 kB / 21.43 MB, free: 296 kB / 14.72 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.001443/0.001443, allocations: 160.6 kB / 24.7 MB, free: 3.551 MB / 14.72 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 1.433/1.433, allocations: 158.6 MB / 186.5 MB, free: 6.398 MB / 174.1 MB " [Timeout remaining time 178] 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.503e-06/1.503e-06, allocations: 0 / 299 MB, free: 8.719 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.476e-05/2.626e-05, allocations: 2.281 kB / 299 MB, free: 8.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005763/0.005789, allocations: 3.737 MB / 302.7 MB, free: 4.949 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003425/0.009214, allocations: 1.581 MB / 304.3 MB, free: 3.355 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005942/0.009809, allocations: 8 kB / 304.3 MB, free: 3.348 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002889/0.0127, allocations: 1.003 MB / 305.3 MB, free: 2.34 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001054/0.01375, allocations: 242 kB / 305.5 MB, free: 2.102 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001828/0.01558, allocations: 0.7083 MB / 306.2 MB, free: 1.391 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001095/0.01667, allocations: 0.6527 MB / 306.9 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008902/0.01756, allocations: 439.4 kB / 307.3 MB, free: 312 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008718/0.01844, allocations: 391.1 kB / 307.7 MB, free: 15.92 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005152/0.01895, allocations: 263.3 kB / 308 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001263/0.01908, allocations: 52 kB / 308 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000633/0.01971, allocations: 251.6 kB / 308.2 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001462/0.01986, allocations: 135.4 kB / 308.4 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003539/0.02021, allocations: 207.5 kB / 308.6 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002028/0.02224, allocations: 0.9539 MB / 309.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.215e-05/0.02225, allocations: 4 kB / 309.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.02225, allocations: 0 / 309.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.549e-05/0.02231, allocations: 0 / 309.5 MB, free: 14.07 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.00478/0.02709, allocations: 1.141 MB / 310.7 MB, free: 12.9 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.02714, allocations: 11.98 kB / 310.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001203/0.02834, allocations: 176.4 kB / 310.9 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003752/0.02872, allocations: 189.6 kB / 311.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.596e-05/0.0288, allocations: 54.38 kB / 311.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/0.02896, allocations: 64.38 kB / 311.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001784/0.03074, allocations: 0.7291 MB / 311.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.741e-05/0.03078, allocations: 4.188 kB / 311.9 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.52e-05/0.03085, allocations: 24.38 kB / 311.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.413e-05/0.03088, allocations: 19.94 kB / 311.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00144/0.03232, allocations: 0.5946 MB / 312.5 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003705/0.03602, allocations: 1.768 MB / 314.3 MB, free: 9.172 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/0.0375, allocations: 0.6644 MB / 315 MB, free: 8.496 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005674/0.03807, allocations: 251.6 kB / 315.2 MB, free: 8.246 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00011/0.03818, allocations: 20.64 kB / 315.2 MB, free: 8.223 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.03822, allocations: 43.16 kB / 315.3 MB, free: 8.172 MB / 302.1 MB Notification: Performance of pre-optimization done (n=66): time 2.505e-06/0.03822, allocations: 0 / 315.3 MB, free: 8.172 MB / 302.1 MB Notification: Performance of matching and sorting (n=66): time 0.001853/0.04007, allocations: 0.7046 MB / 316 MB, free: 7.465 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.04018, allocations: 111.5 kB / 316.1 MB, free: 7.328 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004146/0.0406, allocations: 248 kB / 316.3 MB, free: 7.074 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.938e-05/0.04065, allocations: 37.7 kB / 316.4 MB, free: 7.031 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002121/0.04086, allocations: 268.7 kB / 316.6 MB, free: 6.762 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002174/0.04108, allocations: 238.1 kB / 316.9 MB, free: 6.527 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002479/0.04133, allocations: 118.6 kB / 317 MB, free: 6.402 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.04152, allocations: 342.8 kB / 317.3 MB, free: 6.059 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005429/0.04206, allocations: 209.9 kB / 317.5 MB, free: 5.855 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006374/0.0427, allocations: 327.1 kB / 317.8 MB, free: 5.508 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.04386, allocations: 0.5146 MB / 318.4 MB, free: 4.977 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.04386, allocations: 3.938 kB / 318.4 MB, free: 4.973 MB / 302.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001453/0.04531, allocations: 0.6337 MB / 319 MB, free: 4.332 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.04534, allocations: 7.938 kB / 319 MB, free: 4.324 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.04535, allocations: 4 kB / 319 MB, free: 4.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.04537, allocations: 4 kB / 319 MB, free: 4.316 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007798/0.04615, allocations: 159.7 kB / 319.2 MB, free: 4.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/0.04616, allocations: 7.984 kB / 319.2 MB, free: 4.152 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005321/0.04669, allocations: 79.72 kB / 319.3 MB, free: 4.074 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.267e-05/0.04675, allocations: 20 kB / 319.3 MB, free: 4.055 MB / 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.0002864/0.04703, allocations: 189.7 kB / 319.5 MB, free: 3.859 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.04714, allocations: 39.7 kB / 319.5 MB, free: 3.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001487/0.04863, allocations: 0.6064 MB / 320.1 MB, free: 3.203 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/0.04864, allocations: 11.94 kB / 320.1 MB, free: 3.191 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.04865, allocations: 0 / 320.1 MB, free: 3.191 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.04866, allocations: 3.984 kB / 320.1 MB, free: 3.188 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002451/0.05111, allocations: 1.105 MB / 321.2 MB, free: 2.047 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.05112, allocations: 0 / 321.2 MB, free: 2.047 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006089/0.05172, allocations: 127.9 kB / 321.3 MB, free: 1.922 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.267e-06/0.05173, allocations: 4 kB / 321.4 MB, free: 1.918 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.383e-05/0.05178, allocations: 12 kB / 321.4 MB, free: 1.906 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.396e-06/0.05179, allocations: 7.938 kB / 321.4 MB, free: 1.898 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.05179, allocations: 0 / 321.4 MB, free: 1.898 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001912/0.0537, allocations: 0.9823 MB / 322.4 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.804e-05/0.0538, allocations: 47.61 kB / 322.4 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.957e-05/0.05387, allocations: 12 kB / 322.4 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004188/0.05429, allocations: 31.97 kB / 322.4 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.0544, allocations: 44.58 kB / 322.5 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.861e-05/0.05444, allocations: 24.05 kB / 322.5 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000207/0.05465, allocations: 173.2 kB / 322.7 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.05465, allocations: 0 / 322.7 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006067/0.05525, allocations: 183.6 kB / 322.9 MB, free: 404 kB / 302.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.0002921/0.05555, allocations: 143 kB / 323 MB, free: 248 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.1473/0.2028, allocations: 0.4965 MB / 323.5 MB, free: 34.5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.293e-06/0.2028, allocations: 0 / 323.5 MB, free: 34.5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005763/0.2034, allocations: 253.8 kB / 323.7 MB, free: 34.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005822/0.204, allocations: 42.91 kB / 323.8 MB, free: 34.5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.2061, allocations: 1.022 MB / 324.8 MB, free: 34.11 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.2064, allocations: 245.4 kB / 325 MB, free: 34.02 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003331/0.2067, allocations: 83.52 kB / 325.1 MB, free: 34.02 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/0.2069, allocations: 46.41 kB / 325.2 MB, free: 34 MB / 302.1 MB Notification: Performance of SimCode: time 7.52e-07/0.2069, allocations: 1.031 kB / 325.2 MB, free: 34 MB / 302.1 MB Notification: Performance of Templates: time 0.01107/0.2179, allocations: 4.841 MB / 330 MB, free: 33.36 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.6585813164711]