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.001314/0.001314, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.577/1.577, allocations: 221.5 MB / 230.7 MB, free: 7.543 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.0009257/0.0009259, allocations: 97.7 kB / 281.6 MB, free: 5.277 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.2097/0.2097, allocations: 44.16 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.928e-05/1.924e-05, allocations: 4.219 kB / 444.6 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1395, allocations: 61.92 MB / 0.4947 GB, free: 1.277 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3883/0.5279, allocations: 97.53 MB / 0.5899 GB, free: 15 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002082/0.5282, allocations: 83.94 kB / 0.59 GB, free: 14.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1829/0.7111, allocations: 74.83 MB / 0.6631 GB, free: 3.383 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.7111, allocations: 3.938 kB / 0.6631 GB, free: 3.379 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.00012/0.7113, allocations: 72 kB / 0.6631 GB, free: 3.309 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.0106/0.7219, allocations: 3.607 MB / 0.6667 GB, free: 15.64 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.7219, allocations: 15.98 kB / 0.6667 GB, free: 15.62 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01443/0.7364, allocations: 3.306 MB / 0.6699 GB, free: 12.31 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006201/0.7426, allocations: 2.434 MB / 0.6723 GB, free: 9.828 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000154/0.7428, allocations: 123.9 kB / 0.6724 GB, free: 9.707 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001232/0.7441, allocations: 204 kB / 0.6726 GB, free: 9.508 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01049/0.7545, allocations: 6.696 MB / 0.6791 GB, free: 2.809 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01942/0.774, allocations: 8.88 MB / 0.6878 GB, free: 9.562 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001151/0.7742, allocations: 19.81 kB / 0.6878 GB, free: 9.543 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001269/0.7754, allocations: 12 kB / 0.6878 GB, free: 9.531 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001643/0.7771, allocations: 1.101 MB / 0.6889 GB, free: 8.434 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3191/1.096, allocations: 33.34 MB / 0.7215 GB, free: 131.4 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002734/1.099, allocations: 2.713 MB / 0.7241 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00104/1.1, allocations: 0.887 MB / 0.725 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001281/1.101, allocations: 1.629 MB / 0.7266 GB, free: 128.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/1.101, allocations: 49.72 kB / 0.7266 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=164): time 4.698e-06/1.101, allocations: 0 / 0.7266 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=164): time 0.004758/1.106, allocations: 2.197 MB / 0.7288 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/1.106, allocations: 93.27 kB / 0.7289 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003405/1.11, allocations: 2.281 MB / 0.7311 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.616e-05/1.11, allocations: 27.11 kB / 0.7311 GB, free: 128.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001574/1.111, allocations: 2.782 MB / 0.7338 GB, free: 126.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004823/1.112, allocations: 0.6027 MB / 0.7344 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/1.112, allocations: 0.9375 kB / 0.7344 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002774/1.112, allocations: 0.5204 MB / 0.7349 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001839/1.114, allocations: 1.4 MB / 0.7363 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002943/1.117, allocations: 4.529 MB / 0.7407 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003793/1.121, allocations: 2.589 MB / 0.7432 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001059/1.121, allocations: 32.06 kB / 0.7433 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=667) (initialization): time 0.00869/1.13, allocations: 5.25 MB / 0.7484 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.13e-05/1.13, allocations: 53.75 kB / 0.7485 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.872e-05/1.13, allocations: 112 kB / 0.7486 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001255/1.13, allocations: 168.3 kB / 0.7487 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002883/1.133, allocations: 1.144 MB / 0.7498 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001571/1.133, allocations: 225.2 kB / 0.7501 GB, free: 121.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002962/1.136, allocations: 0.5685 MB / 0.7506 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003793/1.136, allocations: 342.7 kB / 0.7509 GB, free: 121.1 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.0004648/1.137, allocations: 379.6 kB / 0.7513 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002934/1.137, allocations: 237.6 kB / 0.7515 GB, free: 120.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002389/1.14, allocations: 2.066 MB / 0.7535 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.931e-05/1.14, allocations: 23.92 kB / 0.7536 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/1.14, allocations: 1.312 kB / 0.7536 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/1.14, allocations: 7.172 kB / 0.7536 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00833/1.148, allocations: 6.332 MB / 0.7598 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-05/1.148, allocations: 10.03 kB / 0.7598 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007266/1.149, allocations: 212.3 kB / 0.76 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.68e-05/1.149, allocations: 17.16 kB / 0.76 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.656e-05/1.149, allocations: 25.28 kB / 0.76 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.266e-05/1.149, allocations: 21.27 kB / 0.76 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.608e-06/1.149, allocations: 17.8 kB / 0.76 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002274/1.151, allocations: 3.17 MB / 0.7631 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004129/1.152, allocations: 331 kB / 0.7635 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002258/1.152, allocations: 18.25 kB / 0.7635 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006636/1.153, allocations: 32.98 kB / 0.7635 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/1.153, allocations: 108.5 kB / 0.7636 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.693e-05/1.153, allocations: 66.81 kB / 0.7637 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001659/1.154, allocations: 1.498 MB / 0.7651 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.4e-07/1.154, allocations: 0 / 0.7651 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003859/1.158, allocations: 0.9601 MB / 0.7661 GB, free: 115.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.0003291/1.159, allocations: 144.6 kB / 0.7662 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00469/1.163, allocations: 3.354 MB / 0.7695 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/1.163, allocations: 3.969 kB / 0.7695 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008225/1.164, allocations: 0.9337 MB / 0.7704 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/1.165, allocations: 205.2 kB / 0.7706 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02645/1.192, allocations: 15.63 MB / 0.7859 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002925/1.195, allocations: 3.192 MB / 0.789 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003933/1.199, allocations: 1.86 MB / 0.7908 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004519/1.199, allocations: 192.7 kB / 0.791 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of SimCode: time 1.031e-06/1.199, allocations: 3.938 kB / 0.791 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.03386/1.233, allocations: 17.38 MB / 0.808 GB, free: 95.68 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