Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|visGroundAxis.n.1.|visGroundAxis.n.2.|visGroundAxis.n.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization") translateModel(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|visGroundAxis.n.1.|visGroundAxis.n.2.|visGroundAxis.n.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001954/0.001954, allocations: 174.2 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 225.7 MB / 243.9 MB, free: 8.484 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007832/0.0007833, allocations: 101.2 kB / 295.1 MB, free: 9.5 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3253/0.3253, allocations: 44.31 MB / 390.5 MB, free: 38.08 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003143/0.0003145, allocations: 8 kB / 463.1 MB, free: 476 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3815, allocations: 61.91 MB / 0.5127 GB, free: 37.92 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.007743/0.3893, allocations: 7.939 MB / 0.5205 GB, free: 32.29 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006038/0.3954, allocations: 3.389 MB / 0.5238 GB, free: 29.41 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001175/0.3967, allocations: 32.25 kB / 0.5238 GB, free: 29.4 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007145/0.3974, allocations: 225.5 kB / 0.524 GB, free: 29.32 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002304/0.3997, allocations: 0.8663 MB / 0.5249 GB, free: 28.98 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001116/0.3998, allocations: 14.42 kB / 0.5249 GB, free: 28.98 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003664/0.4035, allocations: 3.239 MB / 0.5281 GB, free: 28.06 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001506/0.405, allocations: 1.036 MB / 0.5291 GB, free: 27.54 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000766/0.4058, allocations: 492.1 kB / 0.5295 GB, free: 27.38 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001049/0.4069, allocations: 0.7569 MB / 0.5303 GB, free: 27.15 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001485/0.407, allocations: 55.31 kB / 0.5303 GB, free: 27.15 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006288/0.4077, allocations: 286.2 kB / 0.5306 GB, free: 27.08 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000562/0.4082, allocations: 0.6924 MB / 0.5313 GB, free: 26.86 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006307/0.4089, allocations: 0.8885 MB / 0.5322 GB, free: 26.2 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002027/0.4109, allocations: 2.603 MB / 0.5347 GB, free: 25.42 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.4109, allocations: 0 / 0.5347 GB, free: 25.42 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4109, allocations: 3 kB / 0.5347 GB, free: 25.42 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.166e-05/0.411, allocations: 0 / 0.5347 GB, free: 25.42 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 774 * Number of variables: 774 Notification: Performance of Generate backend data structure: time 0.001924/0.4129, allocations: 1.703 MB / 0.5364 GB, free: 24.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.4129, allocations: 8.438 kB / 0.5364 GB, free: 24.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004157/0.4171, allocations: 1.54 MB / 0.5379 GB, free: 24.06 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.4184, allocations: 0.8578 MB / 0.5387 GB, free: 23.51 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.692e-05/0.4184, allocations: 85.66 kB / 0.5388 GB, free: 23.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001896/0.4186, allocations: 112.2 kB / 0.5389 GB, free: 23.42 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005722/0.4244, allocations: 4.962 MB / 0.5437 GB, free: 20.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.904e-05/0.4244, allocations: 20.77 kB / 0.5438 GB, free: 20.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001719/0.4246, allocations: 67.28 kB / 0.5438 GB, free: 20.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002305/0.4269, allocations: 1.184 MB / 0.545 GB, free: 20.53 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008385/0.4353, allocations: 4.222 MB / 0.5491 GB, free: 19.19 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01962/0.455, allocations: 20.61 MB / 0.5692 GB, free: 1.965 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001232/0.4562, allocations: 1.181 MB / 0.5704 GB, free: 1.016 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003837/0.4566, allocations: 342.9 kB / 0.5707 GB, free: 0.7852 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.4567, allocations: 4 kB / 0.5707 GB, free: 0.7812 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.4567, allocations: 46.44 kB / 0.5708 GB, free: 0.7266 MB / 378.7 MB Notification: Performance of pre-optimization done (n=60): time 2.625e-06/0.4567, allocations: 0 / 0.5708 GB, free: 0.7266 MB / 378.7 MB Notification: Performance of matching and sorting (n=60): time 0.001349/0.458, allocations: 1.046 MB / 0.5718 GB, free: 15.67 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.267e-05/0.4581, allocations: 110.8 kB / 0.5719 GB, free: 15.54 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002892/0.461, allocations: 2.45 MB / 0.5743 GB, free: 13.05 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.426e-05/0.4611, allocations: 33.7 kB / 0.5743 GB, free: 13.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00117/0.4622, allocations: 1.821 MB / 0.5761 GB, free: 11.16 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002072/0.4625, allocations: 277 kB / 0.5764 GB, free: 10.89 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.4626, allocations: 79.94 kB / 0.5764 GB, free: 10.81 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003045/0.4629, allocations: 0.5227 MB / 0.577 GB, free: 10.28 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/0.4642, allocations: 1.007 MB / 0.5779 GB, free: 9.273 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003177/0.4674, allocations: 3.714 MB / 0.5816 GB, free: 4.207 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00499/0.4724, allocations: 5.167 MB / 0.5866 GB, free: 13.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.134e-05/0.4725, allocations: 28 kB / 0.5866 GB, free: 13.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.00661/0.4791, allocations: 4.42 MB / 0.591 GB, free: 9.227 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.383e-05/0.4792, allocations: 51.91 kB / 0.591 GB, free: 9.176 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.054e-05/0.4793, allocations: 96 kB / 0.5911 GB, free: 9.082 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001212/0.4794, allocations: 124.8 kB / 0.5912 GB, free: 8.961 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002133/0.4815, allocations: 0.885 MB / 0.5921 GB, free: 8.074 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001427/0.4817, allocations: 191.3 kB / 0.5923 GB, free: 7.887 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002445/0.4841, allocations: 0.568 MB / 0.5928 GB, free: 7.316 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002795/0.4844, allocations: 259.9 kB / 0.5931 GB, free: 7.062 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 442 * Number of states: 0 () * Number of discrete variables: 17 (visGroundAxis.arrowLine.twoHeadedArrow,visGroundAxis.headAtOrigin,world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],visGroundAxis.color[3],visGroundAxis.color[2],visGroundAxis.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (484): * Single equations (assignments): 481 * Array equations: 3 * 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.001663/0.4861, allocations: 1.185 MB / 0.5942 GB, free: 5.867 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002605/0.4864, allocations: 185.6 kB / 0.5944 GB, free: 5.684 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003029/0.4867, allocations: 222.1 kB / 0.5946 GB, free: 5.465 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-05/0.4867, allocations: 12 kB / 0.5946 GB, free: 5.453 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.4867, allocations: 0 / 0.5946 GB, free: 5.453 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.4867, allocations: 3.984 kB / 0.5946 GB, free: 5.449 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003222/0.49, allocations: 2.039 MB / 0.5966 GB, free: 3.348 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.49, allocations: 0 / 0.5966 GB, free: 3.348 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002899/0.4903, allocations: 67.83 kB / 0.5967 GB, free: 3.281 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.4903, allocations: 4.031 kB / 0.5967 GB, free: 3.277 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.01e-05/0.4903, allocations: 11.98 kB / 0.5967 GB, free: 3.266 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/0.4903, allocations: 8 kB / 0.5967 GB, free: 3.258 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4903, allocations: 0 / 0.5967 GB, free: 3.258 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.4914, allocations: 1.045 MB / 0.5977 GB, free: 2.191 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003117/0.4917, allocations: 258.5 kB / 0.598 GB, free: 1.918 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001388/0.4919, allocations: 8 kB / 0.598 GB, free: 1.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004183/0.4923, allocations: 23.97 kB / 0.598 GB, free: 1.887 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.766e-05/0.4924, allocations: 24.25 kB / 0.598 GB, free: 1.863 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.879e-05/0.4924, allocations: 16 kB / 0.598 GB, free: 1.848 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00183/0.4942, allocations: 1.499 MB / 0.5995 GB, free: 340 kB / 410.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4943, allocations: 3.938 kB / 0.5995 GB, free: 336 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.002351/0.4966, allocations: 0.534 MB / 0.6 GB, free: 15.79 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (36): * Single equations (assignments): 33 * Array equations: 3 * 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.0002705/0.4969, allocations: 139.1 kB / 0.6002 GB, free: 15.64 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003321/0.5002, allocations: 2.308 MB / 0.6024 GB, free: 13.36 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.5002, allocations: 0 / 0.6024 GB, free: 13.36 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003922/0.5006, allocations: 328.7 kB / 0.6027 GB, free: 13.04 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.5017, allocations: 167.4 kB / 0.6029 GB, free: 12.87 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006667/0.5083, allocations: 4.903 MB / 0.6077 GB, free: 7.922 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001633/0.51, allocations: 1.858 MB / 0.6095 GB, free: 6.031 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002821/0.5128, allocations: 1.267 MB / 0.6107 GB, free: 4.758 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002488/0.5131, allocations: 135.4 kB / 0.6109 GB, free: 4.625 MB / 426.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5131, allocations: 0 / 0.6109 GB, free: 4.625 MB / 426.7 MB Notification: Performance of Templates: time 0.02597/0.5391, allocations: 12.77 MB / 0.6233 GB, free: 7.871 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/WorldGroundVisualization/WorldGroundVisualization.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches