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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 101.5 kB / 17.85 MB, free: 5.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002266/0.002266, allocations: 194 kB / 18.76 MB, free: 4.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.355/2.355, allocations: 222.9 MB / 242.4 MB, free: 15.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3459/0.3459, allocations: 44.18 MB / 336.8 MB, free: 2.988 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002572/0.002572, allocations: 61.02 kB / 408.4 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.1957, allocations: 60.82 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.05128/0.247, allocations: 28.96 MB / 498.1 MB, free: 1.758 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0219/0.269, allocations: 5.862 MB / 0.4922 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009526/0.2786, allocations: 119.8 kB / 0.4923 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005925/0.2845, allocations: 1.527 MB / 0.4938 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006831/0.2915, allocations: 1.487 MB / 0.4952 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008199/0.2923, allocations: 115.8 kB / 0.4953 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009241/0.3016, allocations: 4.888 MB / 0.5001 GB, free: 3.727 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005071/0.3067, allocations: 2.182 MB / 0.5023 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002913/0.3097, allocations: 1.02 MB / 0.5032 GB, free: 500 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3448/0.6545, allocations: 2.878 MB / 0.5061 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001629/0.6562, allocations: 168.9 kB / 0.5062 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003347/0.6596, allocations: 0.6889 MB / 0.5069 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003805/0.6635, allocations: 1.478 MB / 0.5083 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004754/0.6682, allocations: 1.783 MB / 0.5101 GB, free: 12.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009647/0.6779, allocations: 4.648 MB / 0.5146 GB, free: 12.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.678, allocations: 0 / 0.5146 GB, free: 12.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.678, allocations: 2.031 kB / 0.5146 GB, free: 12.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002952/0.6783, allocations: 0 / 0.5146 GB, free: 12.29 MB / 382.1 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.02035/0.6987, allocations: 4.026 MB / 0.5186 GB, free: 10.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.755e-05/0.6988, allocations: 12.42 kB / 0.5186 GB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01842/0.7172, allocations: 2.959 MB / 0.5215 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007666/0.7249, allocations: 1.813 MB / 0.5232 GB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003035/0.7253, allocations: 184.5 kB / 0.5234 GB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002053/0.7274, allocations: 237.8 kB / 0.5236 GB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03064/0.758, allocations: 9.757 MB / 0.5332 GB, free: 5.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001421/0.7582, allocations: 17.38 kB / 0.5332 GB, free: 5.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001758/0.76, allocations: 116.1 kB / 0.5333 GB, free: 5.547 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006532/0.7666, allocations: 2.365 MB / 0.5356 GB, free: 4.641 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04643/0.8131, allocations: 8.951 MB / 0.5443 GB, free: 14.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07254/0.8857, allocations: 29.73 MB / 0.5734 GB, free: 224 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01187/0.8976, allocations: 3.482 MB / 0.5768 GB, free: 12.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002813/0.9005, allocations: 1.103 MB / 0.5778 GB, free: 11.39 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01891/0.9194, allocations: 6.461 MB / 0.5842 GB, free: 4.551 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.531e-05/0.9196, allocations: 47.22 kB / 0.5842 GB, free: 4.496 MB / 430.1 MB Notification: Performance of pre-optimization done (n=135): time 1.012e-05/0.9196, allocations: 0 / 0.5842 GB, free: 4.496 MB / 430.1 MB Notification: Performance of matching and sorting (n=135): time 0.01387/0.9335, allocations: 3.135 MB / 0.5873 GB, free: 1.363 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.963e-05/0.9336, allocations: 111.5 kB / 0.5874 GB, free: 1.23 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008537/0.9422, allocations: 2.741 MB / 0.59 GB, free: 14.47 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002807/0.9425, allocations: 41.7 kB / 0.5901 GB, free: 14.42 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003053/0.9456, allocations: 2.734 MB / 0.5928 GB, free: 11.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001085/0.9467, allocations: 0.5111 MB / 0.5933 GB, free: 11.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00297/0.9497, allocations: 0.9372 MB / 0.5942 GB, free: 10.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.9499, allocations: 301.1 kB / 0.5945 GB, free: 9.934 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003583/0.9535, allocations: 1.41 MB / 0.5958 GB, free: 8.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006352/0.9598, allocations: 4.23 MB / 0.6 GB, free: 2.926 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01046/0.9703, allocations: 6.145 MB / 0.606 GB, free: 11.79 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001624/0.9706, allocations: 28 kB / 0.606 GB, free: 11.76 MB / 462.1 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.01728/0.9879, allocations: 5.451 MB / 0.6113 GB, free: 6.902 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001904/0.9881, allocations: 55.88 kB / 0.6114 GB, free: 6.848 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002542/0.9884, allocations: 100 kB / 0.6115 GB, free: 6.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002296/0.9886, allocations: 132.8 kB / 0.6116 GB, free: 6.621 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005248/0.9939, allocations: 0.9881 MB / 0.6126 GB, free: 5.723 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003184/0.9943, allocations: 205.1 kB / 0.6127 GB, free: 5.566 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006195/1, allocations: 0.6145 MB / 0.6133 GB, free: 4.945 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001418/1.002, allocations: 286.1 kB / 0.6136 GB, free: 4.668 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 455 * 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 (551): * Single equations (assignments): 543 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007241/1.009, allocations: 1.981 MB / 0.6156 GB, free: 2.766 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009003/1.01, allocations: 233.1 kB / 0.6158 GB, free: 2.535 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001324/1.012, allocations: 288.8 kB / 0.6161 GB, free: 2.246 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.805e-05/1.012, allocations: 20 kB / 0.6161 GB, free: 2.227 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.921e-05/1.012, allocations: 4 kB / 0.6161 GB, free: 2.223 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.175e-05/1.012, allocations: 10.23 kB / 0.6161 GB, free: 2.215 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02163/1.033, allocations: 6.193 MB / 0.6221 GB, free: 11.93 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.413e-05/1.033, allocations: 11.98 kB / 0.6221 GB, free: 11.92 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/1.035, allocations: 166.3 kB / 0.6223 GB, free: 11.77 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.714e-05/1.035, allocations: 12 kB / 0.6223 GB, free: 11.75 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001517/1.035, allocations: 24 kB / 0.6223 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.048e-05/1.035, allocations: 14.81 kB / 0.6224 GB, free: 11.72 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.406e-05/1.035, allocations: 13.16 kB / 0.6224 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004051/1.039, allocations: 2.009 MB / 0.6243 GB, free: 9.602 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/1.04, allocations: 305.8 kB / 0.6246 GB, free: 9.281 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007613/1.041, allocations: 27.98 kB / 0.6246 GB, free: 9.254 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00154/1.042, allocations: 47.95 kB / 0.6247 GB, free: 9.207 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002396/1.043, allocations: 85.2 kB / 0.6248 GB, free: 9.129 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001436/1.043, allocations: 48 kB / 0.6248 GB, free: 9.082 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004976/1.048, allocations: 1.674 MB / 0.6265 GB, free: 7.398 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.3e-07/1.048, allocations: 0 / 0.6265 GB, free: 7.398 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.007743/1.055, allocations: 1.041 MB / 0.6275 GB, free: 6.355 MB / 478.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006961/1.056, allocations: 159.7 kB / 0.6276 GB, free: 6.207 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007943/1.064, allocations: 3.244 MB / 0.6308 GB, free: 3.008 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.189e-05/1.064, allocations: 0 / 0.6308 GB, free: 3.008 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001569/1.066, allocations: 0.8056 MB / 0.6316 GB, free: 2.211 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003196/1.069, allocations: 298.9 kB / 0.6319 GB, free: 1.922 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02743/1.097, allocations: 10.21 MB / 0.6418 GB, free: 7.574 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009128/1.106, allocations: 3.112 MB / 0.6449 GB, free: 4.434 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00116/1.107, allocations: 203.4 kB / 0.6451 GB, free: 4.234 MB / 494.1 MB Notification: Performance of SimCode: time 1.173e-06/1.107, allocations: 4 kB / 0.6451 GB, free: 4.23 MB / 494.1 MB Notification: Performance of Templates: time 0.09843/1.205, allocations: 44.41 MB / 0.6884 GB, free: 7.961 MB / 0.5294 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches