Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002445/0.002445, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002892/0.002892, allocations: 165.3 kB / 24.28 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.638/1.638, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3347/0.3347, allocations: 32.8 MB / 293.9 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 375.2 MB, free: 5.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.195e-05/3.345e-05, allocations: 2.312 kB / 375.2 MB, free: 5.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01599/0.01603, allocations: 11.02 MB / 386.3 MB, free: 9.926 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007584/0.02361, allocations: 3.002 MB / 389.3 MB, free: 6.914 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001675/0.02529, allocations: 67.75 kB / 389.3 MB, free: 6.848 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004128/0.02942, allocations: 1.662 MB / 391 MB, free: 5.18 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004455/0.03387, allocations: 1.665 MB / 392.7 MB, free: 3.508 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004441/0.03431, allocations: 131.7 kB / 392.8 MB, free: 3.379 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005262/0.03958, allocations: 3.359 MB / 396.1 MB, free: 16 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003319/0.04289, allocations: 1.976 MB / 398.1 MB, free: 14 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002771/0.04567, allocations: 1.691 MB / 399.8 MB, free: 12.31 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004251/0.04992, allocations: 2.514 MB / 402.3 MB, free: 9.789 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006535/0.05057, allocations: 232 kB / 402.6 MB, free: 9.562 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001451/0.05202, allocations: 0.6748 MB / 403.2 MB, free: 8.887 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001989/0.05401, allocations: 1.601 MB / 404.8 MB, free: 7.281 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00143/0.05544, allocations: 0.9301 MB / 405.8 MB, free: 6.348 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007711/0.06315, allocations: 5.835 MB / 411.6 MB, free: 0.4922 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.06316, allocations: 0 / 411.6 MB, free: 0.4922 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.06316, allocations: 0 / 411.6 MB, free: 0.4922 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002041/0.06336, allocations: 0 / 411.6 MB, free: 0.4922 MB / 378.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.009664/0.07303, allocations: 4.791 MB / 416.4 MB, free: 11.63 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.07307, allocations: 8.031 kB / 416.4 MB, free: 11.62 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01176/0.08483, allocations: 3.469 MB / 419.9 MB, free: 8.148 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005614/0.09045, allocations: 1.707 MB / 421.6 MB, free: 6.402 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002036/0.09065, allocations: 184.9 kB / 421.8 MB, free: 6.219 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007474/0.0914, allocations: 236.2 kB / 422 MB, free: 5.988 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01305/0.1044, allocations: 5.289 MB / 427.3 MB, free: 208 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.649e-05/0.1045, allocations: 19.81 kB / 427.3 MB, free: 188 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004089/0.1049, allocations: 111.8 kB / 427.4 MB, free: 76 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004486/0.1094, allocations: 2.361 MB / 429.8 MB, free: 13.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01222/0.1216, allocations: 3.38 MB / 433.1 MB, free: 10.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2356/0.3572, allocations: 35.76 MB / 468.9 MB, free: 73.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004625/0.3619, allocations: 1.445 MB / 470.3 MB, free: 73.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007578/0.3626, allocations: 384.7 kB / 470.7 MB, free: 73.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009125/0.3717, allocations: 4.259 MB / 475 MB, free: 71.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.3718, allocations: 51.23 kB / 475 MB, free: 71.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=135): time 4.068e-06/0.3718, allocations: 0 / 475 MB, free: 71.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=135): time 0.006187/0.378, allocations: 1.909 MB / 476.9 MB, free: 71.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/0.378, allocations: 114.6 kB / 477.1 MB, free: 70.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003595/0.3816, allocations: 3.189 MB / 480.2 MB, free: 69.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.089e-05/0.3817, allocations: 40.92 kB / 480.3 MB, free: 69.44 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001425/0.3831, allocations: 3.102 MB / 483.4 MB, free: 67.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000415/0.3835, allocations: 0.6034 MB / 484 MB, free: 66.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001199/0.3847, allocations: 1.166 MB / 485.2 MB, free: 66.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.3849, allocations: 0.5638 MB / 485.7 MB, free: 65.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000991/0.3859, allocations: 496.8 kB / 486.2 MB, free: 65.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00243/0.3883, allocations: 4.82 MB / 491 MB, free: 59.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004468/0.3928, allocations: 5.843 MB / 496.9 MB, free: 53.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-05/0.3929, allocations: 27.69 kB / 496.9 MB, free: 53.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.006388/0.3992, allocations: 3.882 MB / 0.489 GB, free: 51.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.073e-05/0.3993, allocations: 47.88 kB / 0.4891 GB, free: 51.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001495/0.3995, allocations: 104.5 kB / 0.4892 GB, free: 51.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001701/0.3996, allocations: 130.9 kB / 0.4893 GB, free: 51.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002723/0.4024, allocations: 0.9934 MB / 0.4903 GB, free: 51.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001425/0.4025, allocations: 199.7 kB / 0.4905 GB, free: 51.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002791/0.4053, allocations: 0.6152 MB / 0.4911 GB, free: 51.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004245/0.4057, allocations: 287.4 kB / 0.4913 GB, free: 51.3 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.00167/0.4074, allocations: 0.6252 MB / 0.492 GB, free: 50.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003784/0.4078, allocations: 255.2 kB / 0.4922 GB, free: 50.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004565/0.4082, allocations: 241.7 kB / 0.4924 GB, free: 50.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.917e-05/0.4083, allocations: 24.2 kB / 0.4925 GB, free: 50.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.759e-05/0.4083, allocations: 2.656 kB / 0.4925 GB, free: 50.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.4083, allocations: 6.797 kB / 0.4925 GB, free: 50.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008425/0.4167, allocations: 5.329 MB / 0.4977 GB, free: 47.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.858e-06/0.4167, allocations: 8.344 kB / 0.4977 GB, free: 47.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005889/0.4173, allocations: 160.1 kB / 0.4978 GB, free: 47.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-05/0.4173, allocations: 11.22 kB / 0.4978 GB, free: 47.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.243e-05/0.4174, allocations: 41.72 kB / 0.4979 GB, free: 47.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.208e-05/0.4174, allocations: 14.78 kB / 0.4979 GB, free: 47.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/0.4174, allocations: 16.86 kB / 0.4979 GB, free: 47.78 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001422/0.4188, allocations: 1.334 MB / 0.4992 GB, free: 46.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003928/0.4192, allocations: 224 kB / 0.4994 GB, free: 46.69 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002086/0.4194, allocations: 34.08 kB / 0.4995 GB, free: 46.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005984/0.42, allocations: 44.78 kB / 0.4995 GB, free: 46.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/0.4202, allocations: 85.34 kB / 0.4996 GB, free: 46.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.886e-05/0.4202, allocations: 54.77 kB / 0.4996 GB, free: 46.63 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001617/0.4219, allocations: 1.287 MB / 0.5009 GB, free: 46.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4219, allocations: 0 / 0.5009 GB, free: 46.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003976/0.4258, allocations: 1.044 MB / 0.5019 GB, free: 45.76 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.0003262/0.4262, allocations: 163.3 kB / 0.5021 GB, free: 45.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003677/0.4298, allocations: 2.139 MB / 0.5042 GB, free: 44.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.4298, allocations: 3.188 kB / 0.5042 GB, free: 44.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004853/0.4303, allocations: 380.7 kB / 0.5045 GB, free: 44.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.4315, allocations: 238 kB / 0.5047 GB, free: 44.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008876/0.4404, allocations: 6.705 MB / 0.5113 GB, free: 38.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002464/0.4429, allocations: 2.238 MB / 0.5135 GB, free: 37.37 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002941/0.4458, allocations: 1.311 MB / 0.5148 GB, free: 36.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003329/0.4462, allocations: 162.3 kB / 0.5149 GB, free: 36.47 MB / 410.7 MB Notification: Performance of SimCode: time 1.202e-06/0.4462, allocations: 0 / 0.5149 GB, free: 36.47 MB / 410.7 MB Notification: Performance of Templates: time 0.03157/0.4777, allocations: 12.9 MB / 0.5275 GB, free: 26.81 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_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.317070937016979]