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.001202/0.001202, allocations: 102 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001238/0.001238, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.4 MB / 246.3 MB, free: 9.059 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2156/0.2156, allocations: 46.12 MB / 343.6 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 72.86 kB / 416.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1216, allocations: 62.45 MB / 479.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.03003/0.1517, allocations: 28.78 MB / 0.4963 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01479/0.1665, allocations: 5.835 MB / 0.502 GB, free: 2.883 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006781/0.1734, allocations: 123.7 kB / 0.5021 GB, free: 2.762 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00357/0.1769, allocations: 1.55 MB / 0.5036 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2512/0.4282, allocations: 1.47 MB / 0.505 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.4293, allocations: 108.7 kB / 0.5051 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007712/0.437, allocations: 4.854 MB / 0.5099 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003601/0.4407, allocations: 2.18 MB / 0.512 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001992/0.4427, allocations: 1.011 MB / 0.513 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004945/0.4476, allocations: 2.88 MB / 0.5158 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000851/0.4485, allocations: 171.2 kB / 0.516 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001853/0.4504, allocations: 0.6849 MB / 0.5166 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001604/0.452, allocations: 1.453 MB / 0.518 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001854/0.4538, allocations: 1.766 MB / 0.5198 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0055/0.4594, allocations: 5.585 MB / 0.5252 GB, free: 7.445 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.4594, allocations: 0 / 0.5252 GB, free: 7.445 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4594, allocations: 0 / 0.5252 GB, free: 7.445 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001142/0.4595, allocations: 0 / 0.5252 GB, free: 7.445 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.007743/0.4673, allocations: 3.984 MB / 0.5291 GB, free: 4.691 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.4673, allocations: 10.47 kB / 0.5291 GB, free: 4.691 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008643/0.4682, allocations: 0.6969 MB / 0.5298 GB, free: 4.254 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008559/0.4768, allocations: 2.958 MB / 0.5327 GB, free: 2.707 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002975/0.4797, allocations: 1.805 MB / 0.5345 GB, free: 1.672 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.397e-05/0.4799, allocations: 182.5 kB / 0.5346 GB, free: 1.625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004031/0.4803, allocations: 239.8 kB / 0.5349 GB, free: 1.582 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01383/0.4941, allocations: 9.768 MB / 0.5444 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.794e-05/0.4942, allocations: 17 kB / 0.5444 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004734/0.4947, allocations: 111.4 kB / 0.5445 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005156/0.4999, allocations: 2.364 MB / 0.5468 GB, free: 8.129 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02258/0.5225, allocations: 8.95 MB / 0.5556 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05368/0.5762, allocations: 29.72 MB / 0.5846 GB, free: 1.277 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00691/0.5831, allocations: 3.49 MB / 0.588 GB, free: 13.56 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001658/0.5848, allocations: 1.099 MB / 0.5891 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01086/0.5957, allocations: 6.461 MB / 0.5954 GB, free: 5.605 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/0.5958, allocations: 53.78 kB / 0.5954 GB, free: 5.547 MB / 446.1 MB Notification: Performance of pre-optimization done (n=135): time 4.449e-06/0.5958, allocations: 0 / 0.5954 GB, free: 5.547 MB / 446.1 MB Notification: Performance of matching and sorting (n=135): time 0.008116/0.6039, allocations: 3.13 MB / 0.5985 GB, free: 2.418 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.705e-05/0.604, allocations: 115.5 kB / 0.5986 GB, free: 2.281 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005571/0.6096, allocations: 2.727 MB / 0.6013 GB, free: 15.53 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.904e-05/0.6097, allocations: 45.45 kB / 0.6013 GB, free: 15.48 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002182/0.6119, allocations: 2.733 MB / 0.604 GB, free: 12.74 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005935/0.6125, allocations: 0.5154 MB / 0.6045 GB, free: 12.23 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001672/0.6142, allocations: 0.9338 MB / 0.6054 GB, free: 11.29 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.6143, allocations: 305.1 kB / 0.6057 GB, free: 10.99 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002337/0.6167, allocations: 1.403 MB / 0.6071 GB, free: 9.578 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00433/0.621, allocations: 4.225 MB / 0.6112 GB, free: 3.984 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007079/0.6281, allocations: 6.154 MB / 0.6172 GB, free: 12.84 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.685e-05/0.6282, allocations: 28 kB / 0.6172 GB, free: 12.81 MB / 478.1 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.01003/0.6382, allocations: 5.451 MB / 0.6225 GB, free: 7.453 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.851e-05/0.6384, allocations: 51.94 kB / 0.6226 GB, free: 7.402 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001408/0.6385, allocations: 100 kB / 0.6227 GB, free: 7.305 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001442/0.6387, allocations: 132.2 kB / 0.6228 GB, free: 7.176 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002957/0.6416, allocations: 0.9981 MB / 0.6238 GB, free: 6.176 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000197/0.6418, allocations: 195.3 kB / 0.624 GB, free: 5.984 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003346/0.6452, allocations: 0.6226 MB / 0.6246 GB, free: 5.355 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005395/0.6458, allocations: 294.8 kB / 0.6249 GB, free: 5.07 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.003693/0.6495, allocations: 1.969 MB / 0.6268 GB, free: 3.09 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005023/0.65, allocations: 228.9 kB / 0.627 GB, free: 2.863 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006414/0.6506, allocations: 288.8 kB / 0.6273 GB, free: 2.574 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.119e-05/0.6507, allocations: 16 kB / 0.6273 GB, free: 2.559 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.627e-05/0.6507, allocations: 3.984 kB / 0.6273 GB, free: 2.555 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.6507, allocations: 7.984 kB / 0.6273 GB, free: 2.547 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01257/0.6633, allocations: 6.186 MB / 0.6333 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.146e-05/0.6633, allocations: 16.2 kB / 0.6334 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000685/0.664, allocations: 164.8 kB / 0.6335 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.15e-05/0.6641, allocations: 12 kB / 0.6335 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.735e-05/0.6642, allocations: 34.17 kB / 0.6336 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.799e-05/0.6642, allocations: 15.94 kB / 0.6336 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.769e-06/0.6642, allocations: 11.94 kB / 0.6336 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002925/0.6671, allocations: 1.999 MB / 0.6355 GB, free: 9.859 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008136/0.668, allocations: 309.7 kB / 0.6358 GB, free: 9.535 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004908/0.6685, allocations: 27.98 kB / 0.6359 GB, free: 9.508 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009023/0.6694, allocations: 47.95 kB / 0.6359 GB, free: 9.461 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/0.6696, allocations: 84.23 kB / 0.636 GB, free: 9.375 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/0.6697, allocations: 50.34 kB / 0.636 GB, free: 9.328 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003552/0.6732, allocations: 1.67 MB / 0.6377 GB, free: 7.652 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.6733, allocations: 4 kB / 0.6377 GB, free: 7.648 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00492/0.6782, allocations: 1.017 MB / 0.6387 GB, free: 6.629 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.003448/0.6816, allocations: 2.651 MB / 0.6412 GB, free: 3.852 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005327/0.687, allocations: 3.255 MB / 0.6444 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.307e-06/0.687, allocations: 4 kB / 0.6444 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009891/0.688, allocations: 0.7896 MB / 0.6452 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002133/0.6902, allocations: 290.8 kB / 0.6455 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05452/0.7447, allocations: 34.88 MB / 0.6795 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005145/0.7499, allocations: 3.099 MB / 0.6826 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003761/0.7537, allocations: 1.552 MB / 0.6841 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002773/0.7564, allocations: 1.597 MB / 0.6856 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of SimCode: time 1.122e-06/0.7565, allocations: 7.938 kB / 0.6856 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2942/1.051, allocations: 43.25 MB / 0.7279 GB, free: 193.8 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001423/1.051, allocations: 191.8 kB / 0.7281 GB, free: 193.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.041/4.092, allocations: 0 / 0.7281 GB, free: 193.5 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