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.001576/0.001576, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001807/0.001807, allocations: 192 kB / 18.56 MB, free: 4.434 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.355/1.355, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.2001/0.2001, allocations: 44.18 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 58.94 kB / 408.5 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09775/0.09903, allocations: 60.83 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01262/0.1117, allocations: 11.55 MB / 480.9 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005888/0.1176, allocations: 3.026 MB / 483.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001368/0.119, allocations: 63.88 kB / 484 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002969/0.122, allocations: 1.549 MB / 485.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003737/0.1258, allocations: 1.576 MB / 487.1 MB, free: 12.44 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005358/0.1264, allocations: 115.8 kB / 487.2 MB, free: 12.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004405/0.1308, allocations: 3.331 MB / 490.6 MB, free: 8.988 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002838/0.1336, allocations: 2.191 MB / 492.8 MB, free: 6.766 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001707/0.1354, allocations: 1.156 MB / 493.9 MB, free: 5.605 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003146/0.1385, allocations: 2.431 MB / 496.3 MB, free: 3.168 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006525/0.1392, allocations: 228 kB / 496.6 MB, free: 2.945 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001291/0.1405, allocations: 0.7138 MB / 497.3 MB, free: 2.23 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001217/0.1417, allocations: 1.504 MB / 498.8 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00151/0.1432, allocations: 1.836 MB / 0.4889 GB, free: 14.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004873/0.1481, allocations: 5.681 MB / 0.4944 GB, free: 9.176 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.538e-06/0.1482, allocations: 0 / 0.4944 GB, free: 9.176 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1482, allocations: 7.875 kB / 0.4944 GB, free: 9.168 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.508e-05/0.1483, allocations: 0 / 0.4944 GB, free: 9.168 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.006323/0.1546, allocations: 4.026 MB / 0.4984 GB, free: 5.074 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.1547, allocations: 8.031 kB / 0.4984 GB, free: 5.066 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007821/0.1555, allocations: 0.6954 MB / 0.4991 GB, free: 4.359 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009759/0.1652, allocations: 2.963 MB / 0.502 GB, free: 1.387 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2037/0.369, allocations: 1.81 MB / 0.5037 GB, free: 45.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001711/0.3692, allocations: 184 kB / 0.5039 GB, free: 45.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007804/0.37, allocations: 241.3 kB / 0.5041 GB, free: 45.26 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01441/0.3844, allocations: 9.756 MB / 0.5137 GB, free: 41.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.862e-05/0.3845, allocations: 21.41 kB / 0.5137 GB, free: 41.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003281/0.3848, allocations: 110.9 kB / 0.5138 GB, free: 41.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003777/0.3886, allocations: 2.365 MB / 0.5161 GB, free: 41.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01501/0.4036, allocations: 8.952 MB / 0.5248 GB, free: 37.54 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03111/0.4348, allocations: 29.73 MB / 0.5539 GB, free: 7.301 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005095/0.4399, allocations: 3.488 MB / 0.5573 GB, free: 3.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001201/0.4411, allocations: 1.103 MB / 0.5584 GB, free: 2.457 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009243/0.4504, allocations: 6.461 MB / 0.5647 GB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.4504, allocations: 43.16 kB / 0.5647 GB, free: 11.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=135): time 5.149e-06/0.4505, allocations: 0 / 0.5647 GB, free: 11.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=135): time 0.007722/0.4582, allocations: 3.134 MB / 0.5678 GB, free: 8.379 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.153e-05/0.4583, allocations: 115.5 kB / 0.5679 GB, free: 8.242 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00363/0.4619, allocations: 2.737 MB / 0.5705 GB, free: 5.484 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.764e-05/0.462, allocations: 37.7 kB / 0.5706 GB, free: 5.441 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002028/0.464, allocations: 2.735 MB / 0.5733 GB, free: 2.664 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004188/0.4644, allocations: 0.5129 MB / 0.5738 GB, free: 2.145 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001089/0.4655, allocations: 0.9284 MB / 0.5747 GB, free: 1.203 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.4657, allocations: 317.1 kB / 0.575 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001984/0.4677, allocations: 1.403 MB / 0.5763 GB, free: 15.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004457/0.4721, allocations: 4.229 MB / 0.5805 GB, free: 9.836 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007542/0.4797, allocations: 6.148 MB / 0.5865 GB, free: 2.285 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.489e-05/0.4798, allocations: 32 kB / 0.5865 GB, free: 2.254 MB / 414.1 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.008939/0.4887, allocations: 5.447 MB / 0.5918 GB, free: 12.8 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8e-05/0.4888, allocations: 48 kB / 0.5919 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001615/0.489, allocations: 100 kB / 0.592 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001699/0.4892, allocations: 132 kB / 0.5921 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002742/0.4919, allocations: 0.9983 MB / 0.5931 GB, free: 11.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001934/0.4921, allocations: 195.8 kB / 0.5932 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002879/0.495, allocations: 0.6225 MB / 0.5939 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004083/0.4955, allocations: 284 kB / 0.5941 GB, free: 10.43 MB / 430.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.003305/0.4988, allocations: 1.989 MB / 0.5961 GB, free: 8.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005013/0.4993, allocations: 225 kB / 0.5963 GB, free: 8.207 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006334/0.4999, allocations: 288.8 kB / 0.5966 GB, free: 7.922 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.304e-05/0.5, allocations: 19.94 kB / 0.5966 GB, free: 7.902 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.439e-05/0.5, allocations: 0 / 0.5966 GB, free: 7.902 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.5, allocations: 3.984 kB / 0.5966 GB, free: 7.898 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01051/0.5105, allocations: 6.203 MB / 0.6026 GB, free: 1.527 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/0.5106, allocations: 8.969 kB / 0.6026 GB, free: 1.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006444/0.5112, allocations: 163.7 kB / 0.6028 GB, free: 1.359 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.985e-05/0.5112, allocations: 19.94 kB / 0.6028 GB, free: 1.34 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.111e-05/0.5113, allocations: 31.98 kB / 0.6029 GB, free: 1.309 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.421e-05/0.5113, allocations: 12 kB / 0.6029 GB, free: 1.297 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.376e-06/0.5113, allocations: 11.94 kB / 0.6029 GB, free: 1.285 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002345/0.5137, allocations: 1.994 MB / 0.6048 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005194/0.5142, allocations: 309.7 kB / 0.6051 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003222/0.5146, allocations: 31.92 kB / 0.6051 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007095/0.5153, allocations: 47.95 kB / 0.6052 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.5154, allocations: 80.3 kB / 0.6053 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-05/0.5155, allocations: 48 kB / 0.6053 GB, free: 14.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002369/0.5179, allocations: 1.682 MB / 0.607 GB, free: 12.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5179, allocations: 0 / 0.607 GB, free: 12.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00381/0.5217, allocations: 1.033 MB / 0.608 GB, free: 11.91 MB / 446.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.002699/0.5244, allocations: 2.653 MB / 0.6106 GB, free: 9.141 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005719/0.5302, allocations: 4.083 MB / 0.6145 GB, free: 5.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/0.5302, allocations: 0 / 0.6145 GB, free: 5.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008932/0.5311, allocations: 0.8058 MB / 0.6153 GB, free: 4.285 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001472/0.5326, allocations: 297.6 kB / 0.6156 GB, free: 4.004 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.046/0.5786, allocations: 33.02 MB / 0.6479 GB, free: 13.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004372/0.583, allocations: 3.1 MB / 0.6509 GB, free: 10.77 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003617/0.5866, allocations: 1.548 MB / 0.6524 GB, free: 9.215 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002027/0.5887, allocations: 1.604 MB / 0.654 GB, free: 7.609 MB / 494.1 MB Notification: Performance of SimCode: time 9.22e-07/0.5887, allocations: 3.938 kB / 0.654 GB, free: 7.605 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2634/0.8521, allocations: 44.09 MB / 0.697 GB, free: 172.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.868/9.72, allocations: 8.344 kB / 0.697 GB, free: 172.5 MB / 0.5137 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