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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 106.3 kB / 17.16 MB, free: 6.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002035/0.002036, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 222.9 MB / 241.8 MB, free: 15.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00107/0.00107, allocations: 38.5 kB / 300.6 MB, free: 6.32 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08969/0.09078, allocations: 49.46 MB / 350.1 MB, free: 4.855 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005192/0.09601, allocations: 4.172 MB / 354.2 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002703/0.09875, allocations: 1.639 MB / 355.9 MB, free: 15.01 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003785/0.09915, allocations: 12 kB / 355.9 MB, free: 15 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002194/0.1014, allocations: 0.9407 MB / 356.8 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007239/0.1021, allocations: 198.7 kB / 357 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001624/0.1038, allocations: 0.7779 MB / 357.8 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007262/0.1045, allocations: 0.5949 MB / 358.4 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007567/0.1053, allocations: 457.7 kB / 358.9 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004043/0.1057, allocations: 251 kB / 359.1 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004573/0.1061, allocations: 330.7 kB / 359.4 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.1063, allocations: 40 kB / 359.5 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006245/0.1069, allocations: 251.7 kB / 359.7 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.107, allocations: 115.5 kB / 359.8 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003005/0.1073, allocations: 298.5 kB / 360.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007691/0.1081, allocations: 0.6977 MB / 360.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1081, allocations: 0 / 360.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1081, allocations: 0 / 360.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.681e-05/0.1082, allocations: 0 / 360.8 MB, free: 10.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.003944/0.1121, allocations: 1.202 MB / 362 MB, free: 8.812 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.1122, allocations: 16.02 kB / 362 MB, free: 8.797 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/0.1133, allocations: 172.1 kB / 362.2 MB, free: 8.629 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/0.1136, allocations: 244.1 kB / 362.4 MB, free: 8.348 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.653e-05/0.1137, allocations: 50.38 kB / 362.5 MB, free: 8.301 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.1138, allocations: 68.38 kB / 362.5 MB, free: 8.234 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/0.1152, allocations: 0.7114 MB / 363.3 MB, free: 7.504 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/0.1152, allocations: 0 / 363.3 MB, free: 7.504 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.021e-05/0.1153, allocations: 27.94 kB / 363.3 MB, free: 7.477 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/0.1153, allocations: 16 kB / 363.3 MB, free: 7.461 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001313/0.1166, allocations: 0.6064 MB / 363.9 MB, free: 6.852 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003547/0.1202, allocations: 2.324 MB / 366.2 MB, free: 4.395 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/0.1219, allocations: 1.625 MB / 367.9 MB, free: 2.539 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000527/0.1224, allocations: 279.3 kB / 368.1 MB, free: 2.262 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001441/0.1226, allocations: 93.66 kB / 368.2 MB, free: 2.152 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.1226, allocations: 39.12 kB / 368.3 MB, free: 2.105 MB / 302.1 MB Notification: Performance of pre-optimization done (n=66): time 2.595e-06/0.1226, allocations: 0 / 368.3 MB, free: 2.105 MB / 302.1 MB Notification: Performance of matching and sorting (n=66): time 0.001644/0.1243, allocations: 0.7016 MB / 369 MB, free: 1.398 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.18e-05/0.1243, allocations: 111.4 kB / 369.1 MB, free: 1.266 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002942/0.1246, allocations: 260.9 kB / 369.3 MB, free: 1.004 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.14e-05/0.1247, allocations: 37.7 kB / 369.4 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.1248, allocations: 268 kB / 369.6 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/0.125, allocations: 216.8 kB / 369.8 MB, free: 492 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/0.1252, allocations: 126.7 kB / 370 MB, free: 360 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.1253, allocations: 346.8 kB / 370.3 MB, free: 4 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1706/0.2959, allocations: 202.9 kB / 370.5 MB, free: 25.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000664/0.2966, allocations: 303.2 kB / 370.8 MB, free: 25.29 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.2977, allocations: 0.5144 MB / 371.3 MB, free: 25.22 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.2977, allocations: 0 / 371.3 MB, free: 25.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001442/0.2991, allocations: 0.6287 MB / 371.9 MB, free: 25.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.2992, allocations: 6.078 kB / 371.9 MB, free: 25.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.2992, allocations: 1.781 kB / 371.9 MB, free: 25.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.2992, allocations: 5.75 kB / 371.9 MB, free: 25.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007687/0.3, allocations: 162.1 kB / 372.1 MB, free: 25.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.3, allocations: 5.344 kB / 372.1 MB, free: 25.17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005002/0.3005, allocations: 72.38 kB / 372.2 MB, free: 25.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.697e-05/0.3006, allocations: 25.52 kB / 372.2 MB, free: 25.17 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.0002233/0.3008, allocations: 195.4 kB / 372.4 MB, free: 25.04 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.3009, allocations: 38.89 kB / 372.4 MB, free: 25.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001437/0.3024, allocations: 0.6021 MB / 373 MB, free: 24.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.3024, allocations: 6.812 kB / 373 MB, free: 24.79 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.3024, allocations: 0 / 373 MB, free: 24.79 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.3024, allocations: 5.031 kB / 373 MB, free: 24.79 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002075/0.3045, allocations: 1.293 MB / 374.3 MB, free: 24.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.3045, allocations: 1.375 kB / 374.3 MB, free: 24.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005849/0.3051, allocations: 132.1 kB / 374.5 MB, free: 24.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.3052, allocations: 10.5 kB / 374.5 MB, free: 24.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.556e-05/0.3052, allocations: 15.33 kB / 374.5 MB, free: 24.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.3052, allocations: 3.5 kB / 374.5 MB, free: 24.07 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.3052, allocations: 6.453 kB / 374.5 MB, free: 24.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001631/0.3068, allocations: 0.9754 MB / 375.5 MB, free: 23.55 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.721e-05/0.307, allocations: 127 kB / 375.6 MB, free: 23.42 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.644e-05/0.307, allocations: 16.19 kB / 375.6 MB, free: 23.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004083/0.3074, allocations: 28.55 kB / 375.6 MB, free: 23.4 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.3076, allocations: 40.42 kB / 375.7 MB, free: 23.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.58e-05/0.3076, allocations: 22.19 kB / 375.7 MB, free: 23.39 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001985/0.3078, allocations: 190.3 kB / 375.9 MB, free: 23.28 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.3078, allocations: 0 / 375.9 MB, free: 23.28 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006101/0.3085, allocations: 181.2 kB / 376.1 MB, free: 23.23 MB / 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.0002536/0.3087, allocations: 147.3 kB / 376.2 MB, free: 23.13 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001185/0.3099, allocations: 0.5301 MB / 376.7 MB, free: 22.96 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3099, allocations: 0 / 376.7 MB, free: 22.96 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005319/0.3105, allocations: 276.5 kB / 377 MB, free: 22.88 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000566/0.311, allocations: 48.45 kB / 377.1 MB, free: 22.85 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002266/0.3133, allocations: 1.371 MB / 378.4 MB, free: 21.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.3136, allocations: 0.8467 MB / 379.3 MB, free: 21.27 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002107/0.3138, allocations: 48.86 kB / 379.3 MB, free: 21.27 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3139, allocations: 3.828 kB / 379.3 MB, free: 21.27 MB / 302.1 MB Notification: Performance of Templates: time 0.01182/0.3257, allocations: 6.703 MB / 386 MB, free: 19.39 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/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) Reference file matches