Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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 trunk/package.mo): time 0.002355/0.002355, allocations: 195.1 kB / 8.537 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.307/1.307, allocations: 225.5 MB / 234.4 MB, free: 3.441 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008217/0.0008217, allocations: 91.31 kB / 286.3 MB, free: 5.246 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.861e-06/6.001e-06, allocations: 0 / 343.2 MB, free: 8.777 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09145/0.09147, allocations: 51.48 MB / 394.6 MB, free: 5.254 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2606/0.3521, allocations: 83.7 MB / 478.3 MB, free: 9.488 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/0.3524, allocations: 86.81 kB / 478.4 MB, free: 9.457 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.04461/0.397, allocations: 20.19 MB / 498.6 MB, free: 9.508 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.649e-05/0.3971, allocations: 12 kB / 498.6 MB, free: 9.496 MB / 362.7 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.002869/0.4, allocations: 0.954 MB / 499.6 MB, free: 8.578 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.4, allocations: 8.031 kB / 499.6 MB, free: 8.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001394/0.4014, allocations: 206.4 kB / 499.8 MB, free: 8.387 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.4017, allocations: 227.5 kB / 0.4883 GB, free: 8.121 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.462e-05/0.4017, allocations: 20 kB / 0.4883 GB, free: 8.102 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/0.4019, allocations: 48.39 kB / 0.4884 GB, free: 8.055 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009944/0.4029, allocations: 0.5127 MB / 0.4889 GB, free: 7.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.4039, allocations: 0.5673 MB / 0.4894 GB, free: 7.309 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/0.404, allocations: 6.875 kB / 0.4894 GB, free: 7.305 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.512e-05/0.404, allocations: 0 / 0.4894 GB, free: 7.305 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.057e-05/0.4041, allocations: 16 kB / 0.4894 GB, free: 7.289 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003726/0.4078, allocations: 2.236 MB / 0.4916 GB, free: 5.484 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001252/0.4091, allocations: 0.6043 MB / 0.4922 GB, free: 5.031 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003455/0.4094, allocations: 219.6 kB / 0.4924 GB, free: 4.871 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001992/0.4096, allocations: 170.9 kB / 0.4926 GB, free: 4.668 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.4097, allocations: 39.22 kB / 0.4926 GB, free: 4.621 MB / 362.7 MB Notification: Performance of pre-optimization done (n=66): time 2.354e-06/0.4097, allocations: 4 kB / 0.4926 GB, free: 4.617 MB / 362.7 MB Notification: Performance of matching and sorting (n=66): time 0.001081/0.4108, allocations: 475.5 kB / 0.4931 GB, free: 4.145 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.4108, allocations: 107.5 kB / 0.4932 GB, free: 4.016 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/0.4111, allocations: 214.9 kB / 0.4934 GB, free: 3.793 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.64e-05/0.4111, allocations: 25.7 kB / 0.4934 GB, free: 3.762 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.4113, allocations: 251.9 kB / 0.4936 GB, free: 3.508 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/0.4114, allocations: 216.8 kB / 0.4939 GB, free: 3.293 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.924e-05/0.4115, allocations: 0 / 0.4939 GB, free: 3.293 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.4116, allocations: 346.8 kB / 0.4942 GB, free: 2.945 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003108/0.4119, allocations: 173.6 kB / 0.4943 GB, free: 2.777 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003557/0.4123, allocations: 257.7 kB / 0.4946 GB, free: 2.504 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006472/0.4129, allocations: 235.1 kB / 0.4948 GB, free: 2.273 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.413, allocations: 0 / 0.4948 GB, free: 2.273 MB / 362.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001151/0.4141, allocations: 0.5619 MB / 0.4954 GB, free: 1.703 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.4141, allocations: 6.344 kB / 0.4954 GB, free: 1.699 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.4142, allocations: 0 / 0.4954 GB, free: 1.699 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/0.4142, allocations: 18.09 kB / 0.4954 GB, free: 1.684 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008243/0.415, allocations: 164 kB / 0.4955 GB, free: 1.523 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.415, allocations: 8 kB / 0.4956 GB, free: 1.516 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005091/0.4155, allocations: 67.34 kB / 0.4956 GB, free: 1.449 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-05/0.4156, allocations: 31.98 kB / 0.4956 GB, free: 1.418 MB / 362.7 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.0001328/0.4158, allocations: 112.8 kB / 0.4958 GB, free: 1.301 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.731e-05/0.4159, allocations: 31.62 kB / 0.4958 GB, free: 1.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/0.4171, allocations: 0.5426 MB / 0.4963 GB, free: 0.7266 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.695e-05/0.4171, allocations: 8 kB / 0.4963 GB, free: 0.7188 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.4171, allocations: 0 / 0.4963 GB, free: 0.7188 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.864e-06/0.4171, allocations: 3.984 kB / 0.4963 GB, free: 0.7148 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001943/0.4191, allocations: 1.182 MB / 0.4975 GB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.4191, allocations: 0 / 0.4975 GB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00067/0.4197, allocations: 139.8 kB / 0.4976 GB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/0.4198, allocations: 4 kB / 0.4976 GB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.621e-05/0.4198, allocations: 0 / 0.4976 GB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.341e-06/0.4198, allocations: 15.84 kB / 0.4976 GB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.4198, allocations: 0 / 0.4976 GB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001378/0.4212, allocations: 0.8973 MB / 0.4985 GB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.4213, allocations: 116.6 kB / 0.4986 GB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.042e-05/0.4214, allocations: 3.906 kB / 0.4986 GB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004378/0.4219, allocations: 28.05 kB / 0.4987 GB, free: 14.24 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.25e-05/0.422, allocations: 40.59 kB / 0.4987 GB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.691e-05/0.422, allocations: 21.2 kB / 0.4987 GB, free: 14.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001514/0.4222, allocations: 168.5 kB / 0.4989 GB, free: 14.01 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005968/0.4228, allocations: 167.5 kB / 0.499 GB, free: 13.85 MB / 378.7 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.0002886/0.4231, allocations: 171 kB / 0.4992 GB, free: 13.67 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007777/0.4239, allocations: 470.9 kB / 0.4996 GB, free: 13.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.4239, allocations: 4 kB / 0.4996 GB, free: 13.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003533/0.4242, allocations: 234.4 kB / 0.4999 GB, free: 12.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.4246, allocations: 24.56 kB / 0.4999 GB, free: 12.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002214/0.4268, allocations: 0.7962 MB / 0.5007 GB, free: 12.13 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008481/0.4277, allocations: 0.9222 MB / 0.5016 GB, free: 11.18 MB / 378.7 MB Notification: Performance of SimCode: time 7.61e-07/0.4277, allocations: 0 / 0.5016 GB, free: 11.18 MB / 378.7 MB Notification: Performance of Templates: time 0.01244/0.4401, allocations: 6.599 MB / 0.508 GB, free: 4.695 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches