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.001513/0.001513, allocations: 110.5 kB / 17.75 MB, free: 5.309 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.001783/0.001783, allocations: 183 kB / 18.67 MB, free: 4.395 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.343/1.343, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009706/0.0009706, allocations: 51.92 kB / 352 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.2999, allocations: 49.44 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.00852/0.3085, allocations: 4.181 MB / 405.6 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003676/0.3122, allocations: 1.635 MB / 407.2 MB, free: 3.023 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002076/0.3124, allocations: 12 kB / 407.2 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002673/0.3151, allocations: 1.011 MB / 408.3 MB, free: 2 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005839/0.3157, allocations: 242.2 kB / 408.5 MB, free: 1.762 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001884/0.3176, allocations: 0.7935 MB / 409.3 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005135/0.3181, allocations: 0.6222 MB / 409.9 MB, free: 352 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006624/0.3188, allocations: 0.4965 MB / 410.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002869/0.3191, allocations: 259.1 kB / 410.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003763/0.3194, allocations: 338.7 kB / 411 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.13e-05/0.3195, allocations: 56 kB / 411 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004172/0.3199, allocations: 267.7 kB / 411.3 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.761e-05/0.3201, allocations: 135.5 kB / 411.4 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002396/0.3203, allocations: 310.5 kB / 411.7 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008715/0.3212, allocations: 0.9188 MB / 412.7 MB, free: 13.58 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.3212, allocations: 0 / 412.7 MB, free: 13.58 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3212, allocations: 0 / 412.7 MB, free: 13.58 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.3212, allocations: 0 / 412.7 MB, free: 13.58 MB / 334.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.0035/0.3247, allocations: 1.21 MB / 413.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.3248, allocations: 8.031 kB / 413.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/0.326, allocations: 176 kB / 414.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.3262, allocations: 236.9 kB / 414.3 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.735e-05/0.3262, allocations: 50.38 kB / 414.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.727e-05/0.3263, allocations: 64.38 kB / 414.4 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/0.3276, allocations: 0.7154 MB / 415.1 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.3276, allocations: 3.906 kB / 415.1 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.14e-05/0.3277, allocations: 24 kB / 415.1 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.3277, allocations: 16 kB / 415.2 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.329, allocations: 0.6064 MB / 415.8 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003159/0.3321, allocations: 2.308 MB / 418.1 MB, free: 7.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001633/0.3338, allocations: 1.626 MB / 419.7 MB, free: 6.078 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005275/0.3343, allocations: 271.4 kB / 420 MB, free: 5.805 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000105/0.3345, allocations: 93.66 kB / 420 MB, free: 5.695 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.3345, allocations: 39.12 kB / 420.1 MB, free: 5.648 MB / 334.1 MB Notification: Performance of pre-optimization done (n=66): time 3.296e-06/0.3345, allocations: 4 kB / 420.1 MB, free: 5.645 MB / 334.1 MB Notification: Performance of matching and sorting (n=66): time 0.00159/0.3361, allocations: 0.7015 MB / 420.8 MB, free: 4.941 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.097e-05/0.3362, allocations: 115.4 kB / 420.9 MB, free: 4.805 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002562/0.3364, allocations: 256.9 kB / 421.2 MB, free: 4.543 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.791e-05/0.3365, allocations: 37.83 kB / 421.2 MB, free: 4.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.3366, allocations: 271.9 kB / 421.5 MB, free: 4.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001504/0.3368, allocations: 216.8 kB / 421.7 MB, free: 4.016 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001934/0.337, allocations: 122.5 kB / 421.8 MB, free: 3.891 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.3371, allocations: 346.8 kB / 422.1 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005018/0.3376, allocations: 213.9 kB / 422.3 MB, free: 3.332 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005606/0.3382, allocations: 305.4 kB / 422.6 MB, free: 3.008 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.3392, allocations: 0.5103 MB / 423.1 MB, free: 2.473 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.3392, allocations: 3.938 kB / 423.2 MB, free: 2.469 MB / 334.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001261/0.3405, allocations: 0.6296 MB / 423.8 MB, free: 1.832 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.3405, allocations: 4 kB / 423.8 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.3405, allocations: 4 kB / 423.8 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.3405, allocations: 4 kB / 423.8 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007462/0.3413, allocations: 159.7 kB / 423.9 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.3413, allocations: 4.188 kB / 424 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004891/0.3418, allocations: 83.25 kB / 424 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-05/0.3419, allocations: 20 kB / 424.1 MB, free: 1.559 MB / 334.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.0002095/0.3421, allocations: 194.3 kB / 424.2 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.512e-05/0.3422, allocations: 31.62 kB / 424.3 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0013/0.3435, allocations: 0.6084 MB / 424.9 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-06/0.3435, allocations: 3.984 kB / 424.9 MB, free: 0.707 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.3435, allocations: 0 / 424.9 MB, free: 0.707 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.529e-05/0.3436, allocations: 128.5 kB / 425 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.48e-05/0.3437, allocations: 12 kB / 425 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004247/0.3441, allocations: 23.98 kB / 425 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.337e-05/0.3442, allocations: 44.44 kB / 425.1 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001471/0.3457, allocations: 0.7479 MB / 425.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001706/0.3474, allocations: 1.056 MB / 426.9 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004748/0.3479, allocations: 244.4 kB / 427.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001812/0.3481, allocations: 192.5 kB / 427.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of Backend: time 1.572e-06/0.3481, allocations: 0 / 427.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001296/0.3494, allocations: 0.5294 MB / 427.8 MB, free: 13.69 MB / 350.1 MB Notification: Performance of SimCode: time 0.001394/0.3508, allocations: 1.272 MB / 429.1 MB, free: 12.37 MB / 350.1 MB Notification: Performance of Templates: time 0.01422/0.365, allocations: 8.908 MB / 438 MB, free: 3.52 MB / 350.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