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.001445/0.001445, allocations: 107 kB / 17.33 MB, free: 6 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.001572/0.001572, allocations: 193.3 kB / 18.25 MB, free: 5.09 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.328/1.328, allocations: 222.9 MB / 241.9 MB, free: 15.38 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.2257/0.2257, allocations: 44.18 MB / 336.2 MB, free: 2.859 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 59.25 kB / 408 MB, free: 27.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.117, allocations: 60.83 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.02907/0.1461, allocations: 28.95 MB / 497.8 MB, free: 1.543 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01392/0.1601, allocations: 5.826 MB / 0.4918 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005818/0.1659, allocations: 127.7 kB / 0.4919 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00347/0.1694, allocations: 1.484 MB / 0.4934 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004083/0.1736, allocations: 1.476 MB / 0.4948 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005302/0.1741, allocations: 107.9 kB / 0.4949 GB, free: 8.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005023/0.1792, allocations: 3.54 MB / 0.4984 GB, free: 4.953 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003093/0.1823, allocations: 2.304 MB / 0.5006 GB, free: 2.617 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001964/0.1843, allocations: 1.168 MB / 0.5018 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2823/0.4666, allocations: 2.957 MB / 0.5046 GB, free: 13.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008767/0.4675, allocations: 229.4 kB / 0.5049 GB, free: 13.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001587/0.4691, allocations: 0.7082 MB / 0.5056 GB, free: 13.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001648/0.4708, allocations: 1.532 MB / 0.5071 GB, free: 13.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001754/0.4725, allocations: 1.848 MB / 0.5089 GB, free: 13.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00661/0.4792, allocations: 5.72 MB / 0.5144 GB, free: 12.26 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.4792, allocations: 4.5 kB / 0.5144 GB, free: 12.26 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4792, allocations: 3.938 kB / 0.5144 GB, free: 12.26 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001626/0.4794, allocations: 0 / 0.5144 GB, free: 12.26 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.009361/0.4887, allocations: 4.018 MB / 0.5184 GB, free: 10.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.046e-05/0.4888, allocations: 12.59 kB / 0.5184 GB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001355/0.4902, allocations: 0.698 MB / 0.5191 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009694/0.4999, allocations: 2.957 MB / 0.522 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004602/0.5045, allocations: 1.812 MB / 0.5237 GB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001661/0.5047, allocations: 186.2 kB / 0.5239 GB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007951/0.5055, allocations: 241.1 kB / 0.5241 GB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02096/0.5265, allocations: 9.759 MB / 0.5337 GB, free: 4.969 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.04e-05/0.5266, allocations: 14.53 kB / 0.5337 GB, free: 4.969 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005415/0.5272, allocations: 115.1 kB / 0.5338 GB, free: 4.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004714/0.5319, allocations: 2.366 MB / 0.5361 GB, free: 4.023 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02491/0.5568, allocations: 8.947 MB / 0.5448 GB, free: 12.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04854/0.6054, allocations: 29.73 MB / 0.5739 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006576/0.612, allocations: 3.475 MB / 0.5773 GB, free: 11.25 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001542/0.6136, allocations: 1.108 MB / 0.5783 GB, free: 10.15 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01085/0.6245, allocations: 6.473 MB / 0.5847 GB, free: 3.289 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.6246, allocations: 50.25 kB / 0.5847 GB, free: 3.234 MB / 430.1 MB Notification: Performance of pre-optimization done (n=135): time 4.698e-06/0.6246, allocations: 0 / 0.5847 GB, free: 3.234 MB / 430.1 MB Notification: Performance of matching and sorting (n=135): time 0.008079/0.6327, allocations: 3.131 MB / 0.5878 GB, free: 104 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.695e-05/0.6328, allocations: 111.5 kB / 0.5879 GB, free: 15.97 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005767/0.6386, allocations: 2.741 MB / 0.5906 GB, free: 13.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001171/0.6387, allocations: 44.67 kB / 0.5906 GB, free: 13.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002261/0.641, allocations: 2.731 MB / 0.5933 GB, free: 10.42 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006719/0.6417, allocations: 0.5133 MB / 0.5938 GB, free: 9.914 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001854/0.6435, allocations: 0.9326 MB / 0.5947 GB, free: 8.973 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.6436, allocations: 305.1 kB / 0.595 GB, free: 8.672 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002213/0.6459, allocations: 1.406 MB / 0.5963 GB, free: 7.258 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004152/0.65, allocations: 4.228 MB / 0.6005 GB, free: 1.664 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006884/0.6569, allocations: 6.148 MB / 0.6065 GB, free: 10.53 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.245e-05/0.657, allocations: 28 kB / 0.6065 GB, free: 10.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.009794/0.6668, allocations: 5.449 MB / 0.6118 GB, free: 5.641 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001034/0.667, allocations: 51.94 kB / 0.6119 GB, free: 5.59 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001615/0.6671, allocations: 100 kB / 0.612 GB, free: 5.492 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001644/0.6673, allocations: 132 kB / 0.6121 GB, free: 5.363 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002794/0.6701, allocations: 0.9991 MB / 0.6131 GB, free: 4.457 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001556/0.6703, allocations: 198.5 kB / 0.6133 GB, free: 4.305 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003211/0.6735, allocations: 0.6211 MB / 0.6139 GB, free: 3.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005054/0.674, allocations: 284 kB / 0.6141 GB, free: 3.402 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.003788/0.6778, allocations: 1.974 MB / 0.6161 GB, free: 1.508 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005111/0.6783, allocations: 232.8 kB / 0.6163 GB, free: 1.277 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006083/0.6789, allocations: 292 kB / 0.6166 GB, free: 0.9883 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.623e-05/0.679, allocations: 16 kB / 0.6166 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.679, allocations: 0 / 0.6166 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.679, allocations: 7.984 kB / 0.6166 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01367/0.6927, allocations: 6.192 MB / 0.6226 GB, free: 10.68 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.945e-05/0.6928, allocations: 12 kB / 0.6226 GB, free: 10.67 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006879/0.6935, allocations: 169.1 kB / 0.6228 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.899e-05/0.6935, allocations: 16.03 kB / 0.6228 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.684e-05/0.6936, allocations: 30.66 kB / 0.6229 GB, free: 10.47 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.585e-05/0.6936, allocations: 14.72 kB / 0.6229 GB, free: 10.46 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.116e-06/0.6936, allocations: 10.62 kB / 0.6229 GB, free: 10.45 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002752/0.6964, allocations: 2.002 MB / 0.6248 GB, free: 8.344 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007857/0.6972, allocations: 309.8 kB / 0.6251 GB, free: 8.02 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005446/0.6977, allocations: 35.19 kB / 0.6252 GB, free: 7.988 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/0.6988, allocations: 39.95 kB / 0.6252 GB, free: 7.949 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/0.699, allocations: 88.42 kB / 0.6253 GB, free: 7.867 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/0.6991, allocations: 46.34 kB / 0.6253 GB, free: 7.824 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003267/0.7023, allocations: 1.674 MB / 0.627 GB, free: 6.141 MB / 478.1 MB Notification: Performance of sort global known variables: time 2e-07/0.7024, allocations: 0 / 0.627 GB, free: 6.141 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004543/0.7069, allocations: 1.041 MB / 0.628 GB, free: 5.098 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.00308/0.71, allocations: 2.651 MB / 0.6306 GB, free: 2.34 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007188/0.7172, allocations: 4.088 MB / 0.6346 GB, free: 14.32 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.308e-05/0.7172, allocations: 4.312 kB / 0.6346 GB, free: 14.31 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009661/0.7182, allocations: 0.7939 MB / 0.6353 GB, free: 13.52 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002248/0.7205, allocations: 299.6 kB / 0.6356 GB, free: 13.25 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06891/0.7894, allocations: 34.94 MB / 0.6697 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005864/0.7953, allocations: 3.096 MB / 0.6728 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00394/0.7993, allocations: 1.548 MB / 0.6743 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002775/0.8021, allocations: 1.607 MB / 0.6758 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of SimCode: time 1.834e-06/0.8021, allocations: 4 kB / 0.6759 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.298/1.1, allocations: 43.96 MB / 0.7188 GB, free: 212 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001437/1.1, allocations: 196.3 kB / 0.719 GB, free: 211.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.027/4.127, allocations: 0 / 0.719 GB, free: 211.7 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