Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.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.MultiBody.Visualizers.Planes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|surfaceWireframe.nu|surfaceWireframe.nv|surfaceSolid.nu|surfaceSolid.nv",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes") translateModel(ModelicaTest.MultiBody.Visualizers.Planes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|surfaceWireframe.nu|surfaceWireframe.nv|surfaceSolid.nu|surfaceSolid.nv",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes") [: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.0009869/0.0009869, allocations: 182.5 kB / 8.524 MB, free: 1.836 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.253/1.253, allocations: 221.4 MB / 230.3 MB, free: 7.656 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.0008663/0.0008662, allocations: 92.09 kB / 281.2 MB, free: 5.441 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.1611/0.1611, allocations: 44.15 MB / 376.1 MB, free: 3.203 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 9.868e-06/1.019e-05, allocations: 4.219 kB / 444 MB, free: 15.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1124, allocations: 61.9 MB / 0.4941 GB, free: 1.625 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3076/0.42, allocations: 97.46 MB / 0.5893 GB, free: 15.14 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001892/0.4203, allocations: 73.08 kB / 0.5893 GB, free: 15.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.1809/0.6011, allocations: 74 MB / 0.6616 GB, free: 4.473 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001256/0.6013, allocations: 64 kB / 0.6617 GB, free: 4.41 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1485 * Number of variables: 1485 Notification: Performance of Generate backend data structure: time 0.01144/0.6128, allocations: 3.603 MB / 0.6652 GB, free: 0.7422 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.686e-05/0.6129, allocations: 15.97 kB / 0.6652 GB, free: 0.7266 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01365/0.6265, allocations: 2.674 MB / 0.6678 GB, free: 14.04 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006407/0.633, allocations: 2.43 MB / 0.6702 GB, free: 11.57 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001543/0.6332, allocations: 124 kB / 0.6703 GB, free: 11.45 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001589/0.6348, allocations: 204 kB / 0.6705 GB, free: 11.25 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01229/0.6471, allocations: 6.797 MB / 0.6771 GB, free: 4.441 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01634/0.6634, allocations: 8.988 MB / 0.6859 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-05/0.6635, allocations: 19.81 kB / 0.6859 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004768/0.664, allocations: 12 kB / 0.6859 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001221/0.6653, allocations: 1.16 MB / 0.6871 GB, free: 9.902 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1943/0.8595, allocations: 33.14 MB / 0.7194 GB, free: 192.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002537/0.8621, allocations: 2.701 MB / 0.7221 GB, free: 191 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009157/0.8631, allocations: 0.903 MB / 0.7229 GB, free: 191 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001002/0.8641, allocations: 1.625 MB / 0.7245 GB, free: 189.6 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.8641, allocations: 48.95 kB / 0.7246 GB, free: 189.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=164): time 3.587e-06/0.8641, allocations: 3.938 kB / 0.7246 GB, free: 189.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=164): time 0.004054/0.8682, allocations: 2.305 MB / 0.7268 GB, free: 189.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.8682, allocations: 88.86 kB / 0.7269 GB, free: 189.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002736/0.871, allocations: 2.324 MB / 0.7292 GB, free: 189.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.744e-05/0.871, allocations: 25.7 kB / 0.7292 GB, free: 189.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001055/0.8721, allocations: 2.662 MB / 0.7318 GB, free: 187.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003777/0.8725, allocations: 0.6066 MB / 0.7324 GB, free: 187.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.8726, allocations: 0 / 0.7324 GB, free: 187.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002375/0.8729, allocations: 0.5225 MB / 0.7329 GB, free: 187.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001523/0.8744, allocations: 1.442 MB / 0.7343 GB, free: 187.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002672/0.8771, allocations: 4.576 MB / 0.7388 GB, free: 183 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002982/0.8801, allocations: 2.668 MB / 0.7414 GB, free: 183 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-05/0.8801, allocations: 32.56 kB / 0.7414 GB, free: 183 MB / 0.5105 GB Notification: Performance of matching and sorting (n=667) (initialization): time 0.007761/0.8879, allocations: 5.328 MB / 0.7466 GB, free: 182.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.888, allocations: 12.12 kB / 0.7466 GB, free: 182.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001026/0.8881, allocations: 113.2 kB / 0.7468 GB, free: 182.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001224/0.8882, allocations: 161.1 kB / 0.7469 GB, free: 182.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003093/0.8913, allocations: 1.136 MB / 0.748 GB, free: 182.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001189/0.8914, allocations: 216.7 kB / 0.7482 GB, free: 182.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003122/0.8946, allocations: 0.5684 MB / 0.7488 GB, free: 182 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004233/0.895, allocations: 337.6 kB / 0.7491 GB, free: 182 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 513 * Number of states: 0 () * Number of discrete variables: 21 (fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedFrameOfWireframe.color_x[3],fixedFrameOfWireframe.color_x[2],fixedFrameOfWireframe.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (619): * Single equations (assignments): 613 * Array equations: 6 * 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.0005408/0.8955, allocations: 375.9 kB / 0.7495 GB, free: 181.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002964/0.8959, allocations: 243.6 kB / 0.7497 GB, free: 181.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002743/0.8986, allocations: 2.135 MB / 0.7518 GB, free: 181.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.502e-05/0.8987, allocations: 14.91 kB / 0.7518 GB, free: 181.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.8987, allocations: 7.188 kB / 0.7518 GB, free: 181.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/0.8987, allocations: 6.609 kB / 0.7518 GB, free: 181.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01162/0.9103, allocations: 6.69 MB / 0.7583 GB, free: 179.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-05/0.9104, allocations: 10.25 kB / 0.7583 GB, free: 179.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000891/0.9113, allocations: 198.3 kB / 0.7585 GB, free: 179.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.462e-05/0.9114, allocations: 21.86 kB / 0.7586 GB, free: 179.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.089e-05/0.9115, allocations: 18.88 kB / 0.7586 GB, free: 179.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.669e-05/0.9115, allocations: 30.06 kB / 0.7586 GB, free: 179.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.165e-05/0.9115, allocations: 16.47 kB / 0.7586 GB, free: 179.7 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003161/0.9147, allocations: 3.221 MB / 0.7618 GB, free: 177.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006039/0.9153, allocations: 334.9 kB / 0.7621 GB, free: 177.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002922/0.9156, allocations: 22.88 kB / 0.7621 GB, free: 177.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007408/0.9163, allocations: 27.27 kB / 0.7621 GB, free: 177.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/0.9165, allocations: 90.48 kB / 0.7622 GB, free: 177.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/0.9166, allocations: 60.55 kB / 0.7623 GB, free: 177.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.00218/0.9188, allocations: 1.539 MB / 0.7638 GB, free: 176.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004167/0.923, allocations: 0.9617 MB / 0.7647 GB, free: 176.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 110 * Array equations: 6 * 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.0003766/0.9234, allocations: 146.9 kB / 0.7649 GB, free: 176.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005678/0.929, allocations: 3.45 MB / 0.7682 GB, free: 175.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/0.9291, allocations: 0.9688 kB / 0.7682 GB, free: 175.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001318/0.9304, allocations: 0.9609 MB / 0.7692 GB, free: 174.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/0.9317, allocations: 207.5 kB / 0.7694 GB, free: 174.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02815/0.9599, allocations: 15.74 MB / 0.7847 GB, free: 164.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003614/0.9635, allocations: 3.45 MB / 0.7881 GB, free: 161.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.102e-06/0.9636, allocations: 0 / 0.7881 GB, free: 161.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.0441/1.008, allocations: 22.85 MB / 0.8104 GB, free: 145.1 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Planes/Planes.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches