Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Force.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.FluxTubes.Shapes.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|position.s|hollowCylinderAxialFlux.F_m|cuboidParallelFlux.F_m|cuboidOrthogonalFlux.F_m|hollowCylinderRadialFlux.F_m|leakageAroundPoles.F_m",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Force") translateModel(ModelicaTest.FluxTubes.Shapes.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|position.s|hollowCylinderAxialFlux.F_m|cuboidParallelFlux.F_m|cuboidOrthogonalFlux.F_m|hollowCylinderRadialFlux.F_m|leakageAroundPoles.F_m",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Force") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002431/0.002431, allocations: 172.5 kB / 8.147 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.711/1.711, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001244/0.001243, allocations: 91.78 kB / 261.8 MB, free: 13.64 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2627/0.2627, allocations: 43.51 MB / 353.2 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.776e-06/9.007e-06, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2748, allocations: 58.84 MB / 476.5 MB, free: 5.074 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1541/0.429, allocations: 89.2 MB / 0.5525 GB, free: 9.887 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/0.4293, allocations: 71.95 kB / 0.5525 GB, free: 9.816 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.0243/0.4536, allocations: 5.275 MB / 0.5577 GB, free: 4.512 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.631e-05/0.4537, allocations: 15.17 kB / 0.5577 GB, free: 4.5 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001589/0.4553, allocations: 0.6078 MB / 0.5583 GB, free: 3.848 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.4553, allocations: 12.03 kB / 0.5583 GB, free: 3.836 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.4555, allocations: 43.44 kB / 0.5584 GB, free: 3.793 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004897/0.456, allocations: 286.5 kB / 0.5586 GB, free: 3.473 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.456, allocations: 12 kB / 0.5586 GB, free: 3.461 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.137e-05/0.4561, allocations: 24 kB / 0.5587 GB, free: 3.438 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008201/0.4569, allocations: 249.5 kB / 0.5589 GB, free: 3.195 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007754/0.4577, allocations: 258.2 kB / 0.5592 GB, free: 2.934 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.4578, allocations: 4 kB / 0.5592 GB, free: 2.93 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.385e-05/0.4578, allocations: 0 / 0.5592 GB, free: 2.93 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/0.4578, allocations: 8 kB / 0.5592 GB, free: 2.922 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003496/0.4613, allocations: 1.276 MB / 0.5604 GB, free: 1.562 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006224/0.462, allocations: 228.7 kB / 0.5606 GB, free: 1.332 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003599/0.4624, allocations: 137.8 kB / 0.5608 GB, free: 1.195 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.7e-05/0.4624, allocations: 4.281 kB / 0.5608 GB, free: 1.191 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.4625, allocations: 30.84 kB / 0.5608 GB, free: 1.152 MB / 394.7 MB Notification: Performance of pre-optimization done (n=34): time 2.765e-06/0.4625, allocations: 0 / 0.5608 GB, free: 1.152 MB / 394.7 MB Notification: Performance of matching and sorting (n=34): time 0.000754/0.4632, allocations: 243.8 kB / 0.561 GB, free: 0.9102 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.4633, allocations: 51.41 kB / 0.5611 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002916/0.4636, allocations: 204 kB / 0.5613 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/0.4636, allocations: 25.7 kB / 0.5613 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.4638, allocations: 250.5 kB / 0.5615 GB, free: 372 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.4639, allocations: 114.3 kB / 0.5616 GB, free: 256 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.403e-05/0.464, allocations: 0 / 0.5616 GB, free: 256 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.4641, allocations: 326.8 kB / 0.562 GB, free: 15.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002683/0.4644, allocations: 80.88 kB / 0.562 GB, free: 15.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000341/0.4647, allocations: 146.7 kB / 0.5622 GB, free: 15.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003246/0.4651, allocations: 101.5 kB / 0.5623 GB, free: 15.58 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.4651, allocations: 11.88 kB / 0.5623 GB, free: 15.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007902/0.4659, allocations: 283.2 kB / 0.5625 GB, free: 15.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.4659, allocations: 4 kB / 0.5626 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.4659, allocations: 4 kB / 0.5626 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.466, allocations: 3.906 kB / 0.5626 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/0.467, allocations: 112.1 kB / 0.5627 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.4671, allocations: 4 kB / 0.5627 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004036/0.4675, allocations: 27.73 kB / 0.5627 GB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-05/0.4675, allocations: 16 kB / 0.5627 GB, free: 15.11 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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 9.548e-05/0.4676, allocations: 37.52 kB / 0.5627 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.928e-05/0.4678, allocations: 27.7 kB / 0.5628 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008218/0.4686, allocations: 276.2 kB / 0.563 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.4686, allocations: 0 / 0.563 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.4686, allocations: 7.984 kB / 0.563 GB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.4686, allocations: 0 / 0.563 GB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006428/0.4693, allocations: 337.8 kB / 0.5634 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.4693, allocations: 0 / 0.5634 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008566/0.4702, allocations: 91.81 kB / 0.5635 GB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.4702, allocations: 4 kB / 0.5635 GB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.218e-05/0.4702, allocations: 4 kB / 0.5635 GB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.271e-06/0.4703, allocations: 4 kB / 0.5635 GB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.4703, allocations: 3.906 kB / 0.5635 GB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001042/0.4713, allocations: 450.8 kB / 0.5639 GB, free: 13.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001864/0.4715, allocations: 132.7 kB / 0.564 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.565e-05/0.4716, allocations: 0 / 0.564 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000406/0.472, allocations: 12.06 kB / 0.564 GB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.02e-05/0.4721, allocations: 15.97 kB / 0.5641 GB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.899e-05/0.4722, allocations: 15.98 kB / 0.5641 GB, free: 13.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0002066/0.4724, allocations: 156.4 kB / 0.5642 GB, free: 13.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004881/0.4729, allocations: 87.59 kB / 0.5643 GB, free: 13.39 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (position.s,position.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 35 * 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.0001492/0.473, allocations: 95.19 kB / 0.5644 GB, free: 13.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006671/0.4737, allocations: 236 kB / 0.5646 GB, free: 13.06 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4737, allocations: 0 / 0.5646 GB, free: 13.06 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003012/0.4741, allocations: 116.5 kB / 0.5647 GB, free: 12.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.4744, allocations: 20.42 kB / 0.5647 GB, free: 12.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00195/0.4764, allocations: 0.5618 MB / 0.5653 GB, free: 12.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006329/0.477, allocations: 0.8376 MB / 0.5661 GB, free: 11.48 MB / 410.7 MB Notification: Performance of SimCode: time 8.12e-07/0.477, allocations: 0 / 0.5661 GB, free: 11.48 MB / 410.7 MB Notification: Performance of Templates: time 0.00892/0.486, allocations: 3.718 MB / 0.5697 GB, free: 7.77 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Force.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Force.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Force --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/Force/Force.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches