Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0008369/0.0008369, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003433/0.003433, allocations: 160.7 kB / 24.7 MB, free: 9.41 MB / 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 0.8582/0.8582, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2213/0.2213, allocations: 34.25 MB / 295.7 MB, free: 0.6992 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Visualizers.Planes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 443.4 MB, free: 1.176 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.505e-05/2.682e-05, allocations: 2.844 kB / 443.4 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.1921/0.1921, allocations: 10.07 MB / 453.5 MB, free: 38.79 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003995/0.1961, allocations: 2.921 MB / 456.4 MB, free: 36.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005039/0.1966, allocations: 68.38 kB / 456.5 MB, free: 36.96 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001445/0.198, allocations: 1.604 MB / 458.1 MB, free: 36.3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001519/0.1995, allocations: 1.669 MB / 459.7 MB, free: 35.57 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001833/0.1997, allocations: 131.8 kB / 459.9 MB, free: 35.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001742/0.2015, allocations: 3.365 MB / 463.2 MB, free: 34.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001154/0.2026, allocations: 1.906 MB / 465.1 MB, free: 33.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009751/0.2036, allocations: 1.689 MB / 466.8 MB, free: 32.48 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001349/0.2049, allocations: 2.489 MB / 469.3 MB, free: 31.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001823/0.2051, allocations: 237.5 kB / 469.6 MB, free: 31.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005825/0.2057, allocations: 0.6639 MB / 470.2 MB, free: 31.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005909/0.2063, allocations: 1.589 MB / 471.8 MB, free: 30.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004801/0.2068, allocations: 0.929 MB / 472.7 MB, free: 30.36 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002569/0.2094, allocations: 5.826 MB / 478.6 MB, free: 28.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2094, allocations: 0 / 478.6 MB, free: 28.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2094, allocations: 0 / 478.6 MB, free: 28.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.444e-05/0.2094, allocations: 0 / 478.6 MB, free: 28.3 MB / 410.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.003049/0.2124, allocations: 3.994 MB / 482.6 MB, free: 25.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.2125, allocations: 12.86 kB / 482.6 MB, free: 25.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005349/0.2178, allocations: 3.014 MB / 485.6 MB, free: 25.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002114/0.2199, allocations: 1.793 MB / 487.4 MB, free: 24.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.405e-05/0.22, allocations: 183.6 kB / 487.6 MB, free: 24.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002948/0.2203, allocations: 239.4 kB / 487.8 MB, free: 24.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008975/0.2293, allocations: 9.784 MB / 497.6 MB, free: 20.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.982e-05/0.2293, allocations: 22.66 kB / 497.6 MB, free: 20.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002233/0.2296, allocations: 114.2 kB / 497.7 MB, free: 20.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002337/0.2319, allocations: 2.356 MB / 0.4883 GB, free: 19.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009264/0.2412, allocations: 8.962 MB / 0.4971 GB, free: 14.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01927/0.2604, allocations: 26.93 MB / 0.5234 GB, free: 2.969 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003412/0.2638, allocations: 2.587 MB / 0.5259 GB, free: 372 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008682/0.2647, allocations: 1.018 MB / 0.5269 GB, free: 15.34 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005225/0.2699, allocations: 4.874 MB / 0.5317 GB, free: 10.44 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.27, allocations: 43.22 kB / 0.5317 GB, free: 10.39 MB / 442.7 MB Notification: Performance of pre-optimization done (n=135): time 3.036e-06/0.27, allocations: 0 / 0.5317 GB, free: 10.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=135): time 0.004428/0.2744, allocations: 3.323 MB / 0.535 GB, free: 7.059 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.2744, allocations: 123.3 kB / 0.5351 GB, free: 6.91 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00221/0.2767, allocations: 2.784 MB / 0.5378 GB, free: 4.098 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.124e-05/0.2767, allocations: 41.7 kB / 0.5378 GB, free: 4.051 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001075/0.2778, allocations: 2.825 MB / 0.5406 GB, free: 1.195 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002532/0.278, allocations: 0.5388 MB / 0.5411 GB, free: 0.6523 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007148/0.2787, allocations: 0.9213 MB / 0.542 GB, free: 15.72 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.2788, allocations: 361.9 kB / 0.5424 GB, free: 15.36 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001204/0.28, allocations: 1.403 MB / 0.5437 GB, free: 13.95 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002319/0.2824, allocations: 4.225 MB / 0.5479 GB, free: 8.309 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003845/0.2862, allocations: 6.149 MB / 0.5539 GB, free: 0.7617 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.637e-05/0.2862, allocations: 31.94 kB / 0.5539 GB, free: 0.7305 MB / 458.7 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.004619/0.2909, allocations: 5.456 MB / 0.5592 GB, free: 11.27 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.191e-05/0.2909, allocations: 48 kB / 0.5593 GB, free: 11.22 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.351e-05/0.291, allocations: 100 kB / 0.5594 GB, free: 11.12 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.543e-05/0.291, allocations: 136 kB / 0.5595 GB, free: 10.99 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/0.2925, allocations: 0.9825 MB / 0.5605 GB, free: 10.01 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.825e-05/0.2926, allocations: 203.7 kB / 0.5607 GB, free: 9.809 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/0.294, allocations: 0.6127 MB / 0.5613 GB, free: 9.191 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002127/0.2942, allocations: 297.5 kB / 0.5615 GB, free: 8.902 MB / 474.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.002044/0.2962, allocations: 1.979 MB / 0.5635 GB, free: 6.91 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.2964, allocations: 230.4 kB / 0.5637 GB, free: 6.684 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002374/0.2966, allocations: 279.8 kB / 0.564 GB, free: 6.406 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.866e-05/0.2967, allocations: 16 kB / 0.564 GB, free: 6.391 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.2967, allocations: 3.938 kB / 0.564 GB, free: 6.387 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.2967, allocations: 3.984 kB / 0.564 GB, free: 6.383 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004505/0.3012, allocations: 4.839 MB / 0.5687 GB, free: 1.402 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/0.3012, allocations: 19.92 kB / 0.5687 GB, free: 1.383 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003173/0.3015, allocations: 163.7 kB / 0.5689 GB, free: 1.223 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.607e-06/0.3015, allocations: 12 kB / 0.5689 GB, free: 1.211 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.648e-05/0.3016, allocations: 31.98 kB / 0.5689 GB, free: 1.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.856e-06/0.3016, allocations: 15.94 kB / 0.5689 GB, free: 1.164 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.3016, allocations: 11.94 kB / 0.5689 GB, free: 1.152 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001361/0.3029, allocations: 1.984 MB / 0.5709 GB, free: 15.05 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001786/0.3031, allocations: 234.1 kB / 0.5711 GB, free: 14.82 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.3032, allocations: 31.88 kB / 0.5711 GB, free: 14.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003097/0.3035, allocations: 43.95 kB / 0.5712 GB, free: 14.74 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.593e-05/0.3036, allocations: 92.17 kB / 0.5713 GB, free: 14.65 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.78e-05/0.3037, allocations: 48 kB / 0.5713 GB, free: 14.61 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001254/0.3049, allocations: 1.581 MB / 0.5729 GB, free: 13.01 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3049, allocations: 4 kB / 0.5729 GB, free: 13.01 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002069/0.307, allocations: 1.055 MB / 0.5739 GB, free: 11.95 MB / 490.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.0002509/0.3072, allocations: 154.9 kB / 0.574 GB, free: 11.79 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002559/0.3098, allocations: 3.139 MB / 0.5771 GB, free: 8.672 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.3098, allocations: 0 / 0.5771 GB, free: 8.672 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005449/0.3103, allocations: 0.7355 MB / 0.5778 GB, free: 7.938 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007318/0.3111, allocations: 222.9 kB / 0.578 GB, free: 7.719 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007366/0.3184, allocations: 8.202 MB / 0.586 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001995/0.3204, allocations: 2.565 MB / 0.5885 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003348/0.3208, allocations: 204.5 kB / 0.5887 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of SimCode: time 1.142e-06/0.3208, allocations: 3.938 kB / 0.5887 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of Templates: time 0.1996/0.5203, allocations: 45.13 MB / 0.6328 GB, free: 150.1 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.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.873371655121446]