Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001052/0.001053, allocations: 178.9 kB / 8.476 MB, free: 1.875 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.456/1.456, allocations: 205.2 MB / 214.1 MB, free: 5.168 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000921/0.000921, allocations: 93.91 kB / 262.1 MB, free: 5.203 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.781e-06/5.821e-06, allocations: 0 / 315 MB, free: 41.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07527/0.07529, allocations: 47.58 MB / 362.6 MB, free: 9.965 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2185/0.2939, allocations: 80.72 MB / 443.3 MB, free: 10.77 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/0.2941, allocations: 82.47 kB / 443.4 MB, free: 10.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.04269/0.3368, allocations: 20.05 MB / 463.4 MB, free: 3.816 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.033e-05/0.3369, allocations: 10.38 kB / 463.4 MB, free: 3.816 MB / 314.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.002988/0.3399, allocations: 0.9737 MB / 464.4 MB, free: 3.137 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.34, allocations: 12.91 kB / 464.4 MB, free: 3.133 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001566/0.3415, allocations: 229.6 kB / 464.6 MB, free: 3.039 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.3418, allocations: 232.3 kB / 464.9 MB, free: 2.793 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.035e-05/0.3419, allocations: 24.03 kB / 464.9 MB, free: 2.793 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001595/0.342, allocations: 46.03 kB / 464.9 MB, free: 2.789 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001171/0.3432, allocations: 0.5778 MB / 465.5 MB, free: 2.75 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.3443, allocations: 0.6217 MB / 466.1 MB, free: 2.574 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.883e-05/0.3444, allocations: 1.375 kB / 466.1 MB, free: 2.574 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.656e-05/0.3444, allocations: 0 / 466.1 MB, free: 2.574 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.782e-05/0.3445, allocations: 17.88 kB / 466.1 MB, free: 2.574 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004016/0.3485, allocations: 3.031 MB / 469.2 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001221/0.3497, allocations: 0.6537 MB / 469.8 MB, free: 0.5 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004262/0.3502, allocations: 265.6 kB / 470.1 MB, free: 480 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.763e-05/0.3503, allocations: 103.2 kB / 470.2 MB, free: 376 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.3503, allocations: 41.97 kB / 470.2 MB, free: 336 kB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 2.284e-06/0.3503, allocations: 0 / 470.2 MB, free: 336 kB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.001388/0.3517, allocations: 0.5842 MB / 470.8 MB, free: 188 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.3518, allocations: 115 kB / 470.9 MB, free: 56 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/0.352, allocations: 216.5 kB / 471.1 MB, free: 15.94 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.195e-05/0.3521, allocations: 25.7 kB / 471.2 MB, free: 15.91 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/0.3523, allocations: 282.2 kB / 471.4 MB, free: 15.68 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001825/0.3524, allocations: 241.3 kB / 471.7 MB, free: 15.5 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/0.3525, allocations: 0 / 471.7 MB, free: 15.5 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.3526, allocations: 353.9 kB / 472 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003357/0.353, allocations: 192.7 kB / 472.2 MB, free: 15.16 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004149/0.3534, allocations: 337.7 kB / 472.5 MB, free: 15 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006754/0.3541, allocations: 269.8 kB / 472.8 MB, free: 14.95 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.3541, allocations: 2.25 kB / 472.8 MB, free: 14.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001549/0.3556, allocations: 0.7327 MB / 473.5 MB, free: 14.77 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.3557, allocations: 8.344 kB / 473.5 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.3557, allocations: 4.75 kB / 473.5 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003815/0.3561, allocations: 117.9 kB / 473.7 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007253/0.3568, allocations: 164.7 kB / 473.8 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003028/0.3599, allocations: 3.216 MB / 477 MB, free: 11.99 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006085/0.3605, allocations: 81.19 kB / 477.1 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.858e-05/0.3606, allocations: 30.8 kB / 477.1 MB, free: 11.94 MB / 330.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.0001687/0.3607, allocations: 127.1 kB / 477.3 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.3609, allocations: 38.78 kB / 477.3 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001512/0.3624, allocations: 0.6775 MB / 478 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.3624, allocations: 11.88 kB / 478 MB, free: 11.6 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.3624, allocations: 3.156 kB / 478 MB, free: 11.6 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.3624, allocations: 3.984 kB / 478 MB, free: 11.6 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002431/0.3649, allocations: 1.379 MB / 479.4 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.3649, allocations: 3.984 kB / 479.4 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005734/0.3655, allocations: 125 kB / 479.5 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003003/0.3658, allocations: 103.6 kB / 479.6 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.357e-05/0.3658, allocations: 6.344 kB / 479.6 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002424/0.3683, allocations: 2.915 MB / 482.5 MB, free: 8.121 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.3683, allocations: 7.906 kB / 482.5 MB, free: 8.113 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001757/0.37, allocations: 1.032 MB / 483.6 MB, free: 7.336 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.3702, allocations: 123.8 kB / 483.7 MB, free: 7.199 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.938e-05/0.3703, allocations: 0 / 483.7 MB, free: 7.199 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004726/0.3708, allocations: 23.97 kB / 483.7 MB, free: 7.176 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.3709, allocations: 51.41 kB / 483.8 MB, free: 7.133 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.303e-05/0.3709, allocations: 19.42 kB / 483.8 MB, free: 7.117 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001541/0.3711, allocations: 166.4 kB / 483.9 MB, free: 6.984 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008725/0.372, allocations: 194.7 kB / 484.1 MB, free: 6.797 MB / 330.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.000264/0.3722, allocations: 141.7 kB / 484.3 MB, free: 6.656 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001233/0.3735, allocations: 0.7521 MB / 485 MB, free: 5.938 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3735, allocations: 0 / 485 MB, free: 5.938 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006011/0.3741, allocations: 491 kB / 485.5 MB, free: 5.438 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.3744, allocations: 8.438 kB / 485.5 MB, free: 5.43 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/0.3765, allocations: 0.8314 MB / 486.3 MB, free: 4.574 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00064/0.3771, allocations: 0.9352 MB / 487.3 MB, free: 3.617 MB / 330.7 MB Notification: Performance of SimCode: time 2.8e-07/0.3771, allocations: 0 / 487.3 MB, free: 3.617 MB / 330.7 MB Notification: Performance of Templates: time 0.0135/0.3906, allocations: 7.507 MB / 494.8 MB, free: 12.14 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins/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_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches