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.001622/0.001622, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001915/0.001915, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2291/0.2291, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 75.88 kB / 481.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3865/0.3881, allocations: 62.43 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01315/0.4013, allocations: 11.5 MB / 0.5422 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007661/0.409, allocations: 3.063 MB / 0.5452 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002463/0.4115, allocations: 62.16 kB / 0.5452 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00368/0.4152, allocations: 1.567 MB / 0.5468 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005092/0.4204, allocations: 1.565 MB / 0.5483 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005261/0.421, allocations: 123.8 kB / 0.5484 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005103/0.4261, allocations: 3.294 MB / 0.5516 GB, free: 12.47 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00403/0.4301, allocations: 2.199 MB / 0.5538 GB, free: 10.24 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002625/0.4328, allocations: 1.144 MB / 0.5549 GB, free: 9.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004267/0.4371, allocations: 2.433 MB / 0.5573 GB, free: 6.652 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001109/0.4382, allocations: 228 kB / 0.5575 GB, free: 6.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002203/0.4404, allocations: 0.706 MB / 0.5582 GB, free: 5.723 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001899/0.4424, allocations: 1.504 MB / 0.5597 GB, free: 4.215 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002492/0.4449, allocations: 1.805 MB / 0.5614 GB, free: 2.398 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007397/0.4523, allocations: 5.919 MB / 0.5672 GB, free: 12.46 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.057e-05/0.4523, allocations: 8 kB / 0.5672 GB, free: 12.45 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.426e-06/0.4523, allocations: 0 / 0.5672 GB, free: 12.45 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001652/0.4525, 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.008647/0.4611, allocations: 3.987 MB / 0.5711 GB, free: 8.395 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.4612, allocations: 12.92 kB / 0.5711 GB, free: 8.383 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00998/0.4712, allocations: 2.959 MB / 0.574 GB, free: 5.414 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005381/0.4766, allocations: 1.839 MB / 0.5758 GB, free: 3.527 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002283/0.4769, allocations: 180.9 kB / 0.576 GB, free: 3.348 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001113/0.478, allocations: 243.8 kB / 0.5762 GB, free: 3.109 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01978/0.4978, allocations: 9.757 MB / 0.5857 GB, free: 8.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.955e-05/0.4979, allocations: 19.81 kB / 0.5858 GB, free: 8.961 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003698/0.4983, allocations: 115.8 kB / 0.5859 GB, free: 8.848 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003756/0.5021, allocations: 2.362 MB / 0.5882 GB, free: 6.484 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01742/0.5195, allocations: 8.958 MB / 0.5969 GB, free: 13.51 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04644/0.566, allocations: 29.49 MB / 0.6257 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006513/0.5725, allocations: 3.474 MB / 0.6291 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001632/0.5742, allocations: 1.099 MB / 0.6302 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01114/0.5854, allocations: 6.472 MB / 0.6365 GB, free: 3.547 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.5855, allocations: 47.16 kB / 0.6365 GB, free: 3.492 MB / 494.1 MB Notification: Performance of pre-optimization done (n=135): time 4.128e-06/0.5855, allocations: 0 / 0.6365 GB, free: 3.492 MB / 494.1 MB Notification: Performance of matching and sorting (n=135): time 0.007722/0.5932, allocations: 3.13 MB / 0.6396 GB, free: 364 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.046e-05/0.5933, allocations: 111.5 kB / 0.6397 GB, free: 228 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004208/0.5976, allocations: 2.729 MB / 0.6424 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001217/0.5977, allocations: 41.7 kB / 0.6424 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002133/0.5998, allocations: 2.734 MB / 0.6451 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006641/0.6005, allocations: 0.5246 MB / 0.6456 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001199/0.6017, allocations: 0.9245 MB / 0.6465 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.6019, allocations: 301.1 kB / 0.6468 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002033/0.6039, allocations: 1.406 MB / 0.6482 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004069/0.608, allocations: 4.229 MB / 0.6523 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007579/0.6156, allocations: 6.151 MB / 0.6583 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-05/0.6157, allocations: 28 kB / 0.6583 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.009939/0.6256, allocations: 5.458 MB / 0.6637 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.333e-05/0.6258, allocations: 48 kB / 0.6637 GB, free: 4.723 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000126/0.6259, allocations: 104 kB / 0.6638 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001366/0.626, allocations: 132 kB / 0.6639 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002957/0.629, allocations: 0.9942 MB / 0.6649 GB, free: 3.496 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001549/0.6292, allocations: 195.2 kB / 0.6651 GB, free: 3.305 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003144/0.6323, allocations: 0.6111 MB / 0.6657 GB, free: 2.691 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004572/0.6328, allocations: 288 kB / 0.666 GB, free: 2.41 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.003018/0.6358, allocations: 1.973 MB / 0.6679 GB, free: 432 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003763/0.6362, allocations: 232.8 kB / 0.6681 GB, free: 196 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004843/0.6367, allocations: 288.8 kB / 0.6684 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.028e-05/0.6367, allocations: 20 kB / 0.6684 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/0.6368, allocations: 0 / 0.6684 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.6368, allocations: 8.219 kB / 0.6684 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01092/0.6477, allocations: 6.181 MB / 0.6744 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.652e-05/0.6478, allocations: 16.19 kB / 0.6745 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006626/0.6485, allocations: 171.7 kB / 0.6746 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.46e-05/0.6485, allocations: 15.94 kB / 0.6746 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.687e-05/0.6486, allocations: 24 kB / 0.6747 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.65e-05/0.6486, allocations: 15.94 kB / 0.6747 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.006e-05/0.6486, allocations: 11.94 kB / 0.6747 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002529/0.6511, allocations: 2.009 MB / 0.6766 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006109/0.6518, allocations: 301.8 kB / 0.6769 GB, free: 6.836 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002136/0.652, allocations: 35.97 kB / 0.677 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006041/0.6526, allocations: 39.95 kB / 0.677 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/0.6527, allocations: 88.23 kB / 0.6771 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.664e-05/0.6528, allocations: 44 kB / 0.6771 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002504/0.6553, allocations: 1.67 MB / 0.6788 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6554, allocations: 0 / 0.6788 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003922/0.6593, allocations: 1.03 MB / 0.6798 GB, free: 3.918 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.0004443/0.6597, allocations: 151 kB / 0.6799 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005767/0.6655, allocations: 3.279 MB / 0.6831 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/0.6656, allocations: 0 / 0.6831 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009446/0.6665, allocations: 0.7935 MB / 0.6839 GB, free: 15.72 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001705/0.6682, allocations: 309.5 kB / 0.6842 GB, free: 15.42 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01353/0.6818, allocations: 7.676 MB / 0.6917 GB, free: 7.609 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003637/0.6854, allocations: 3.103 MB / 0.6947 GB, free: 4.477 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00344/0.6889, allocations: 1.552 MB / 0.6962 GB, free: 2.918 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004343/0.6894, allocations: 167.4 kB / 0.6964 GB, free: 2.754 MB / 0.545 GB Notification: Performance of SimCode: time 9.62e-07/0.6894, allocations: 0 / 0.6964 GB, free: 2.754 MB / 0.545 GB Notification: Performance of Templates: time 0.03855/0.7279, allocations: 17.08 MB / 0.7131 GB, free: 1.738 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