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.001702/0.001701, allocations: 122.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001609/0.001609, allocations: 202 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2183/0.2183, allocations: 46.11 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 75.88 kB / 481.3 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3857/0.387, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01438/0.4014, allocations: 11.51 MB / 0.5422 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008288/0.4098, allocations: 3.048 MB / 0.5452 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002408/0.4122, allocations: 62.16 kB / 0.5452 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003524/0.4158, allocations: 1.575 MB / 0.5468 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004724/0.4205, allocations: 1.607 MB / 0.5484 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005747/0.4211, allocations: 115.8 kB / 0.5485 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005104/0.4262, allocations: 3.299 MB / 0.5517 GB, free: 12.46 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003271/0.4295, allocations: 2.203 MB / 0.5538 GB, free: 10.22 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001952/0.4315, allocations: 1.137 MB / 0.5549 GB, free: 9.082 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003369/0.4349, allocations: 2.429 MB / 0.5573 GB, free: 6.648 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007204/0.4356, allocations: 232 kB / 0.5575 GB, free: 6.422 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001581/0.4372, allocations: 0.7099 MB / 0.5582 GB, free: 5.711 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001605/0.4388, allocations: 1.504 MB / 0.5597 GB, free: 4.203 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002422/0.4413, allocations: 1.812 MB / 0.5615 GB, free: 2.379 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0069/0.4482, allocations: 5.912 MB / 0.5672 GB, free: 12.45 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.4482, allocations: 0 / 0.5672 GB, free: 12.45 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4482, allocations: 0 / 0.5672 GB, free: 12.45 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002383/0.4485, allocations: 0 / 0.5672 GB, free: 12.45 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.008961/0.4574, allocations: 3.987 MB / 0.5711 GB, free: 8.391 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.4575, allocations: 8.922 kB / 0.5711 GB, free: 8.383 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01005/0.4676, allocations: 2.967 MB / 0.574 GB, free: 5.406 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004262/0.4719, allocations: 1.843 MB / 0.5758 GB, free: 3.516 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002447/0.4721, allocations: 184.9 kB / 0.576 GB, free: 3.332 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001333/0.4735, allocations: 239.8 kB / 0.5762 GB, free: 3.098 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01788/0.4914, allocations: 9.753 MB / 0.5858 GB, free: 8.973 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.613e-05/0.4915, allocations: 19.81 kB / 0.5858 GB, free: 8.953 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007238/0.4923, allocations: 111.8 kB / 0.5859 GB, free: 8.844 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003854/0.4961, allocations: 2.373 MB / 0.5882 GB, free: 6.469 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01752/0.5137, allocations: 8.944 MB / 0.5969 GB, free: 13.51 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04804/0.5617, allocations: 29.49 MB / 0.6258 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006635/0.5684, allocations: 3.473 MB / 0.6291 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001638/0.5701, allocations: 1.111 MB / 0.6302 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01026/0.5804, allocations: 6.461 MB / 0.6365 GB, free: 3.539 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.5804, allocations: 47.14 kB / 0.6366 GB, free: 3.484 MB / 494.1 MB Notification: Performance of pre-optimization done (n=135): time 4.419e-06/0.5805, allocations: 0 / 0.6366 GB, free: 3.484 MB / 494.1 MB Notification: Performance of matching and sorting (n=135): time 0.007445/0.5879, allocations: 3.138 MB / 0.6396 GB, free: 348 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.856e-05/0.588, allocations: 111.5 kB / 0.6398 GB, free: 212 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004919/0.5929, allocations: 2.733 MB / 0.6424 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.018e-05/0.593, allocations: 37.7 kB / 0.6425 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002222/0.5953, allocations: 2.731 MB / 0.6451 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005899/0.5959, allocations: 0.5207 MB / 0.6456 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001421/0.5973, allocations: 0.9284 MB / 0.6465 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.5974, allocations: 305.1 kB / 0.6468 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002206/0.5996, allocations: 1.399 MB / 0.6482 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005284/0.6049, allocations: 4.233 MB / 0.6523 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007316/0.6123, allocations: 6.147 MB / 0.6583 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001226/0.6124, allocations: 32 kB / 0.6584 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.01029/0.6227, allocations: 5.45 MB / 0.6637 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.663e-05/0.6228, allocations: 49 kB / 0.6637 GB, free: 4.723 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001382/0.623, allocations: 100 kB / 0.6638 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001432/0.6231, allocations: 136 kB / 0.664 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002887/0.626, allocations: 1.002 MB / 0.6649 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001697/0.6262, allocations: 195.2 kB / 0.6651 GB, free: 3.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003023/0.6292, allocations: 0.6107 MB / 0.6657 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004719/0.6297, allocations: 284 kB / 0.666 GB, free: 2.402 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.002992/0.6327, allocations: 1.977 MB / 0.6679 GB, free: 420 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004131/0.6332, allocations: 232.8 kB / 0.6681 GB, free: 184 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005909/0.6338, allocations: 292.8 kB / 0.6684 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.185e-05/0.6338, allocations: 19.98 kB / 0.6684 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.6338, allocations: 0 / 0.6684 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.6338, allocations: 3.984 kB / 0.6684 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01179/0.6456, allocations: 6.188 MB / 0.6745 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.681e-05/0.6457, allocations: 8 kB / 0.6745 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006437/0.6463, allocations: 164 kB / 0.6747 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-05/0.6463, allocations: 15.94 kB / 0.6747 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.451e-05/0.6464, allocations: 35.98 kB / 0.6747 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.617e-05/0.6465, allocations: 19.92 kB / 0.6747 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/0.6465, allocations: 12.41 kB / 0.6747 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002594/0.6491, allocations: 1.998 MB / 0.6767 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005532/0.6496, allocations: 309.8 kB / 0.677 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003541/0.65, allocations: 28 kB / 0.677 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007162/0.6507, allocations: 47.94 kB / 0.6771 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/0.6509, allocations: 84.23 kB / 0.6771 GB, free: 6.664 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/0.651, allocations: 51.98 kB / 0.6772 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002617/0.6536, allocations: 1.666 MB / 0.6788 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.11e-07/0.6536, allocations: 0 / 0.6788 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003695/0.6573, allocations: 1.03 MB / 0.6798 GB, free: 3.902 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.0003778/0.6577, allocations: 143 kB / 0.68 GB, free: 3.754 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005023/0.6628, allocations: 3.286 MB / 0.6832 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/0.6628, allocations: 5.938 kB / 0.6832 GB, free: 500 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.6638, allocations: 0.7933 MB / 0.6839 GB, free: 15.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001689/0.6655, allocations: 297.6 kB / 0.6842 GB, free: 15.41 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01665/0.6822, allocations: 7.676 MB / 0.6917 GB, free: 7.602 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006918/0.6892, allocations: 3.099 MB / 0.6947 GB, free: 4.473 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00426/0.6935, allocations: 1.548 MB / 0.6963 GB, free: 2.918 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006374/0.6942, allocations: 171.4 kB / 0.6964 GB, free: 2.75 MB / 0.545 GB Notification: Performance of SimCode: time 9.02e-07/0.6942, allocations: 0 / 0.6964 GB, free: 2.75 MB / 0.545 GB Notification: Performance of Templates: time 0.041/0.7352, allocations: 17.64 MB / 0.7137 GB, free: 1.176 MB / 0.5606 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