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.0009531/0.0009532, allocations: 97.98 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009358/0.000936, allocations: 203.1 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1931/0.1931, allocations: 46.17 MB / 345.2 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002336/0.0002336, allocations: 8 kB / 419.6 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1068, allocations: 63.56 MB / 483.2 MB, free: 4.098 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.02624/0.133, allocations: 27.87 MB / 0.4991 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01345/0.1465, allocations: 5.802 MB / 0.5047 GB, free: 2.289 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004171/0.1507, allocations: 119.8 kB / 0.5048 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.1518, allocations: 422.2 kB / 0.5052 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003382/0.1552, allocations: 1.487 MB / 0.5067 GB, free: 272 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003171/0.1555, allocations: 107.8 kB / 0.5068 GB, free: 164 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2196/0.3752, allocations: 4.845 MB / 0.5115 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003773/0.379, allocations: 2.818 MB / 0.5143 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00134/0.3803, allocations: 0.8919 MB / 0.5152 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003331/0.3837, allocations: 2.738 MB / 0.5178 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003897/0.3841, allocations: 124.6 kB / 0.5179 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001194/0.3853, allocations: 0.6424 MB / 0.5186 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001059/0.3864, allocations: 1.393 MB / 0.5199 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001107/0.3875, allocations: 1.706 MB / 0.5216 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00405/0.3915, allocations: 5.438 MB / 0.5269 GB, free: 7.215 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3915, allocations: 0 / 0.5269 GB, free: 7.215 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3916, allocations: 1.219 kB / 0.5269 GB, free: 7.215 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.758e-05/0.3916, allocations: 0 / 0.5269 GB, free: 7.215 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.004458/0.3961, allocations: 3.265 MB / 0.5301 GB, free: 5.102 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.3961, allocations: 11.06 kB / 0.5301 GB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006721/0.3968, allocations: 0.6931 MB / 0.5308 GB, free: 4.891 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009363/0.4062, allocations: 3.049 MB / 0.5338 GB, free: 3.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002262/0.4085, allocations: 1.808 MB / 0.5355 GB, free: 2.434 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.104e-05/0.4086, allocations: 186 kB / 0.5357 GB, free: 2.387 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004179/0.409, allocations: 242.2 kB / 0.5359 GB, free: 2.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01182/0.4208, allocations: 9.762 MB / 0.5455 GB, free: 11.53 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.211e-05/0.4209, allocations: 15.06 kB / 0.5455 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003387/0.4212, allocations: 117.6 kB / 0.5456 GB, free: 11.45 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003653/0.4249, allocations: 2.358 MB / 0.5479 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01666/0.4416, allocations: 8.954 MB / 0.5566 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04168/0.4833, allocations: 29.75 MB / 0.5857 GB, free: 2.227 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006584/0.4899, allocations: 3.479 MB / 0.5891 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001641/0.4916, allocations: 1.11 MB / 0.5902 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009975/0.5016, allocations: 6.461 MB / 0.5965 GB, free: 6.562 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.5016, allocations: 51.14 kB / 0.5965 GB, free: 6.504 MB / 446.1 MB Notification: Performance of pre-optimization done (n=135): time 5.651e-06/0.5017, allocations: 0 / 0.5965 GB, free: 6.504 MB / 446.1 MB Notification: Performance of matching and sorting (n=135): time 0.007706/0.5094, allocations: 3.135 MB / 0.5996 GB, free: 3.371 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.934e-05/0.5095, allocations: 111.5 kB / 0.5997 GB, free: 3.238 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004527/0.514, allocations: 2.737 MB / 0.6024 GB, free: 492 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.926e-05/0.5141, allocations: 33.7 kB / 0.6024 GB, free: 452 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002206/0.5163, allocations: 2.73 MB / 0.6051 GB, free: 13.7 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006697/0.517, allocations: 0.5205 MB / 0.6056 GB, free: 13.19 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005869/0.5176, allocations: 407.4 kB / 0.606 GB, free: 12.79 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.5177, allocations: 313.1 kB / 0.6063 GB, free: 12.48 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002228/0.52, allocations: 1.403 MB / 0.6076 GB, free: 11.07 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00409/0.5241, allocations: 4.227 MB / 0.6118 GB, free: 5.469 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00652/0.5306, allocations: 6.148 MB / 0.6178 GB, free: 14.32 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.556e-05/0.5307, allocations: 32 kB / 0.6178 GB, free: 14.29 MB / 478.1 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.008818/0.5395, allocations: 5.448 MB / 0.6231 GB, free: 8.902 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.211e-05/0.5396, allocations: 51.94 kB / 0.6232 GB, free: 8.852 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001402/0.5398, allocations: 103.9 kB / 0.6233 GB, free: 8.75 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001544/0.5399, allocations: 132 kB / 0.6234 GB, free: 8.621 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002861/0.5428, allocations: 0.9983 MB / 0.6244 GB, free: 7.621 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001597/0.543, allocations: 191.2 kB / 0.6246 GB, free: 7.434 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002863/0.5458, allocations: 0.6209 MB / 0.6252 GB, free: 6.809 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003769/0.5462, allocations: 290.3 kB / 0.6254 GB, free: 6.527 MB / 478.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.003171/0.5494, allocations: 1.973 MB / 0.6274 GB, free: 4.539 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003895/0.5498, allocations: 228.9 kB / 0.6276 GB, free: 4.312 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005922/0.5504, allocations: 288.8 kB / 0.6279 GB, free: 4.023 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.13e-05/0.5504, allocations: 19.2 kB / 0.6279 GB, free: 4.008 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/0.5505, allocations: 3.938 kB / 0.6279 GB, free: 4.004 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.5505, allocations: 7.984 kB / 0.6279 GB, free: 3.996 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009801/0.5603, allocations: 6.196 MB / 0.6339 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/0.5603, allocations: 9 kB / 0.6339 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006305/0.561, allocations: 163.7 kB / 0.6341 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.379e-05/0.561, allocations: 16 kB / 0.6341 GB, free: 13.47 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.875e-05/0.5611, allocations: 31.75 kB / 0.6342 GB, free: 13.44 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.387e-05/0.5611, allocations: 19.92 kB / 0.6342 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/0.5611, allocations: 8 kB / 0.6342 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002536/0.5636, allocations: 1.99 MB / 0.6361 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005254/0.5642, allocations: 329.6 kB / 0.6364 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003111/0.5645, allocations: 23.98 kB / 0.6365 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007292/0.5652, allocations: 46.69 kB / 0.6365 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/0.5654, allocations: 84.3 kB / 0.6366 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-05/0.5655, allocations: 47.44 kB / 0.6366 GB, free: 10.77 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002865/0.5683, allocations: 1.674 MB / 0.6383 GB, free: 9.086 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5684, allocations: 0 / 0.6383 GB, free: 9.086 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004333/0.5727, allocations: 1.018 MB / 0.6393 GB, free: 8.062 MB / 494.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.00353/0.5762, allocations: 2.648 MB / 0.6418 GB, free: 5.289 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005664/0.5819, allocations: 3.25 MB / 0.645 GB, free: 2.062 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.582, allocations: 0 / 0.645 GB, free: 2.062 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001042/0.583, allocations: 0.8019 MB / 0.6458 GB, free: 1.266 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004201/0.5872, allocations: 294.7 kB / 0.6461 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0542/0.6415, allocations: 34.91 MB / 0.6802 GB, free: 9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004699/0.6462, allocations: 3.088 MB / 0.6832 GB, free: 5.883 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004051/0.6503, allocations: 1.556 MB / 0.6847 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002579/0.6529, allocations: 1.601 MB / 0.6863 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of SimCode: time 8.11e-07/0.653, allocations: 0 / 0.6863 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2821/0.9351, allocations: 42.96 MB / 0.7282 GB, free: 193.9 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001442/0.9353, allocations: 189.6 kB / 0.7284 GB, free: 193.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.766/3.701, allocations: 0 / 0.7284 GB, free: 193.6 MB / 0.545 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