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: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001829/0.001829, allocations: 107.7 kB / 17.21 MB, free: 6.27 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.002255/0.002255, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 222.9 MB / 241.8 MB, free: 15.58 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.2084/0.2084, allocations: 44.18 MB / 336.1 MB, free: 3.059 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 73.3 kB / 407.8 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1371, allocations: 60.81 MB / 468.6 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.02805/0.1652, allocations: 28.97 MB / 497.6 MB, free: 1.703 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01523/0.1805, allocations: 5.866 MB / 0.4916 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005422/0.1859, allocations: 115.8 kB / 0.4918 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003741/0.1897, allocations: 1.527 MB / 0.4932 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003962/0.1937, allocations: 1.487 MB / 0.4947 GB, free: 8.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004299/0.1942, allocations: 111.9 kB / 0.4948 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005452/0.1997, allocations: 4.888 MB / 0.4996 GB, free: 3.676 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002976/0.2027, allocations: 2.186 MB / 0.5017 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001802/0.2045, allocations: 1.031 MB / 0.5027 GB, free: 432 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.234/0.4385, allocations: 2.876 MB / 0.5055 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001188/0.4397, allocations: 167.8 kB / 0.5057 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001895/0.4416, allocations: 0.6844 MB / 0.5064 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002087/0.4437, allocations: 1.474 MB / 0.5078 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002974/0.4467, allocations: 1.785 MB / 0.5095 GB, free: 12.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008301/0.4551, allocations: 5.635 MB / 0.515 GB, free: 11.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.4551, allocations: 0 / 0.515 GB, free: 11.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4551, allocations: 0 / 0.515 GB, free: 11.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002494/0.4554, allocations: 1.938 kB / 0.515 GB, free: 11.76 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.009933/0.4653, allocations: 4.026 MB / 0.519 GB, free: 10.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.4654, allocations: 10.12 kB / 0.519 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001094/0.4665, allocations: 0.6918 MB / 0.5197 GB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009001/0.4755, allocations: 2.959 MB / 0.5226 GB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00347/0.479, allocations: 1.813 MB / 0.5243 GB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.16e-05/0.4791, allocations: 184.5 kB / 0.5245 GB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004569/0.4795, allocations: 241.1 kB / 0.5247 GB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01303/0.4926, allocations: 9.76 MB / 0.5343 GB, free: 4.418 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.399e-05/0.4927, allocations: 17.91 kB / 0.5343 GB, free: 4.418 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003567/0.493, allocations: 113.1 kB / 0.5344 GB, free: 4.379 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00323/0.4963, allocations: 2.365 MB / 0.5367 GB, free: 3.477 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0179/0.5142, allocations: 8.953 MB / 0.5454 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05185/0.5661, allocations: 29.73 MB / 0.5745 GB, free: 14.53 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007246/0.5734, allocations: 3.481 MB / 0.5779 GB, free: 10.82 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001768/0.5752, allocations: 1.095 MB / 0.5789 GB, free: 9.719 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01124/0.5864, allocations: 6.479 MB / 0.5853 GB, free: 2.859 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.16e-05/0.5865, allocations: 47.16 kB / 0.5853 GB, free: 2.805 MB / 430.1 MB Notification: Performance of pre-optimization done (n=135): time 5.67e-06/0.5866, allocations: 0 / 0.5853 GB, free: 2.805 MB / 430.1 MB Notification: Performance of matching and sorting (n=135): time 0.008601/0.5952, allocations: 3.13 MB / 0.5884 GB, free: 15.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.084e-05/0.5953, allocations: 111.5 kB / 0.5885 GB, free: 15.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005738/0.601, allocations: 2.741 MB / 0.5911 GB, free: 12.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001779/0.6013, allocations: 41.7 kB / 0.5912 GB, free: 12.74 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002097/0.6034, allocations: 2.733 MB / 0.5939 GB, free: 10 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007529/0.6041, allocations: 0.5192 MB / 0.5944 GB, free: 9.484 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001771/0.6059, allocations: 0.931 MB / 0.5953 GB, free: 8.547 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.578e-05/0.606, allocations: 301.1 kB / 0.5956 GB, free: 8.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002271/0.6083, allocations: 1.406 MB / 0.5969 GB, free: 6.836 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004505/0.6128, allocations: 4.233 MB / 0.6011 GB, free: 1.234 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007084/0.6199, allocations: 6.15 MB / 0.6071 GB, free: 10.1 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.541e-05/0.6201, allocations: 28 kB / 0.6071 GB, free: 10.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.01035/0.6304, allocations: 5.448 MB / 0.6124 GB, free: 5.207 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001302/0.6306, allocations: 55.53 kB / 0.6125 GB, free: 5.156 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001727/0.6308, allocations: 100 kB / 0.6126 GB, free: 5.059 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001461/0.6309, allocations: 136 kB / 0.6127 GB, free: 4.926 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003186/0.6341, allocations: 0.9932 MB / 0.6137 GB, free: 4.023 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001961/0.6343, allocations: 194.3 kB / 0.6139 GB, free: 3.875 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003503/0.6378, allocations: 0.6213 MB / 0.6145 GB, free: 3.25 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006225/0.6385, allocations: 280 kB / 0.6147 GB, free: 2.977 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.003803/0.6423, allocations: 1.987 MB / 0.6167 GB, free: 1.07 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000651/0.643, allocations: 232.8 kB / 0.6169 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008834/0.6438, allocations: 292.8 kB / 0.6172 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.876e-05/0.6439, allocations: 18.19 kB / 0.6172 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.6439, allocations: 0 / 0.6172 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.566e-05/0.6439, allocations: 7.984 kB / 0.6172 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01272/0.6567, allocations: 6.187 MB / 0.6232 GB, free: 10.24 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.665e-05/0.6567, allocations: 8 kB / 0.6232 GB, free: 10.23 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006681/0.6574, allocations: 168.9 kB / 0.6234 GB, free: 10.08 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.739e-05/0.6574, allocations: 12 kB / 0.6234 GB, free: 10.07 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-05/0.6575, allocations: 27.98 kB / 0.6234 GB, free: 10.04 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-05/0.6575, allocations: 16.31 kB / 0.6235 GB, free: 10.03 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.687e-06/0.6576, allocations: 8 kB / 0.6235 GB, free: 10.02 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002564/0.6601, allocations: 2.003 MB / 0.6254 GB, free: 7.918 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007342/0.6609, allocations: 317.7 kB / 0.6257 GB, free: 7.586 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005246/0.6614, allocations: 31.98 kB / 0.6258 GB, free: 7.555 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009145/0.6623, allocations: 35.97 kB / 0.6258 GB, free: 7.52 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001634/0.6625, allocations: 90.06 kB / 0.6259 GB, free: 7.434 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/0.6626, allocations: 46.58 kB / 0.6259 GB, free: 7.391 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003405/0.666, allocations: 1.674 MB / 0.6276 GB, free: 5.707 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.666, allocations: 0 / 0.6276 GB, free: 5.707 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004994/0.671, allocations: 1.041 MB / 0.6286 GB, free: 4.664 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.003496/0.6746, allocations: 2.643 MB / 0.6312 GB, free: 1.918 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00543/0.68, allocations: 3.251 MB / 0.6343 GB, free: 14.72 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/0.6801, allocations: 1.938 kB / 0.6343 GB, free: 14.72 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.6811, allocations: 0.8034 MB / 0.6351 GB, free: 13.92 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002613/0.6837, allocations: 294.6 kB / 0.6354 GB, free: 13.64 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06047/0.7442, allocations: 34.93 MB / 0.6695 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005849/0.7501, allocations: 3.1 MB / 0.6725 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004057/0.7542, allocations: 1.548 MB / 0.674 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00288/0.7571, allocations: 1.609 MB / 0.6756 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of SimCode: time 1.202e-06/0.7571, allocations: 3.938 kB / 0.6756 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2883/1.045, allocations: 43.34 MB / 0.7179 GB, free: 207.8 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001569/1.046, allocations: 194.1 kB / 0.7181 GB, free: 207.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.02/4.065, allocations: 3.406 kB / 0.7181 GB, free: 207.5 MB / 0.545 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Planes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Planes.fmu > 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