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.001114/0.001114, allocations: 183 kB / 18.09 MB, free: 3.727 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.4/1.4, allocations: 223.3 MB / 242.1 MB, free: 9.98 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.0007903/0.0007902, allocations: 95.83 kB / 293.3 MB, free: 10.58 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.3177/0.3177, allocations: 44.14 MB / 388.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003924/0.0003926, allocations: 12 kB / 461.1 MB, free: 1.562 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3164, allocations: 61.87 MB / 0.5107 GB, free: 37.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1182/0.4346, allocations: 98.34 MB / 0.6067 GB, free: 12.75 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/0.4349, allocations: 95.86 kB / 0.6068 GB, free: 12.66 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2176/0.6525, allocations: 75.56 MB / 0.6806 GB, free: 432 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.6525, allocations: 0 / 0.6806 GB, free: 432 kB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002099/0.6527, allocations: 72 kB / 0.6807 GB, free: 360 kB / 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.2957/0.9484, allocations: 3.592 MB / 0.6842 GB, free: 99.04 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.9485, allocations: 8.375 kB / 0.6842 GB, free: 99.04 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.013/0.9615, allocations: 3.305 MB / 0.6874 GB, free: 98.78 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006813/0.9683, allocations: 2.472 MB / 0.6899 GB, free: 98.39 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000268/0.9686, allocations: 276.7 kB / 0.6901 GB, free: 98.38 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001999/0.9706, allocations: 357.7 kB / 0.6905 GB, free: 98.38 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01759/0.9883, allocations: 9.538 MB / 0.6998 GB, free: 97.33 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-05/0.9884, allocations: 18.03 kB / 0.6998 GB, free: 97.33 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006303/0.989, allocations: 167 kB / 0.7 GB, free: 97.33 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001184/0.9902, allocations: 1.103 MB / 0.701 GB, free: 97.32 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01679/1.007, allocations: 9.185 MB / 0.71 GB, free: 96.88 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04785/1.055, allocations: 32.85 MB / 0.7421 GB, free: 77.52 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005908/1.061, allocations: 3.53 MB / 0.7455 GB, free: 75.68 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001341/1.062, allocations: 1.095 MB / 0.7466 GB, free: 75.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01141/1.074, allocations: 7.467 MB / 0.7539 GB, free: 71.03 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/1.074, allocations: 47.88 kB / 0.7539 GB, free: 70.98 MB / 490.7 MB Notification: Performance of pre-optimization done (n=135): time 7.173e-06/1.074, allocations: 0 / 0.7539 GB, free: 70.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=135): time 0.00683/1.081, allocations: 3.184 MB / 0.757 GB, free: 70.21 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/1.081, allocations: 122 kB / 0.7572 GB, free: 70.08 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003677/1.084, allocations: 2.774 MB / 0.7599 GB, free: 69.05 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000103/1.084, allocations: 37.36 kB / 0.7599 GB, free: 69.01 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001561/1.086, allocations: 2.761 MB / 0.7626 GB, free: 66.89 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004721/1.087, allocations: 0.5127 MB / 0.7631 GB, free: 66.53 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001794/1.087, allocations: 88.5 kB / 0.7632 GB, free: 66.46 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002395/1.087, allocations: 0.4993 MB / 0.7637 GB, free: 66.07 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001577/1.089, allocations: 1.396 MB / 0.765 GB, free: 65.66 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002872/1.091, allocations: 4.268 MB / 0.7692 GB, free: 61.35 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005249/1.097, allocations: 6.183 MB / 0.7752 GB, free: 56.03 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.176e-05/1.097, allocations: 31.5 kB / 0.7753 GB, free: 56.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=607) (initialization): time 0.009468/1.106, allocations: 5.475 MB / 0.7806 GB, free: 52.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.178e-05/1.106, allocations: 48 kB / 0.7807 GB, free: 52.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001102/1.106, allocations: 100 kB / 0.7808 GB, free: 52.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001327/1.107, allocations: 136 kB / 0.7809 GB, free: 52.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003173/1.11, allocations: 1.042 MB / 0.7819 GB, free: 51.33 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001135/1.11, allocations: 201.5 kB / 0.7821 GB, free: 51.15 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003479/1.113, allocations: 0.6289 MB / 0.7827 GB, free: 50.53 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004724/1.114, allocations: 315.3 kB / 0.783 GB, free: 50.23 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.003101/1.117, allocations: 1.981 MB / 0.7849 GB, free: 48.52 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003605/1.117, allocations: 240.4 kB / 0.7852 GB, free: 48.28 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004636/1.118, allocations: 293.9 kB / 0.7855 GB, free: 48.02 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-05/1.118, allocations: 23.77 kB / 0.7855 GB, free: 48 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.329e-05/1.118, allocations: 0 / 0.7855 GB, free: 48 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/1.118, allocations: 7.188 kB / 0.7855 GB, free: 48 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008218/1.126, allocations: 6.2 MB / 0.7915 GB, free: 42.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/1.126, allocations: 8 kB / 0.7916 GB, free: 42.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005955/1.127, allocations: 163.4 kB / 0.7917 GB, free: 42.47 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.622e-05/1.127, allocations: 12 kB / 0.7917 GB, free: 42.46 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.13e-05/1.127, allocations: 31.75 kB / 0.7917 GB, free: 42.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.15e-05/1.127, allocations: 15.94 kB / 0.7918 GB, free: 42.42 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/1.127, allocations: 11.94 kB / 0.7918 GB, free: 42.41 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001999/1.129, allocations: 1.997 MB / 0.7937 GB, free: 40.47 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006503/1.13, allocations: 338.7 kB / 0.794 GB, free: 40.13 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002208/1.13, allocations: 29.59 kB / 0.7941 GB, free: 40.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000627/1.13, allocations: 51.05 kB / 0.7941 GB, free: 40.07 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/1.131, allocations: 82.08 kB / 0.7942 GB, free: 40 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.591e-05/1.131, allocations: 51.05 kB / 0.7943 GB, free: 39.96 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002205/1.133, allocations: 1.696 MB / 0.7959 GB, free: 38.56 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.31e-07/1.133, allocations: 4 kB / 0.7959 GB, free: 38.55 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00398/1.137, allocations: 1.054 MB / 0.7969 GB, free: 37.5 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.0003441/1.137, allocations: 155.6 kB / 0.7971 GB, free: 37.36 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004129/1.141, allocations: 3.258 MB / 0.8003 GB, free: 34.49 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/1.141, allocations: 0 / 0.8003 GB, free: 34.49 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007411/1.142, allocations: 0.793 MB / 0.801 GB, free: 33.79 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003802/1.146, allocations: 292.2 kB / 0.8013 GB, free: 33.54 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02739/1.173, allocations: 16.01 MB / 0.817 GB, free: 20.27 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005519/1.179, allocations: 3.103 MB / 0.82 GB, free: 17.14 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004167/1.183, allocations: 1.644 MB / 0.8216 GB, free: 15.51 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005473/1.184, allocations: 183.4 kB / 0.8218 GB, free: 15.33 MB / 490.7 MB Notification: Performance of SimCode: time 6.61e-07/1.184, allocations: 0 / 0.8218 GB, free: 15.33 MB / 490.7 MB Notification: Performance of Templates: time 0.03791/1.222, allocations: 19.49 MB / 0.8408 GB, free: 12.25 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/jenkins1/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