Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) 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(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") [: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.0009878/0.0009878, allocations: 178.7 kB / 8.519 MB, free: 1.859 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 221.4 MB / 230.3 MB, free: 7.664 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009305/0.0009305, allocations: 97.84 kB / 281.2 MB, free: 5.461 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1952/0.1952, allocations: 44.15 MB / 376.1 MB, free: 3.227 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.273e-06/7.363e-06, allocations: 224 / 444 MB, free: 15.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1245, allocations: 61.9 MB / 0.4941 GB, free: 1.621 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3606/0.4851, allocations: 89.39 MB / 0.5814 GB, free: 7.359 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003213/0.4855, allocations: 78.45 kB / 0.5815 GB, free: 7.316 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01819/0.5037, allocations: 6.413 MB / 0.5877 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.524e-05/0.5038, allocations: 8 kB / 0.5877 GB, free: 0.8945 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0009302/0.5048, allocations: 0.5296 MB / 0.5882 GB, free: 328 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.5048, allocations: 15.97 kB / 0.5883 GB, free: 312 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.343e-05/0.5049, allocations: 31.62 kB / 0.5883 GB, free: 280 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004481/0.5054, allocations: 286.9 kB / 0.5886 GB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.5054, allocations: 15.94 kB / 0.5886 GB, free: 15.94 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.417e-05/0.5054, allocations: 12 kB / 0.5886 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003956/0.5058, allocations: 185 kB / 0.5888 GB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003532/0.5062, allocations: 199 kB / 0.589 GB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.5062, allocations: 0 / 0.589 GB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.5062, allocations: 0 / 0.589 GB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.5063, allocations: 8 kB / 0.589 GB, free: 15.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.5076, allocations: 0.824 MB / 0.5898 GB, free: 14.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007163/0.5084, allocations: 290.9 kB / 0.59 GB, free: 14.37 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/0.5086, allocations: 120.9 kB / 0.5902 GB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.07e-05/0.5086, allocations: 7.984 kB / 0.5902 GB, free: 14.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.5086, allocations: 38.5 kB / 0.5902 GB, free: 14.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 1.743e-06/0.5087, allocations: 4 kB / 0.5902 GB, free: 14.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.001843/0.5105, allocations: 468.9 kB / 0.5907 GB, free: 13.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.5105, allocations: 59.39 kB / 0.5907 GB, free: 13.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.5107, allocations: 183.8 kB / 0.5909 GB, free: 13.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.5107, allocations: 25.7 kB / 0.5909 GB, free: 13.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.992e-05/0.5108, allocations: 129 kB / 0.591 GB, free: 13.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.706e-05/0.5109, allocations: 106.4 kB / 0.5911 GB, free: 13.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.295e-05/0.5109, allocations: 4 kB / 0.5911 GB, free: 13.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.511, allocations: 334.8 kB / 0.5915 GB, free: 12.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.5112, allocations: 75.86 kB / 0.5915 GB, free: 12.78 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.5113, allocations: 105.8 kB / 0.5916 GB, free: 12.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.5115, allocations: 81.38 kB / 0.5917 GB, free: 12.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.5115, allocations: 3.938 kB / 0.5917 GB, free: 12.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001738/0.5133, allocations: 0.4945 MB / 0.5922 GB, free: 12.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.5133, allocations: 5.094 kB / 0.5922 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.5133, allocations: 0 / 0.5922 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001731/0.515, allocations: 319.1 kB / 0.5925 GB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.5152, allocations: 27.98 kB / 0.5925 GB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006508/0.5217, allocations: 6.06 MB / 0.5985 GB, free: 5.195 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/0.522, allocations: 19.75 kB / 0.5985 GB, free: 5.176 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/0.522, allocations: 12.06 kB / 0.5985 GB, free: 5.164 MB / 410.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hollowCylinderRadialFlux.B:VARIABLE(unit = "T" ) "Magnetic flux density" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hollowCylinderAxialFlux.B:VARIABLE(unit = "T" ) "Magnetic flux density" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: cuboid.B:VARIABLE(unit = "T" ) "Magnetic flux density" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: genericFluxTube.B:VARIABLE(unit = "T" ) "Magnetic flux density" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 11 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001708/0.5222, allocations: 117.8 kB / 0.5986 GB, free: 5.043 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.814e-05/0.5223, allocations: 31.56 kB / 0.5986 GB, free: 5.012 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001738/0.524, allocations: 0.4958 MB / 0.5991 GB, free: 4.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.524, allocations: 0 / 0.5991 GB, free: 4.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.524, allocations: 4 kB / 0.5991 GB, free: 4.496 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.524, allocations: 0 / 0.5991 GB, free: 4.496 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003646/0.5244, allocations: 305.7 kB / 0.5994 GB, free: 4.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.5244, allocations: 0 / 0.5994 GB, free: 4.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001304/0.5246, allocations: 31.97 kB / 0.5994 GB, free: 4.129 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00163/0.5262, allocations: 315.1 kB / 0.5997 GB, free: 3.809 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.108e-05/0.5262, allocations: 4 kB / 0.5997 GB, free: 3.805 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006429/0.5327, allocations: 6.002 MB / 0.6056 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.5327, allocations: 4.062 kB / 0.6056 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001705/0.5344, allocations: 0.5687 MB / 0.6062 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.844e-05/0.5345, allocations: 100.8 kB / 0.6063 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.385e-05/0.5345, allocations: 0 / 0.6063 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/0.5347, allocations: 11.98 kB / 0.6063 GB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.92e-05/0.5348, allocations: 23.88 kB / 0.6063 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.5348, allocations: 8 kB / 0.6063 GB, free: 12.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001261/0.535, allocations: 148.5 kB / 0.6064 GB, free: 12.43 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005115/0.5355, allocations: 99.84 kB / 0.6065 GB, free: 12.33 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,2 4,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001559/0.5356, allocations: 103.2 kB / 0.6066 GB, free: 12.22 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009017/0.5366, allocations: 0.6396 MB / 0.6073 GB, free: 11.54 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5366, allocations: 64 / 0.6073 GB, free: 11.54 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007978/0.5374, allocations: 0.577 MB / 0.6078 GB, free: 10.92 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.5376, allocations: 8.438 kB / 0.6078 GB, free: 10.91 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008934/0.5385, allocations: 380.6 kB / 0.6082 GB, free: 10.51 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003432/0.5389, allocations: 0.7829 MB / 0.609 GB, free: 9.699 MB / 426.7 MB Notification: Performance of SimCode: time 2.284e-06/0.5389, allocations: 0 / 0.609 GB, free: 9.699 MB / 426.7 MB Notification: Performance of Templates: time 0.01195/0.5508, allocations: 7.771 MB / 0.6165 GB, free: 1.977 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches