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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001935/0.001935, allocations: 92.27 kB / 20.96 MB, free: 3.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002219/0.002219, allocations: 156.9 kB / 24.26 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.533/1.533, allocations: 177 MB / 204.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3513/0.3513, allocations: 34.25 MB / 295.2 MB, free: 0.6289 MB / 266.7 MB " [Timeout remaining time 180] 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=5002,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=5002,variableFilter="time|surfaceWireframe.nu|surfaceWireframe.nv|surfaceSolid.nu|surfaceSolid.nv",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 377.2 MB, free: 2.918 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.642e-05/2.805e-05, allocations: 2.312 kB / 377.2 MB, free: 2.914 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01681/0.01684, allocations: 10.07 MB / 387.3 MB, free: 8.789 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009075/0.02591, allocations: 2.939 MB / 390.2 MB, free: 5.844 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001881/0.02779, allocations: 71.75 kB / 390.3 MB, free: 5.773 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005074/0.03287, allocations: 1.627 MB / 391.9 MB, free: 4.141 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005602/0.03847, allocations: 1.665 MB / 393.6 MB, free: 2.469 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005247/0.03899, allocations: 131.7 kB / 393.7 MB, free: 2.34 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.006702/0.0457, allocations: 3.358 MB / 397 MB, free: 14.98 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003973/0.04967, allocations: 1.968 MB / 399 MB, free: 12.97 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003544/0.05321, allocations: 1.695 MB / 400.7 MB, free: 11.27 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005819/0.05903, allocations: 2.483 MB / 403.2 MB, free: 8.785 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001097/0.06013, allocations: 232 kB / 403.4 MB, free: 8.559 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002279/0.06241, allocations: 0.6786 MB / 404.1 MB, free: 7.879 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003048/0.06546, allocations: 1.593 MB / 405.7 MB, free: 6.281 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002205/0.06766, allocations: 0.9262 MB / 406.6 MB, free: 5.352 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01077/0.07843, allocations: 5.831 MB / 412.4 MB, free: 15.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.07844, allocations: 0 / 412.4 MB, free: 15.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.07844, allocations: 0 / 412.4 MB, free: 15.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001512/0.07859, allocations: 0 / 412.4 MB, free: 15.5 MB / 394.7 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.01115/0.08974, allocations: 3.986 MB / 416.4 MB, free: 11.46 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.08979, allocations: 12.62 kB / 416.4 MB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01167/0.1015, allocations: 3.586 MB / 420 MB, free: 7.852 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004745/0.1062, allocations: 1.806 MB / 421.8 MB, free: 6.008 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002693/0.1065, allocations: 184.9 kB / 422 MB, free: 5.824 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000882/0.1074, allocations: 240.2 kB / 422.3 MB, free: 5.59 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01899/0.1264, allocations: 9.772 MB / 432 MB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.389e-05/0.1264, allocations: 15.81 kB / 432 MB, free: 11.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004069/0.1268, allocations: 119.8 kB / 432.2 MB, free: 11.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004746/0.1316, allocations: 2.365 MB / 434.5 MB, free: 8.945 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1884/0.3199, allocations: 8.946 MB / 443.5 MB, free: 94.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03573/0.3557, allocations: 27.01 MB / 470.5 MB, free: 78.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005998/0.3617, allocations: 2.581 MB / 473.1 MB, free: 77.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001297/0.363, allocations: 1.02 MB / 474.1 MB, free: 77.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009031/0.372, allocations: 4.874 MB / 479 MB, free: 75.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.372, allocations: 41.41 kB / 479 MB, free: 75.67 MB / 410.7 MB Notification: Performance of pre-optimization done (n=135): time 4.96e-06/0.372, allocations: 0 / 479 MB, free: 75.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=135): time 0.008322/0.3803, allocations: 3.367 MB / 482.4 MB, free: 74.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.3804, allocations: 113.2 kB / 482.5 MB, free: 74.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004097/0.3845, allocations: 2.783 MB / 485.3 MB, free: 73.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001307/0.3846, allocations: 45.69 kB / 485.3 MB, free: 73.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001823/0.3864, allocations: 2.832 MB / 488.1 MB, free: 71.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006922/0.3871, allocations: 0.5276 MB / 488.7 MB, free: 71.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001423/0.3886, allocations: 0.923 MB / 489.6 MB, free: 70.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.3887, allocations: 362 kB / 489.9 MB, free: 70.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001959/0.3907, allocations: 1.403 MB / 491.3 MB, free: 70.03 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003766/0.3944, allocations: 4.229 MB / 495.6 MB, free: 65.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005345/0.3998, allocations: 6.156 MB / 0.49 GB, free: 60.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.521e-05/0.3998, allocations: 29.62 kB / 0.49 GB, free: 60.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.008238/0.4081, allocations: 5.695 MB / 0.4956 GB, free: 58.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.061e-05/0.4081, allocations: 48.62 kB / 0.4956 GB, free: 58.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001137/0.4082, allocations: 102 kB / 0.4957 GB, free: 58.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001461/0.4084, allocations: 129.9 kB / 0.4958 GB, free: 58.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0027/0.4111, allocations: 0.9925 MB / 0.4968 GB, free: 57.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001335/0.4112, allocations: 192.9 kB / 0.497 GB, free: 57.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003223/0.4144, allocations: 0.6174 MB / 0.4976 GB, free: 56.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003951/0.4148, allocations: 290.8 kB / 0.4979 GB, free: 56.51 MB / 410.7 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.002869/0.4177, allocations: 1.979 MB / 0.4998 GB, free: 54.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004332/0.4181, allocations: 259.2 kB / 0.5 GB, free: 54.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004984/0.4186, allocations: 282.3 kB / 0.5003 GB, free: 54.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.181e-05/0.4187, allocations: 19.52 kB / 0.5003 GB, free: 54.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-05/0.4187, allocations: 7.938 kB / 0.5003 GB, free: 54.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.4187, allocations: 4.266 kB / 0.5003 GB, free: 54.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008314/0.427, allocations: 4.836 MB / 0.5051 GB, free: 49.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/0.427, allocations: 8.719 kB / 0.5051 GB, free: 49.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006257/0.4277, allocations: 170.6 kB / 0.5052 GB, free: 49.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-05/0.4277, allocations: 16.55 kB / 0.5053 GB, free: 49.81 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.054e-05/0.4277, allocations: 32.27 kB / 0.5053 GB, free: 49.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.264e-05/0.4277, allocations: 17.81 kB / 0.5053 GB, free: 49.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/0.4278, allocations: 12.55 kB / 0.5053 GB, free: 49.76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002078/0.4298, allocations: 2.012 MB / 0.5073 GB, free: 47.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005056/0.4303, allocations: 231.4 kB / 0.5075 GB, free: 47.58 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002303/0.4306, allocations: 33.91 kB / 0.5075 GB, free: 47.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006321/0.4312, allocations: 38.88 kB / 0.5076 GB, free: 47.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/0.4314, allocations: 85.52 kB / 0.5076 GB, free: 47.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.86e-05/0.4315, allocations: 49.08 kB / 0.5077 GB, free: 47.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001969/0.4334, allocations: 1.59 MB / 0.5092 GB, free: 46.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4334, allocations: 0 / 0.5092 GB, free: 46.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003981/0.4374, allocations: 1.039 MB / 0.5103 GB, free: 45.06 MB / 410.7 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.0004904/0.4379, allocations: 162.3 kB / 0.5104 GB, free: 44.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004394/0.4423, allocations: 3.135 MB / 0.5135 GB, free: 42.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.4423, allocations: 4 kB / 0.5135 GB, free: 42.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007405/0.443, allocations: 0.7381 MB / 0.5142 GB, free: 41.49 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/0.4444, allocations: 228.8 kB / 0.5144 GB, free: 41.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01093/0.4553, allocations: 7.882 MB / 0.5221 GB, free: 33.92 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002618/0.458, allocations: 2.555 MB / 0.5246 GB, free: 31.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002684/0.4606, allocations: 1.531 MB / 0.5261 GB, free: 29.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003418/0.461, allocations: 164.5 kB / 0.5263 GB, free: 29.78 MB / 410.7 MB Notification: Performance of SimCode: time 1.453e-06/0.461, allocations: 0 / 0.5263 GB, free: 29.78 MB / 410.7 MB Notification: Performance of Templates: time 0.03065/0.4916, allocations: 13.08 MB / 0.539 GB, free: 17.09 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.260183160076849]