Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") [: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 3.2.3+maint.om/package.mo): time 0.00164/0.00164, allocations: 182.2 kB / 8.151 MB, free: 2.105 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.749/1.749, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001334/0.001334, allocations: 91.3 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.187e-06/9.288e-06, allocations: 0 / 314.3 MB, free: 9.047 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2425, allocations: 47.56 MB / 361.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1289/0.3714, allocations: 80.72 MB / 442.6 MB, free: 5.332 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000318/0.3718, allocations: 87.94 kB / 442.7 MB, free: 5.246 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.08068/0.4525, allocations: 20.05 MB / 462.7 MB, free: 1.008 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.24e-05/0.4526, allocations: 11.94 kB / 462.7 MB, free: 0.9961 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.004526/0.4571, allocations: 0.9757 MB / 463.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.4572, allocations: 12.03 kB / 463.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002431/0.4597, allocations: 226.9 kB / 463.9 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003367/0.46, allocations: 239.8 kB / 464.2 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.844e-05/0.4601, allocations: 24 kB / 464.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002219/0.4603, allocations: 47.91 kB / 464.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001971/0.4623, allocations: 0.5702 MB / 464.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001771/0.4641, allocations: 0.6177 MB / 465.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.718e-05/0.4642, allocations: 0 / 465.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.314e-05/0.4643, allocations: 4 kB / 465.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.665e-05/0.4643, allocations: 20 kB / 465.4 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007415/0.4717, allocations: 3.023 MB / 468.5 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002291/0.4741, allocations: 0.6612 MB / 469.1 MB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007948/0.4749, allocations: 255.7 kB / 469.4 MB, free: 9.961 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001773/0.4751, allocations: 109.7 kB / 469.5 MB, free: 9.836 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/0.4752, allocations: 39.2 kB / 469.5 MB, free: 9.789 MB / 362.7 MB Notification: Performance of pre-optimization done (n=72): time 3.256e-06/0.4752, allocations: 4 kB / 469.5 MB, free: 9.785 MB / 362.7 MB Notification: Performance of matching and sorting (n=72): time 0.002383/0.4776, allocations: 0.5838 MB / 470.1 MB, free: 9.188 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.478e-05/0.4777, allocations: 115.5 kB / 470.2 MB, free: 9.051 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003699/0.4781, allocations: 216 kB / 470.4 MB, free: 8.836 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.102e-05/0.4781, allocations: 25.7 kB / 470.5 MB, free: 8.805 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002132/0.4784, allocations: 345.9 kB / 470.8 MB, free: 8.461 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002512/0.4786, allocations: 236.4 kB / 471 MB, free: 8.227 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.257e-05/0.4787, allocations: 224 / 471 MB, free: 8.227 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.4788, allocations: 346.7 kB / 471.4 MB, free: 7.879 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006048/0.4795, allocations: 190.9 kB / 471.6 MB, free: 7.691 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007375/0.4802, allocations: 347.1 kB / 471.9 MB, free: 7.305 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.4814, allocations: 272.5 kB / 472.2 MB, free: 7.039 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.4814, allocations: 0 / 472.2 MB, free: 7.039 MB / 362.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002546/0.484, allocations: 0.7266 MB / 472.9 MB, free: 6.297 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.484, allocations: 4 kB / 472.9 MB, free: 6.293 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/0.484, allocations: 4 kB / 472.9 MB, free: 6.289 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000501/0.4845, allocations: 112.4 kB / 473 MB, free: 6.176 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001508/0.4861, allocations: 163.7 kB / 473.2 MB, free: 6.016 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004653/0.4907, allocations: 3.21 MB / 476.4 MB, free: 2.574 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.4918, allocations: 67.47 kB / 476.4 MB, free: 2.508 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.131e-05/0.4919, allocations: 24 kB / 476.5 MB, free: 2.484 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002022/0.4921, allocations: 53.36 kB / 476.5 MB, free: 2.426 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001797/0.4923, allocations: 39.53 kB / 476.6 MB, free: 2.387 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002717/0.495, allocations: 0.6777 MB / 477.2 MB, free: 1.695 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.04e-05/0.4951, allocations: 8 kB / 477.2 MB, free: 1.688 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.4951, allocations: 4 kB / 477.2 MB, free: 1.684 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.4952, allocations: 3.984 kB / 477.2 MB, free: 1.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004148/0.4993, allocations: 1.395 MB / 478.6 MB, free: 228 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/0.4994, allocations: 9.594 kB / 478.7 MB, free: 220 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/0.5005, allocations: 119.9 kB / 478.8 MB, free: 100 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000557/0.5011, allocations: 101.7 kB / 478.9 MB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/0.5012, allocations: 7.938 kB / 478.9 MB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003749/0.505, allocations: 2.911 MB / 481.8 MB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.942e-06/0.505, allocations: 4 kB / 481.8 MB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003074/0.5081, allocations: 1.04 MB / 482.8 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001861/0.5084, allocations: 132.4 kB / 483 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.5085, allocations: 0 / 483 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008518/0.5093, allocations: 32.05 kB / 483 MB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.5095, allocations: 40.58 kB / 483 MB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.832e-05/0.5096, allocations: 16 kB / 483 MB, free: 11.53 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002538/0.5099, allocations: 168.5 kB / 483.2 MB, free: 11.37 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001121/0.511, allocations: 187.4 kB / 483.4 MB, free: 11.18 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (cuboidBottom.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 58 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003617/0.5114, allocations: 159 kB / 483.5 MB, free: 11.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002054/0.5134, allocations: 0.745 MB / 484.3 MB, free: 10.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.5135, allocations: 0 / 484.3 MB, free: 10.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001085/0.5146, allocations: 499.7 kB / 484.8 MB, free: 9.746 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004673/0.5151, allocations: 12.42 kB / 484.8 MB, free: 9.734 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003369/0.5184, allocations: 0.8495 MB / 485.6 MB, free: 8.852 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009597/0.5194, allocations: 0.943 MB / 486.6 MB, free: 7.887 MB / 378.7 MB Notification: Performance of SimCode: time 1.342e-06/0.5195, allocations: 0 / 486.6 MB, free: 7.887 MB / 378.7 MB Notification: Performance of Templates: time 0.02257/0.542, allocations: 11.41 MB / 498 MB, free: 12.5 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_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/CuboidSections/CuboidSections.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches