Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001032/0.001032, allocations: 103.6 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001175/0.001175, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.247/1.247, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.185/0.185, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 73.62 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1033, allocations: 62.45 MB / 480.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01075/0.114, allocations: 11.5 MB / 491.6 MB, free: 9.617 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004945/0.119, allocations: 3.057 MB / 494.7 MB, free: 6.551 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/0.1201, allocations: 63.88 kB / 494.8 MB, free: 6.488 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002609/0.1228, allocations: 1.573 MB / 496.3 MB, free: 4.91 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003118/0.1259, allocations: 1.564 MB / 497.9 MB, free: 3.34 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000358/0.1263, allocations: 123.8 kB / 498 MB, free: 3.219 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003534/0.1298, allocations: 3.285 MB / 0.4895 GB, free: 15.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002147/0.132, allocations: 2.191 MB / 0.4917 GB, free: 13.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00122/0.1332, allocations: 1.148 MB / 0.4928 GB, free: 12.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002713/0.1359, allocations: 2.435 MB / 0.4952 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004139/0.1364, allocations: 228 kB / 0.4954 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001183/0.1375, allocations: 0.6982 MB / 0.4961 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001191/0.1387, allocations: 1.5 MB / 0.4975 GB, free: 7.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002027/0.1408, allocations: 1.808 MB / 0.4993 GB, free: 5.859 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005432/0.1462, allocations: 5.634 MB / 0.5048 GB, free: 212 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1463, allocations: 0 / 0.5048 GB, free: 212 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1463, allocations: 0 / 0.5048 GB, free: 212 kB / 382.1 MB Notification: Performance of Transformations before backend: time 8.319e-05/0.1464, allocations: 0 / 0.5048 GB, free: 212 kB / 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.1694/0.3158, allocations: 3.981 MB / 0.5087 GB, free: 39.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.3158, allocations: 9.875 kB / 0.5087 GB, free: 39.61 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008994/0.3167, allocations: 0.6946 MB / 0.5094 GB, free: 39.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009436/0.3262, allocations: 2.959 MB / 0.5123 GB, free: 38.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003295/0.3295, allocations: 1.812 MB / 0.5141 GB, free: 37.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/0.3296, allocations: 185.3 kB / 0.5142 GB, free: 37.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004869/0.3301, allocations: 237.8 kB / 0.5145 GB, free: 37.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01199/0.3421, allocations: 9.758 MB / 0.524 GB, free: 33.15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.631e-05/0.3422, allocations: 18.44 kB / 0.524 GB, free: 33.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002995/0.3425, allocations: 117.3 kB / 0.5241 GB, free: 33.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00295/0.3454, allocations: 2.36 MB / 0.5264 GB, free: 32.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01151/0.3569, allocations: 8.959 MB / 0.5352 GB, free: 23.58 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02723/0.3842, allocations: 29.72 MB / 0.5642 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005672/0.3899, allocations: 3.477 MB / 0.5676 GB, free: 5.422 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001337/0.3913, allocations: 1.107 MB / 0.5687 GB, free: 4.301 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008913/0.4002, allocations: 6.461 MB / 0.575 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.4002, allocations: 47.22 kB / 0.575 GB, free: 13.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=135): time 3.346e-06/0.4002, allocations: 0 / 0.575 GB, free: 13.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=135): time 0.006911/0.4072, allocations: 3.134 MB / 0.5781 GB, free: 10.22 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.819e-05/0.4072, allocations: 112.1 kB / 0.5782 GB, free: 10.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003075/0.4103, allocations: 2.737 MB / 0.5809 GB, free: 7.332 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.241e-05/0.4104, allocations: 41.69 kB / 0.5809 GB, free: 7.285 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001524/0.4119, allocations: 2.727 MB / 0.5836 GB, free: 4.516 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000362/0.4123, allocations: 0.5168 MB / 0.5841 GB, free: 3.992 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009601/0.4133, allocations: 0.9322 MB / 0.585 GB, free: 3.047 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.897e-05/0.4133, allocations: 301.1 kB / 0.5853 GB, free: 2.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001733/0.4151, allocations: 1.404 MB / 0.5866 GB, free: 1.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003514/0.4186, allocations: 4.229 MB / 0.5908 GB, free: 11.69 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006098/0.4247, allocations: 6.155 MB / 0.5968 GB, free: 4.133 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.92e-05/0.4248, allocations: 28 kB / 0.5968 GB, free: 4.105 MB / 430.1 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.00739/0.4322, allocations: 5.454 MB / 0.6021 GB, free: 14.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.502e-05/0.4322, allocations: 54.59 kB / 0.6022 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.741e-05/0.4323, allocations: 100.9 kB / 0.6023 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001078/0.4324, allocations: 135.9 kB / 0.6024 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002402/0.4349, allocations: 1.002 MB / 0.6034 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001348/0.435, allocations: 191.3 kB / 0.6036 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002322/0.4373, allocations: 0.6145 MB / 0.6042 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002916/0.4376, allocations: 288.2 kB / 0.6044 GB, free: 12.27 MB / 446.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.002317/0.44, allocations: 1.977 MB / 0.6064 GB, free: 10.28 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000312/0.4403, allocations: 229 kB / 0.6066 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004058/0.4407, allocations: 292.7 kB / 0.6069 GB, free: 9.758 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-05/0.4407, allocations: 23.98 kB / 0.6069 GB, free: 9.734 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.4407, allocations: 0 / 0.6069 GB, free: 9.734 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.4408, allocations: 3.984 kB / 0.6069 GB, free: 9.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007768/0.4485, allocations: 6.192 MB / 0.6129 GB, free: 3.371 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.4485, allocations: 8 kB / 0.613 GB, free: 3.363 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005717/0.4491, allocations: 163.7 kB / 0.6131 GB, free: 3.203 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.296e-05/0.4491, allocations: 12 kB / 0.6131 GB, free: 3.191 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.94e-05/0.4492, allocations: 28 kB / 0.6132 GB, free: 3.164 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-05/0.4492, allocations: 15.94 kB / 0.6132 GB, free: 3.148 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.466e-06/0.4492, allocations: 15.92 kB / 0.6132 GB, free: 3.133 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002056/0.4513, allocations: 1.994 MB / 0.6151 GB, free: 1.016 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003598/0.4517, allocations: 309.8 kB / 0.6154 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000207/0.4519, allocations: 24 kB / 0.6154 GB, free: 0.668 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005691/0.4525, allocations: 47.95 kB / 0.6155 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.4526, allocations: 80.23 kB / 0.6156 GB, free: 0.543 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.351e-05/0.4527, allocations: 55.98 kB / 0.6156 GB, free: 500 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001878/0.4546, allocations: 1.67 MB / 0.6173 GB, free: 14.81 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4546, allocations: 0 / 0.6173 GB, free: 14.81 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002924/0.4575, allocations: 1.018 MB / 0.6182 GB, free: 13.79 MB / 462.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.002369/0.4599, allocations: 2.644 MB / 0.6208 GB, free: 11.01 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005124/0.465, allocations: 4.095 MB / 0.6248 GB, free: 6.941 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.465, allocations: 0 / 0.6248 GB, free: 6.941 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008249/0.4659, allocations: 0.7951 MB / 0.6256 GB, free: 6.152 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/0.4671, allocations: 300.8 kB / 0.6259 GB, free: 5.867 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03422/0.5013, allocations: 32.98 MB / 0.6581 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002881/0.5043, allocations: 3.103 MB / 0.6611 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003177/0.5074, allocations: 1.544 MB / 0.6626 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00163/0.5091, allocations: 1.601 MB / 0.6642 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of SimCode: time 6.51e-07/0.5091, allocations: 0 / 0.6642 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7606/1.27, allocations: 44 MB / 0.7072 GB, free: 179.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/12.37, allocations: 10.12 kB / 0.7072 GB, free: 179.8 MB / 0.5294 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Planes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Planes.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Visualizers.Planes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches