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.001295/0.001295, allocations: 100 kB / 17 MB, free: 6.535 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.001201/0.001201, allocations: 186.2 kB / 17.89 MB, free: 5.941 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.371/1.371, allocations: 223.2 MB / 241.9 MB, free: 324 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2179/0.2179, allocations: 44.22 MB / 337.2 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002984/0.0002985, allocations: 8 kB / 409.7 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1151, allocations: 61.92 MB / 471.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.0233/0.1384, allocations: 26.13 MB / 497.8 MB, free: 3.434 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01238/0.1509, allocations: 5.547 MB / 0.4915 GB, free: 13.87 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004784/0.1557, allocations: 119.7 kB / 0.4916 GB, free: 13.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003661/0.1594, allocations: 1.275 MB / 0.4929 GB, free: 12.47 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01034/0.1697, allocations: 3.822 MB / 0.4966 GB, free: 8.633 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.171, allocations: 123.9 kB / 0.4967 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2923/0.4633, allocations: 31.22 MB / 0.5272 GB, free: 18.37 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003715/0.467, allocations: 2.604 MB / 0.5298 GB, free: 17.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001619/0.4687, allocations: 0.9587 MB / 0.5307 GB, free: 17.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.06827/0.537, allocations: 57.44 MB / 0.5868 GB, free: 1.371 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001011/0.5381, allocations: 124 kB / 0.5869 GB, free: 1.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001648/0.5397, allocations: 0.5357 MB / 0.5874 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001547/0.5413, allocations: 1.363 MB / 0.5888 GB, free: 15.87 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008769/0.5422, allocations: 0.7258 MB / 0.5895 GB, free: 15.65 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005436/0.5476, allocations: 4.539 MB / 0.5939 GB, free: 11.58 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.5476, allocations: 0 / 0.5939 GB, free: 11.58 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.5477, allocations: 0 / 0.5939 GB, free: 11.58 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002255/0.5479, allocations: 0 / 0.5939 GB, free: 11.58 MB / 430.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.006587/0.5545, allocations: 3.352 MB / 0.5972 GB, free: 8.27 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.5545, allocations: 12.03 kB / 0.5972 GB, free: 8.258 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001413/0.556, allocations: 0.6914 MB / 0.5979 GB, free: 7.555 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008857/0.5648, allocations: 3.04 MB / 0.6008 GB, free: 4.504 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003676/0.5686, allocations: 1.789 MB / 0.6026 GB, free: 2.809 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001559/0.5687, allocations: 186.1 kB / 0.6028 GB, free: 2.625 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005659/0.5693, allocations: 239.8 kB / 0.603 GB, free: 2.391 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01519/0.5845, allocations: 9.74 MB / 0.6125 GB, free: 8.297 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.459e-05/0.5846, allocations: 19.81 kB / 0.6125 GB, free: 8.277 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003403/0.585, allocations: 111.8 kB / 0.6126 GB, free: 8.168 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003381/0.5883, allocations: 2.363 MB / 0.6149 GB, free: 5.797 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01677/0.6051, allocations: 8.915 MB / 0.6236 GB, free: 12.88 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04098/0.6462, allocations: 29.73 MB / 0.6527 GB, free: 14.42 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006198/0.6524, allocations: 3.466 MB / 0.6561 GB, free: 10.72 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001684/0.6541, allocations: 1.099 MB / 0.6571 GB, free: 9.605 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01005/0.6642, allocations: 6.478 MB / 0.6635 GB, free: 2.711 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.664e-05/0.6642, allocations: 47.14 kB / 0.6635 GB, free: 2.656 MB / 494.1 MB Notification: Performance of pre-optimization done (n=135): time 4.718e-06/0.6642, allocations: 0 / 0.6635 GB, free: 2.656 MB / 494.1 MB Notification: Performance of matching and sorting (n=135): time 0.007095/0.6714, allocations: 3.118 MB / 0.6665 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.015e-05/0.6714, allocations: 115.5 kB / 0.6667 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003847/0.6753, allocations: 2.718 MB / 0.6693 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.799e-05/0.6754, allocations: 37.7 kB / 0.6693 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001706/0.6771, allocations: 2.739 MB / 0.672 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004194/0.6775, allocations: 0.5207 MB / 0.6725 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/0.6777, allocations: 84 kB / 0.6726 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002949/0.678, allocations: 0.5004 MB / 0.6731 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001893/0.6799, allocations: 1.391 MB / 0.6745 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003739/0.6836, allocations: 4.209 MB / 0.6786 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003042/0.6867, allocations: 2.429 MB / 0.6809 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.876e-05/0.6867, allocations: 35.95 kB / 0.681 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.008254/0.695, allocations: 5.411 MB / 0.6863 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.56e-05/0.6951, allocations: 48 kB / 0.6863 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001097/0.6952, allocations: 104 kB / 0.6864 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001467/0.6953, allocations: 144 kB / 0.6865 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002754/0.6981, allocations: 0.9903 MB / 0.6875 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001614/0.6983, allocations: 201.1 kB / 0.6877 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00262/0.7009, allocations: 0.6143 MB / 0.6883 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003546/0.7013, allocations: 288.3 kB / 0.6886 GB, free: 7.445 MB / 0.5137 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003096/0.7044, allocations: 1.978 MB / 0.6905 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000334/0.7047, allocations: 236.8 kB / 0.6907 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000517/0.7052, allocations: 288.8 kB / 0.691 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.973e-05/0.7053, allocations: 16 kB / 0.691 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.7053, allocations: 4 kB / 0.691 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.7053, allocations: 3.984 kB / 0.691 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008701/0.714, allocations: 6.182 MB / 0.6971 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.714, allocations: 8.156 kB / 0.6971 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005853/0.7146, allocations: 167.8 kB / 0.6972 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.852e-05/0.7147, allocations: 19.94 kB / 0.6973 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.018e-05/0.7147, allocations: 27.94 kB / 0.6973 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.391e-05/0.7148, allocations: 15.98 kB / 0.6973 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/0.7148, allocations: 12.19 kB / 0.6973 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002237/0.717, allocations: 1.997 MB / 0.6993 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005788/0.7176, allocations: 317.9 kB / 0.6996 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001972/0.7178, allocations: 35.98 kB / 0.6996 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005303/0.7183, allocations: 43.95 kB / 0.6996 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.7185, allocations: 88.25 kB / 0.6997 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.021e-05/0.7186, allocations: 51.98 kB / 0.6998 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002187/0.7207, allocations: 1.658 MB / 0.7014 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7208, allocations: 0 / 0.7014 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00323/0.724, allocations: 1.039 MB / 0.7024 GB, free: 8.941 MB / 0.5294 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002518/0.7265, allocations: 2.636 MB / 0.705 GB, free: 6.172 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004325/0.7309, allocations: 3.229 MB / 0.7081 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.7309, allocations: 4.062 kB / 0.7081 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008774/0.7318, allocations: 0.7935 MB / 0.7089 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001242/0.733, allocations: 291.5 kB / 0.7092 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2367/0.9697, allocations: 22.89 MB / 0.7315 GB, free: 181 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003378/0.9731, allocations: 3.104 MB / 0.7346 GB, free: 179.8 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00325/0.9764, allocations: 1.549 MB / 0.7361 GB, free: 179.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001498/0.9779, allocations: 1.599 MB / 0.7377 GB, free: 178.3 MB / 0.5294 GB Notification: Performance of SimCode: time 2.856e-06/0.9779, allocations: 0 / 0.7377 GB, free: 178.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06361/1.042, allocations: 51.6 MB / 0.788 GB, free: 131.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001253/1.042, allocations: 178.2 kB / 0.7882 GB, free: 131 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.274/4.316, allocations: 5.375 kB / 0.7882 GB, free: 131 MB / 0.5294 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes_res.mat does not exist to compare? outputFormat=mat