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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 181.8 kB / 8.136 MB, free: 0.8789 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.155/1.155, allocations: 221.4 MB / 229.9 MB, free: 13.51 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008881/0.0008881, allocations: 96.67 kB / 280.8 MB, free: 10.44 MB / 226.8 MB Notification: Performance of FrontEnd - loaded program: time 6.021e-06/6.061e-06, allocations: 0 / 336.5 MB, free: 2.723 MB / 274.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08201/0.08203, allocations: 50.41 MB / 386.9 MB, free: 276 kB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2084/0.2905, allocations: 83.04 MB / 470 MB, free: 14.65 MB / 354.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002213/0.2908, allocations: 83.95 kB / 470.1 MB, free: 14.57 MB / 354.8 MB Notification: Performance of FrontEnd: time 0.04691/0.3377, allocations: 19.07 MB / 489.1 MB, free: 11.46 MB / 370.8 MB Notification: Performance of Transformations before backend: time 1.516e-05/0.3377, allocations: 8 kB / 489.1 MB, free: 11.46 MB / 370.8 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.002588/0.3403, allocations: 0.9504 MB / 490.1 MB, free: 10.46 MB / 370.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.3404, allocations: 8.031 kB / 490.1 MB, free: 10.46 MB / 370.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001221/0.3416, allocations: 191.1 kB / 490.3 MB, free: 10.27 MB / 370.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.3418, allocations: 231 kB / 490.5 MB, free: 10 MB / 370.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.993e-05/0.3419, allocations: 20 kB / 490.5 MB, free: 9.98 MB / 370.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-05/0.342, allocations: 43.91 kB / 490.6 MB, free: 9.938 MB / 370.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009538/0.3429, allocations: 0.5155 MB / 491.1 MB, free: 9.422 MB / 370.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009554/0.3439, allocations: 0.5631 MB / 491.6 MB, free: 8.844 MB / 370.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.3439, allocations: 3.938 kB / 491.7 MB, free: 8.84 MB / 370.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.28e-05/0.344, allocations: 0 / 491.7 MB, free: 8.84 MB / 370.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.344, allocations: 16 kB / 491.7 MB, free: 8.824 MB / 370.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003352/0.3474, allocations: 2.24 MB / 493.9 MB, free: 6.465 MB / 370.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/0.3486, allocations: 0.5946 MB / 494.5 MB, free: 5.859 MB / 370.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003224/0.3489, allocations: 215.7 kB / 494.7 MB, free: 5.641 MB / 370.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001369/0.349, allocations: 101.7 kB / 494.8 MB, free: 5.52 MB / 370.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.3491, allocations: 43.22 kB / 494.9 MB, free: 5.469 MB / 370.8 MB Notification: Performance of pre-optimization done (n=66): time 2.164e-06/0.3491, allocations: 0 / 494.9 MB, free: 5.469 MB / 370.8 MB Notification: Performance of matching and sorting (n=66): time 0.001068/0.3502, allocations: 467.6 kB / 495.3 MB, free: 5.008 MB / 370.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.3502, allocations: 111.5 kB / 495.4 MB, free: 4.871 MB / 370.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002294/0.3505, allocations: 214.9 kB / 495.6 MB, free: 4.652 MB / 370.8 MB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.3505, allocations: 33.67 kB / 495.7 MB, free: 4.613 MB / 370.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.3506, allocations: 251.9 kB / 495.9 MB, free: 4.359 MB / 370.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000164/0.3508, allocations: 216.8 kB / 496.1 MB, free: 4.145 MB / 370.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.91e-05/0.3508, allocations: 0 / 496.1 MB, free: 4.145 MB / 370.8 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.351, allocations: 347.7 kB / 496.5 MB, free: 3.797 MB / 370.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003002/0.3513, allocations: 169.5 kB / 496.6 MB, free: 3.633 MB / 370.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003786/0.3517, allocations: 257.8 kB / 496.9 MB, free: 3.359 MB / 370.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005861/0.3523, allocations: 235 kB / 497.1 MB, free: 3.133 MB / 370.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3523, allocations: 0 / 497.1 MB, free: 3.133 MB / 370.8 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001157/0.3534, allocations: 0.5659 MB / 497.7 MB, free: 2.562 MB / 370.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.3535, allocations: 8 kB / 497.7 MB, free: 2.555 MB / 370.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.3535, allocations: 0 / 497.7 MB, free: 2.555 MB / 370.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.3535, allocations: 4 kB / 497.7 MB, free: 2.551 MB / 370.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008144/0.3543, allocations: 164.6 kB / 497.8 MB, free: 2.391 MB / 370.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.3543, allocations: 10.69 kB / 497.9 MB, free: 2.383 MB / 370.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005045/0.3549, allocations: 67.34 kB / 497.9 MB, free: 2.316 MB / 370.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.282e-05/0.3549, allocations: 27.98 kB / 497.9 MB, free: 2.289 MB / 370.8 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001243/0.355, allocations: 120.8 kB / 498.1 MB, free: 2.164 MB / 370.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.166e-05/0.3551, allocations: 31.62 kB / 498.1 MB, free: 2.133 MB / 370.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001131/0.3563, allocations: 0.5387 MB / 498.6 MB, free: 1.59 MB / 370.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.3563, allocations: 4 kB / 498.6 MB, free: 1.586 MB / 370.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.3563, allocations: 11.19 kB / 498.7 MB, free: 1.578 MB / 370.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.3563, allocations: 3.984 kB / 498.7 MB, free: 1.574 MB / 370.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002025/0.3584, allocations: 1.174 MB / 499.8 MB, free: 348 kB / 370.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.3584, allocations: 0 / 499.8 MB, free: 348 kB / 370.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006598/0.359, allocations: 139.8 kB / 500 MB, free: 208 kB / 370.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.186e-06/0.3591, allocations: 4 kB / 500 MB, free: 204 kB / 370.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.641e-05/0.3591, allocations: 4 kB / 500 MB, free: 200 kB / 370.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.3591, allocations: 4 kB / 500 MB, free: 196 kB / 370.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.3591, allocations: 4.656 kB / 500 MB, free: 192 kB / 370.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001404/0.3605, allocations: 0.9012 MB / 0.4891 GB, free: 15.26 MB / 386.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.3607, allocations: 120.6 kB / 0.4893 GB, free: 15.12 MB / 386.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.194e-05/0.3607, allocations: 0 / 0.4893 GB, free: 15.12 MB / 386.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004422/0.3612, allocations: 26.02 kB / 0.4893 GB, free: 15.1 MB / 386.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.3613, allocations: 44.64 kB / 0.4893 GB, free: 15.06 MB / 386.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.201e-05/0.3613, allocations: 19.98 kB / 0.4893 GB, free: 15.04 MB / 386.8 MB Notification: Performance of sort global known variables: time 0.0001871/0.3615, allocations: 172.4 kB / 0.4895 GB, free: 14.87 MB / 386.8 MB Notification: Performance of remove unused functions: time 0.0006327/0.3622, allocations: 168.4 kB / 0.4897 GB, free: 14.71 MB / 386.8 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002221/0.3624, allocations: 141.7 kB / 0.4898 GB, free: 14.56 MB / 386.8 MB Notification: Performance of simCode: created initialization part: time 0.0007467/0.3632, allocations: 474.9 kB / 0.4903 GB, free: 14.1 MB / 386.8 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.3632, allocations: 384 / 0.4903 GB, free: 14.1 MB / 386.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003327/0.3635, allocations: 242.4 kB / 0.4905 GB, free: 13.86 MB / 386.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.3638, allocations: 28.45 kB / 0.4905 GB, free: 13.84 MB / 386.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/0.3657, allocations: 0.7885 MB / 0.4913 GB, free: 13.02 MB / 386.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006581/0.3664, allocations: 0.9222 MB / 0.4922 GB, free: 12.07 MB / 386.8 MB Notification: Performance of SimCode: time 2.6e-07/0.3664, allocations: 0 / 0.4922 GB, free: 12.07 MB / 386.8 MB Notification: Performance of Templates: time 0.01118/0.3776, allocations: 6.551 MB / 0.4986 GB, free: 5.695 MB / 386.8 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","../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