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: translateModel(ModelicaTest.MultiBody.Visualizers.Planes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|surfaceWireframe.nu|surfaceWireframe.nv|surfaceSolid.nu|surfaceSolid.nv",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes") translateModel(ModelicaTest.MultiBody.Visualizers.Planes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|surfaceWireframe.nu|surfaceWireframe.nv|surfaceSolid.nu|surfaceSolid.nv",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001148/0.001148, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001106/0.001106, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.4 MB / 246.3 MB, free: 9.141 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2227/0.2227, allocations: 46.1 MB / 343.6 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 80.92 kB / 416.8 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1225, allocations: 62.45 MB / 479.3 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.02739/0.1499, allocations: 28.78 MB / 0.4962 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01344/0.1634, allocations: 5.827 MB / 0.5019 GB, free: 2.953 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004726/0.1682, allocations: 119.8 kB / 0.502 GB, free: 2.836 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003356/0.1715, allocations: 1.546 MB / 0.5035 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2169/0.3885, allocations: 1.473 MB / 0.5049 GB, free: 10.74 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007838/0.3893, allocations: 106.7 kB / 0.505 GB, free: 10.74 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007019/0.3964, allocations: 4.86 MB / 0.5098 GB, free: 10.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004189/0.4006, allocations: 2.186 MB / 0.5119 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002725/0.4034, allocations: 1.005 MB / 0.5129 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005333/0.4087, allocations: 2.879 MB / 0.5157 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00132/0.4101, allocations: 172.8 kB / 0.5159 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002529/0.4126, allocations: 0.6829 MB / 0.5165 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002776/0.4154, allocations: 1.452 MB / 0.5179 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002347/0.4178, allocations: 1.768 MB / 0.5197 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006012/0.4238, allocations: 5.581 MB / 0.5251 GB, free: 7.488 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.4238, allocations: 0 / 0.5251 GB, free: 7.488 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4238, allocations: 0 / 0.5251 GB, free: 7.488 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001527/0.424, allocations: 0 / 0.5251 GB, free: 7.488 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.007047/0.4311, allocations: 3.986 MB / 0.529 GB, free: 4.727 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.4311, allocations: 10 kB / 0.529 GB, free: 4.727 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008806/0.4399, allocations: 2.966 MB / 0.5319 GB, free: 3.176 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0036/0.4436, allocations: 1.81 MB / 0.5337 GB, free: 2.137 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/0.4437, allocations: 183 kB / 0.5339 GB, free: 2.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005572/0.4443, allocations: 234.4 kB / 0.5341 GB, free: 2.051 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01526/0.4595, allocations: 9.767 MB / 0.5436 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.273e-05/0.4596, allocations: 18.97 kB / 0.5436 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003602/0.46, allocations: 117 kB / 0.5438 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003614/0.4636, allocations: 2.361 MB / 0.5461 GB, free: 8.809 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01771/0.4813, allocations: 8.954 MB / 0.5548 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04782/0.5292, allocations: 29.72 MB / 0.5838 GB, free: 1.957 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007127/0.5364, allocations: 3.48 MB / 0.5872 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001753/0.5382, allocations: 1.106 MB / 0.5883 GB, free: 13.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01127/0.5494, allocations: 6.461 MB / 0.5946 GB, free: 6.289 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.5495, allocations: 46.31 kB / 0.5947 GB, free: 6.238 MB / 446.1 MB Notification: Performance of pre-optimization done (n=135): time 4.388e-06/0.5495, allocations: 0 / 0.5947 GB, free: 6.238 MB / 446.1 MB Notification: Performance of matching and sorting (n=135): time 0.008175/0.5577, allocations: 3.132 MB / 0.5977 GB, free: 3.102 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.951e-05/0.5578, allocations: 122.1 kB / 0.5978 GB, free: 2.961 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004985/0.5628, allocations: 2.73 MB / 0.6005 GB, free: 216 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.54e-05/0.5629, allocations: 39.97 kB / 0.6005 GB, free: 172 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002674/0.5656, allocations: 2.73 MB / 0.6032 GB, free: 13.44 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007/0.5663, allocations: 0.513 MB / 0.6037 GB, free: 12.93 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001669/0.568, allocations: 0.9366 MB / 0.6046 GB, free: 11.98 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.5681, allocations: 301.1 kB / 0.6049 GB, free: 11.69 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00229/0.5704, allocations: 1.403 MB / 0.6063 GB, free: 10.28 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004764/0.5752, allocations: 4.227 MB / 0.6104 GB, free: 4.68 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008177/0.5834, allocations: 6.162 MB / 0.6164 GB, free: 13.53 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001397/0.5836, allocations: 28 kB / 0.6165 GB, free: 13.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.01298/0.5966, allocations: 5.443 MB / 0.6218 GB, free: 8.168 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001558/0.5968, allocations: 55.97 kB / 0.6218 GB, free: 8.113 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002031/0.597, allocations: 100 kB / 0.6219 GB, free: 8.016 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002044/0.5972, allocations: 132 kB / 0.622 GB, free: 7.887 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003429/0.6006, allocations: 0.9981 MB / 0.623 GB, free: 6.887 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001726/0.6008, allocations: 199.2 kB / 0.6232 GB, free: 6.691 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003551/0.6044, allocations: 0.6165 MB / 0.6238 GB, free: 6.07 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006972/0.6051, allocations: 285.3 kB / 0.6241 GB, free: 5.793 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.003904/0.609, allocations: 1.98 MB / 0.626 GB, free: 3.801 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004595/0.6095, allocations: 228.9 kB / 0.6262 GB, free: 3.574 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006606/0.6101, allocations: 288.8 kB / 0.6265 GB, free: 3.285 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.219e-05/0.6102, allocations: 16 kB / 0.6265 GB, free: 3.27 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.455e-05/0.6102, allocations: 4 kB / 0.6265 GB, free: 3.266 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.6102, allocations: 3.984 kB / 0.6265 GB, free: 3.262 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01169/0.6219, allocations: 6.193 MB / 0.6326 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.719e-05/0.622, allocations: 8 kB / 0.6326 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006686/0.6227, allocations: 168.6 kB / 0.6328 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.742e-05/0.6227, allocations: 12 kB / 0.6328 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.372e-05/0.6228, allocations: 35.98 kB / 0.6328 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.6e-05/0.6228, allocations: 16.19 kB / 0.6328 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/0.6228, allocations: 12 kB / 0.6328 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002521/0.6253, allocations: 2.002 MB / 0.6348 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007087/0.6261, allocations: 305.8 kB / 0.6351 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00041/0.6265, allocations: 27.98 kB / 0.6351 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008048/0.6273, allocations: 43.81 kB / 0.6351 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/0.6275, allocations: 94.88 kB / 0.6352 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/0.6276, allocations: 44 kB / 0.6353 GB, free: 10.04 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002881/0.6305, allocations: 1.67 MB / 0.6369 GB, free: 8.363 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6305, allocations: 3.938 kB / 0.6369 GB, free: 8.359 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004407/0.6349, allocations: 1.021 MB / 0.6379 GB, free: 7.336 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.0004337/0.6353, allocations: 153.6 kB / 0.638 GB, free: 7.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005377/0.6407, allocations: 3.248 MB / 0.6412 GB, free: 3.957 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/0.6408, allocations: 0 / 0.6412 GB, free: 3.957 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0011/0.6419, allocations: 0.8007 MB / 0.642 GB, free: 3.164 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001846/0.6437, allocations: 288.2 kB / 0.6423 GB, free: 2.887 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02187/0.6656, allocations: 9.764 MB / 0.6518 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003769/0.6694, allocations: 3.103 MB / 0.6548 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003767/0.6732, allocations: 1.548 MB / 0.6564 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004061/0.6736, allocations: 167.4 kB / 0.6565 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of SimCode: time 1.102e-06/0.6737, allocations: 4 kB / 0.6565 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of Templates: time 0.04059/0.7143, allocations: 18.99 MB / 0.6751 GB, free: 1.301 MB / 0.5137 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Planes/Planes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches