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.00168/0.00168, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001997/0.001998, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 227.4 MB / 247 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2336/0.2336, allocations: 46.13 MB / 344.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002199/0.002199, allocations: 75.88 kB / 480.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3334, allocations: 62.45 MB / 0.5306 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01424/0.3477, allocations: 11.5 MB / 0.5418 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007725/0.3555, allocations: 3.056 MB / 0.5448 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002315/0.3579, allocations: 61.91 kB / 0.5449 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003665/0.3615, allocations: 1.576 MB / 0.5464 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004869/0.3665, allocations: 1.564 MB / 0.5479 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005742/0.3671, allocations: 115.8 kB / 0.5481 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005787/0.3729, allocations: 3.307 MB / 0.5513 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003776/0.3767, allocations: 2.19 MB / 0.5534 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002293/0.379, allocations: 1.148 MB / 0.5545 GB, free: 8.969 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003985/0.383, allocations: 2.432 MB / 0.5569 GB, free: 6.531 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008676/0.3839, allocations: 228 kB / 0.5571 GB, free: 6.309 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001909/0.3858, allocations: 0.7021 MB / 0.5578 GB, free: 5.605 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002/0.3879, allocations: 1.492 MB / 0.5593 GB, free: 4.109 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002598/0.3905, allocations: 1.812 MB / 0.5611 GB, free: 2.285 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008497/0.399, allocations: 5.935 MB / 0.5668 GB, free: 12.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.399, allocations: 0 / 0.5668 GB, free: 12.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.399, allocations: 4 kB / 0.5669 GB, free: 12.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002033/0.3993, allocations: 0 / 0.5669 GB, free: 12.32 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.009507/0.4088, allocations: 4.097 MB / 0.5709 GB, free: 8.148 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.4088, allocations: 12.03 kB / 0.5709 GB, free: 8.137 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001574/0.4104, allocations: 0.6877 MB / 0.5715 GB, free: 7.438 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01078/0.4212, allocations: 2.989 MB / 0.5745 GB, free: 4.441 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004397/0.4256, allocations: 1.847 MB / 0.5763 GB, free: 2.547 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003359/0.426, allocations: 188.7 kB / 0.5764 GB, free: 2.359 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009354/0.427, allocations: 239.8 kB / 0.5767 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01821/0.4452, allocations: 9.749 MB / 0.5862 GB, free: 8.004 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.517e-05/0.4453, allocations: 19.81 kB / 0.5862 GB, free: 7.984 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004147/0.4457, allocations: 111.8 kB / 0.5863 GB, free: 7.875 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004381/0.4501, allocations: 2.369 MB / 0.5886 GB, free: 5.504 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01889/0.469, allocations: 8.952 MB / 0.5974 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04912/0.5182, allocations: 29.58 MB / 0.6263 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006947/0.5252, allocations: 3.474 MB / 0.6296 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001784/0.527, allocations: 1.103 MB / 0.6307 GB, free: 9.383 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01084/0.5379, allocations: 6.466 MB / 0.637 GB, free: 2.492 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.457e-05/0.538, allocations: 51.16 kB / 0.6371 GB, free: 2.434 MB / 494.1 MB Notification: Performance of pre-optimization done (n=135): time 3.978e-06/0.538, allocations: 0 / 0.6371 GB, free: 2.434 MB / 494.1 MB Notification: Performance of matching and sorting (n=135): time 0.008154/0.5461, allocations: 3.139 MB / 0.6402 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.341e-05/0.5463, allocations: 115.5 kB / 0.6403 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004528/0.5508, allocations: 2.742 MB / 0.6429 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001776/0.551, allocations: 37.7 kB / 0.643 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002378/0.5534, allocations: 2.845 MB / 0.6458 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007113/0.5541, allocations: 0.5505 MB / 0.6463 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001362/0.5555, allocations: 0.933 MB / 0.6472 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.5556, allocations: 301.1 kB / 0.6475 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002095/0.5577, allocations: 1.403 MB / 0.6489 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004767/0.5625, allocations: 4.229 MB / 0.653 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007981/0.5705, allocations: 6.155 MB / 0.659 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.084e-05/0.5706, allocations: 28 kB / 0.659 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.009953/0.5806, allocations: 5.467 MB / 0.6644 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.939e-05/0.5807, allocations: 50.03 kB / 0.6644 GB, free: 3.512 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001305/0.5808, allocations: 100 kB / 0.6645 GB, free: 3.414 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001544/0.581, allocations: 132 kB / 0.6646 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003129/0.5841, allocations: 0.9942 MB / 0.6656 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001891/0.5843, allocations: 195.2 kB / 0.6658 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00325/0.5876, allocations: 0.6286 MB / 0.6664 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005945/0.5882, allocations: 292 kB / 0.6667 GB, free: 1.18 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003538/0.5918, allocations: 1.977 MB / 0.6686 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005213/0.5923, allocations: 246.2 kB / 0.6689 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006334/0.5929, allocations: 288.8 kB / 0.6691 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.644e-05/0.593, allocations: 19.98 kB / 0.6691 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.429e-05/0.593, allocations: 256 / 0.6691 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.593, allocations: 3.984 kB / 0.6691 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01056/0.6036, allocations: 6.2 MB / 0.6752 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.641e-05/0.6036, allocations: 12.19 kB / 0.6752 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006539/0.6043, allocations: 167.7 kB / 0.6754 GB, free: 8.098 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.572e-05/0.6043, allocations: 12 kB / 0.6754 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.83e-05/0.6044, allocations: 27.98 kB / 0.6754 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-05/0.6044, allocations: 19.92 kB / 0.6754 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.257e-06/0.6044, allocations: 11.94 kB / 0.6754 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002685/0.6071, allocations: 2.011 MB / 0.6774 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005685/0.6077, allocations: 323.1 kB / 0.6777 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002266/0.6079, allocations: 20 kB / 0.6777 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006042/0.6085, allocations: 47.94 kB / 0.6778 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/0.6087, allocations: 88.23 kB / 0.6779 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001281/0.6089, allocations: 44 kB / 0.6779 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002979/0.6118, allocations: 1.674 MB / 0.6795 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6119, allocations: 0 / 0.6795 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004319/0.6162, allocations: 1.035 MB / 0.6806 GB, free: 2.645 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 (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.003666/0.6199, allocations: 2.661 MB / 0.6832 GB, free: 15.86 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006391/0.6263, allocations: 3.283 MB / 0.6864 GB, free: 12.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.839e-05/0.6264, allocations: 0 / 0.6864 GB, free: 12.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001206/0.6276, allocations: 0.7897 MB / 0.6871 GB, free: 11.81 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001772/0.6293, allocations: 314.1 kB / 0.6874 GB, free: 11.51 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05158/0.6809, allocations: 31.04 MB / 0.7177 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004435/0.6854, allocations: 3.099 MB / 0.7208 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003592/0.6891, allocations: 1.552 MB / 0.7223 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002401/0.6915, allocations: 1.597 MB / 0.7238 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of SimCode: time 3.487e-06/0.6915, allocations: 0 / 0.7238 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3811/1.073, allocations: 41.45 MB / 0.7643 GB, free: 156 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.71/16.78, allocations: 4 kB / 0.7643 GB, free: 156 MB / 0.5762 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