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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 177.3 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008387/0.0008386, allocations: 90.36 kB / 292.1 MB, free: 10.89 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.3294/0.3294, allocations: 44.23 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002804/0.0002804, allocations: 12 kB / 459.9 MB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3214, allocations: 61.9 MB / 0.5096 GB, free: 38.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1251/0.4465, allocations: 98.28 MB / 0.6055 GB, free: 12.81 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/0.4469, allocations: 79.97 kB / 0.6056 GB, free: 12.73 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4202/0.867, allocations: 76.3 MB / 0.6801 GB, free: 99.91 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.925e-06/0.8671, allocations: 2.078 kB / 0.6801 GB, free: 99.91 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002391/0.8673, allocations: 66.47 kB / 0.6802 GB, free: 99.91 MB / 490.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.01208/0.8794, allocations: 3.742 MB / 0.6838 GB, free: 99.22 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.8795, allocations: 8.844 kB / 0.6838 GB, free: 99.22 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01314/0.8926, allocations: 3.31 MB / 0.6871 GB, free: 98.96 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006303/0.899, allocations: 2.448 MB / 0.6895 GB, free: 98.54 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002193/0.8992, allocations: 276 kB / 0.6897 GB, free: 98.53 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001598/0.9009, allocations: 359.8 kB / 0.6901 GB, free: 98.53 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01679/0.9177, allocations: 9.568 MB / 0.6994 GB, free: 97.47 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.114e-05/0.9178, allocations: 20.12 kB / 0.6994 GB, free: 97.47 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006615/0.9185, allocations: 161.5 kB / 0.6996 GB, free: 97.47 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001218/0.9197, allocations: 1.102 MB / 0.7007 GB, free: 97.46 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01686/0.9366, allocations: 9.249 MB / 0.7097 GB, free: 97.05 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05226/0.9889, allocations: 32.89 MB / 0.7418 GB, free: 77.69 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005733/0.9947, allocations: 3.533 MB / 0.7453 GB, free: 75.86 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01229/1.007, allocations: 7.505 MB / 0.7526 GB, free: 71.57 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/1.007, allocations: 39.09 kB / 0.7526 GB, free: 71.53 MB / 490.7 MB Notification: Performance of pre-optimization done (n=135): time 4.569e-06/1.007, allocations: 0 / 0.7526 GB, free: 71.53 MB / 490.7 MB Notification: Performance of matching and sorting (n=135): time 0.007053/1.014, allocations: 3.705 MB / 0.7563 GB, free: 70.17 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/1.014, allocations: 118.3 kB / 0.7564 GB, free: 70.04 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00304/1.017, allocations: 2.485 MB / 0.7588 GB, free: 69.11 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.452e-05/1.017, allocations: 44.77 kB / 0.7588 GB, free: 69.06 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001197/1.019, allocations: 2.755 MB / 0.7615 GB, free: 66.95 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004003/1.019, allocations: 0.5212 MB / 0.762 GB, free: 66.58 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/1.019, allocations: 86.03 kB / 0.7621 GB, free: 66.52 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002068/1.019, allocations: 0.5026 MB / 0.7626 GB, free: 66.13 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001502/1.021, allocations: 1.39 MB / 0.764 GB, free: 65.72 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002916/1.024, allocations: 4.251 MB / 0.7681 GB, free: 61.41 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002842/1.027, allocations: 2.448 MB / 0.7705 GB, free: 60.55 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.218e-05/1.027, allocations: 27.03 kB / 0.7705 GB, free: 60.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=607) (initialization): time 0.007192/1.034, allocations: 5.477 MB / 0.7759 GB, free: 58 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.188e-05/1.034, allocations: 48 kB / 0.7759 GB, free: 57.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.177e-05/1.034, allocations: 102 kB / 0.776 GB, free: 57.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001154/1.034, allocations: 152.8 kB / 0.7762 GB, free: 57.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002408/1.037, allocations: 1.037 MB / 0.7772 GB, free: 56.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001081/1.037, allocations: 211.2 kB / 0.7774 GB, free: 56.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002795/1.04, allocations: 0.6282 MB / 0.778 GB, free: 55.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003216/1.04, allocations: 311.6 kB / 0.7783 GB, free: 55.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 465 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (559): * Single equations (assignments): 553 * 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.002952/1.043, allocations: 1.978 MB / 0.7802 GB, free: 53.98 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003981/1.043, allocations: 236.8 kB / 0.7805 GB, free: 53.75 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004972/1.044, allocations: 304.8 kB / 0.7807 GB, free: 53.48 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/1.044, allocations: 16 kB / 0.7808 GB, free: 53.46 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.437e-05/1.044, allocations: 0 / 0.7808 GB, free: 53.46 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/1.044, allocations: 7.031 kB / 0.7808 GB, free: 53.46 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01178/1.056, allocations: 6.204 MB / 0.7868 GB, free: 48.08 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/1.056, allocations: 8 kB / 0.7868 GB, free: 48.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005934/1.056, allocations: 164 kB / 0.787 GB, free: 47.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.768e-05/1.056, allocations: 15.61 kB / 0.787 GB, free: 47.92 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.49e-05/1.056, allocations: 28 kB / 0.787 GB, free: 47.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-05/1.056, allocations: 15.94 kB / 0.787 GB, free: 47.88 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/1.056, allocations: 8.5 kB / 0.7871 GB, free: 47.87 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002214/1.059, allocations: 2.636 MB / 0.7896 GB, free: 45.09 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006681/1.059, allocations: 351.5 kB / 0.79 GB, free: 44.75 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000205/1.059, allocations: 39.44 kB / 0.79 GB, free: 44.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000623/1.06, allocations: 47.39 kB / 0.79 GB, free: 44.68 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.841e-05/1.06, allocations: 75.11 kB / 0.7901 GB, free: 44.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.438e-05/1.06, allocations: 50.95 kB / 0.7902 GB, free: 44.58 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002085/1.062, allocations: 1.695 MB / 0.7918 GB, free: 43.18 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.062, allocations: 0 / 0.7918 GB, free: 43.18 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004014/1.066, allocations: 1.046 MB / 0.7928 GB, free: 42.13 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * 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.0004828/1.067, allocations: 165.6 kB / 0.793 GB, free: 41.97 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004845/1.072, allocations: 3.256 MB / 0.7962 GB, free: 39.11 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/1.072, allocations: 1 kB / 0.7962 GB, free: 39.11 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007079/1.073, allocations: 0.7863 MB / 0.7969 GB, free: 38.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/1.074, allocations: 283.6 kB / 0.7972 GB, free: 38.16 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03144/1.105, allocations: 18.23 MB / 0.815 GB, free: 22.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00461/1.11, allocations: 3.186 MB / 0.8181 GB, free: 19.61 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003863/1.114, allocations: 1.633 MB / 0.8197 GB, free: 17.98 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004303/1.114, allocations: 183.4 kB / 0.8199 GB, free: 17.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.473e-06/1.114, allocations: 0 / 0.8199 GB, free: 17.8 MB / 490.7 MB Notification: Performance of Templates: time 0.0371/1.151, allocations: 19.44 MB / 0.8389 GB, free: 14.78 MB / 0.4948 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