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.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 3.2.3+maint.om/package.mo", uses=false) 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.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_3.2.3_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_3.2.3_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.001439/0.001439, allocations: 110.6 kB / 18.4 MB, free: 4.676 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.001678/0.001678, allocations: 190 kB / 19.34 MB, free: 3.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.272/1.272, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 51.91 kB / 329.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06854/0.06976, allocations: 46.62 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.004934/0.07473, allocations: 4.133 MB / 380 MB, free: 428 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1455/0.2202, allocations: 1.663 MB / 381.6 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003216/0.2206, allocations: 11 kB / 381.6 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002077/0.2227, allocations: 1.02 MB / 382.7 MB, free: 9.559 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005943/0.2233, allocations: 227.8 kB / 382.9 MB, free: 9.469 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001471/0.2248, allocations: 0.7974 MB / 383.7 MB, free: 9.336 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006987/0.2255, allocations: 0.6257 MB / 384.3 MB, free: 9.188 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006916/0.2262, allocations: 0.4948 MB / 384.8 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003995/0.2266, allocations: 271.7 kB / 385.1 MB, free: 9.062 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004116/0.227, allocations: 338.7 kB / 385.4 MB, free: 8.914 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.492e-05/0.2271, allocations: 56.73 kB / 385.4 MB, free: 8.914 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005175/0.2276, allocations: 259.5 kB / 385.7 MB, free: 8.848 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.238e-05/0.2278, allocations: 136.2 kB / 385.8 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002597/0.228, allocations: 307.6 kB / 386.1 MB, free: 8.578 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009604/0.229, allocations: 0.9059 MB / 387 MB, free: 8.266 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.229, allocations: 1.219 kB / 387 MB, free: 8.266 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.229, allocations: 0 / 387 MB, free: 8.266 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.74e-05/0.229, allocations: 4 kB / 387 MB, free: 8.262 MB / 318.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.003596/0.2326, allocations: 1.202 MB / 388.2 MB, free: 7.559 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.2327, allocations: 10.33 kB / 388.3 MB, free: 7.559 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001225/0.2339, allocations: 175.2 kB / 388.4 MB, free: 7.508 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.2341, allocations: 241.1 kB / 388.7 MB, free: 7.258 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.307e-05/0.2341, allocations: 53.59 kB / 388.7 MB, free: 7.234 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.2343, allocations: 71.81 kB / 388.8 MB, free: 7.207 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.2356, allocations: 0.7055 MB / 389.5 MB, free: 6.895 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.2356, allocations: 1.156 kB / 389.5 MB, free: 6.895 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.258e-05/0.2357, allocations: 26.12 kB / 389.5 MB, free: 6.875 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.2357, allocations: 16.62 kB / 389.5 MB, free: 6.875 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001291/0.237, allocations: 0.6027 MB / 390.1 MB, free: 6.672 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003029/0.24, allocations: 2.304 MB / 392.4 MB, free: 5.176 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/0.2414, allocations: 1.635 MB / 394.1 MB, free: 3.727 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005329/0.2419, allocations: 274.5 kB / 394.3 MB, free: 3.617 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.442e-05/0.2421, allocations: 94.86 kB / 394.4 MB, free: 3.523 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.2421, allocations: 47.73 kB / 394.5 MB, free: 3.473 MB / 318.1 MB Notification: Performance of pre-optimization done (n=66): time 2.224e-06/0.2421, allocations: 0 / 394.5 MB, free: 3.473 MB / 318.1 MB Notification: Performance of matching and sorting (n=66): time 0.001594/0.2437, allocations: 0.7036 MB / 395.2 MB, free: 3.195 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.2437, allocations: 115 kB / 395.3 MB, free: 3.066 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002579/0.244, allocations: 252.4 kB / 395.5 MB, free: 2.914 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.721e-05/0.244, allocations: 36.81 kB / 395.6 MB, free: 2.875 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.2442, allocations: 269.1 kB / 395.8 MB, free: 2.656 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.2443, allocations: 220.2 kB / 396.1 MB, free: 2.488 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/0.2445, allocations: 119.3 kB / 396.2 MB, free: 2.422 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.756e-05/0.2445, allocations: 351.1 kB / 396.5 MB, free: 2.09 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004971/0.245, allocations: 214.1 kB / 396.7 MB, free: 2.016 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005433/0.2456, allocations: 299.6 kB / 397 MB, free: 1.859 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.2466, allocations: 0.5093 MB / 397.5 MB, free: 1.602 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.2466, allocations: 7.938 kB / 397.5 MB, free: 1.594 MB / 318.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001258/0.2479, allocations: 0.6274 MB / 398.2 MB, free: 1.336 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.2479, allocations: 5.969 kB / 398.2 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.423e-06/0.2479, allocations: 1.844 kB / 398.2 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.2479, allocations: 6.125 kB / 398.2 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007126/0.2487, allocations: 161 kB / 398.3 MB, free: 1.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.2487, allocations: 5.438 kB / 398.3 MB, free: 1.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004995/0.2492, allocations: 77.45 kB / 398.4 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.706e-05/0.2492, allocations: 24.34 kB / 398.4 MB, free: 1.27 MB / 318.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.0001881/0.2494, allocations: 187.2 kB / 398.6 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.87e-05/0.2495, allocations: 38.36 kB / 398.7 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/0.2508, allocations: 0.608 MB / 399.3 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.2508, allocations: 7.406 kB / 399.3 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2509, allocations: 1.562 kB / 399.3 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.312e-05/0.2509, allocations: 123.6 kB / 399.4 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.719e-05/0.251, allocations: 11.7 kB / 399.4 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004183/0.2514, allocations: 28.42 kB / 399.4 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.938e-05/0.2515, allocations: 43.52 kB / 399.5 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001383/0.2529, allocations: 0.745 MB / 400.2 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001875/0.2548, allocations: 1.065 MB / 401.3 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005161/0.2553, allocations: 249.9 kB / 401.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002014/0.2556, allocations: 190 kB / 401.7 MB, free: 15.53 MB / 334.1 MB Notification: Performance of Backend: time 4.2e-07/0.2556, allocations: 64 / 401.7 MB, free: 15.53 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001419/0.257, allocations: 0.5191 MB / 402.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of SimCode: time 0.001492/0.2585, allocations: 1.262 MB / 403.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of Templates: time 0.01492/0.2734, allocations: 8.841 MB / 412.3 MB, free: 10.31 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins1/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/jenkins1/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) Reference file matches