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.0008754/0.0008754, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001191/0.001191, allocations: 166.2 kB / 24.99 MB, free: 8.355 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 1.009/1.009, allocations: 177.1 MB / 205.3 MB, free: 5.629 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.2509/0.2509, allocations: 34.26 MB / 296 MB, free: 0.7812 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.402e-06/1.402e-06, allocations: 0 / 378 MB, free: 3.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.752e-05/2.892e-05, allocations: 9.906 kB / 378 MB, free: 3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.008862/0.008891, allocations: 11.05 MB / 389 MB, free: 7.895 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005126/0.01402, allocations: 3.01 MB / 392.1 MB, free: 4.875 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009319/0.01495, allocations: 67.75 kB / 392.1 MB, free: 4.809 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001947/0.0169, allocations: 1.662 MB / 393.8 MB, free: 3.141 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002238/0.01913, allocations: 1.672 MB / 395.5 MB, free: 1.461 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002405/0.01937, allocations: 115.8 kB / 395.6 MB, free: 1.348 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002821/0.0222, allocations: 3.367 MB / 398.9 MB, free: 13.97 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001823/0.02402, allocations: 1.964 MB / 400.9 MB, free: 11.97 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001615/0.02563, allocations: 1.687 MB / 402.6 MB, free: 10.28 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002364/0.028, allocations: 2.522 MB / 405.1 MB, free: 7.754 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004108/0.02841, allocations: 228 kB / 405.3 MB, free: 7.531 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008504/0.02926, allocations: 0.6747 MB / 406 MB, free: 6.855 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009514/0.03021, allocations: 1.601 MB / 407.6 MB, free: 5.25 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007093/0.03092, allocations: 0.934 MB / 408.5 MB, free: 4.312 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003107/0.03403, allocations: 3.719 MB / 412.3 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.03403, allocations: 0 / 412.3 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.03403, allocations: 0 / 412.3 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.014e-05/0.03409, allocations: 0 / 412.3 MB, free: 0.5781 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.004527/0.03862, allocations: 4.412 MB / 416.7 MB, free: 12.1 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/0.03867, allocations: 8.031 kB / 416.7 MB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006111/0.04478, allocations: 3.469 MB / 420.2 MB, free: 8.613 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002999/0.04778, allocations: 1.691 MB / 421.8 MB, free: 6.883 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.04788, allocations: 180.9 kB / 422 MB, free: 6.703 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003241/0.04821, allocations: 240.2 kB / 422.3 MB, free: 6.469 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007069/0.05528, allocations: 4.867 MB / 427.1 MB, free: 1.105 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.4e-05/0.05532, allocations: 19.88 kB / 427.1 MB, free: 1.086 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000238/0.05556, allocations: 107.8 kB / 427.2 MB, free: 0.9805 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0023/0.05786, allocations: 2.365 MB / 429.6 MB, free: 14.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007209/0.06507, allocations: 2.883 MB / 432.5 MB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2143/0.2793, allocations: 29.15 MB / 461.6 MB, free: 76.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002862/0.2822, allocations: 1.399 MB / 463 MB, free: 76.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004446/0.2826, allocations: 363 kB / 463.4 MB, free: 76.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004296/0.2869, allocations: 4.046 MB / 467.4 MB, free: 75.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.287, allocations: 52.02 kB / 467.5 MB, free: 74.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=135): time 2.445e-06/0.287, allocations: 0 / 467.5 MB, free: 74.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=135): time 0.003719/0.2907, allocations: 1.906 MB / 469.4 MB, free: 74.65 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.2907, allocations: 112.7 kB / 469.5 MB, free: 74.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0017/0.2924, allocations: 2.544 MB / 472.1 MB, free: 73.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.667e-05/0.2924, allocations: 44.36 kB / 472.1 MB, free: 73.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008162/0.2933, allocations: 2.972 MB / 475.1 MB, free: 71.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002256/0.2935, allocations: 0.5647 MB / 475.6 MB, free: 70.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006591/0.2942, allocations: 1.006 MB / 476.6 MB, free: 70.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.916e-05/0.2942, allocations: 0.5404 MB / 477.2 MB, free: 69.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006244/0.2949, allocations: 458.5 kB / 477.6 MB, free: 69.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001642/0.2965, allocations: 4.644 MB / 482.3 MB, free: 64.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00268/0.2992, allocations: 5.619 MB / 487.9 MB, free: 57.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.032e-05/0.2992, allocations: 32.78 kB / 487.9 MB, free: 57.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.003477/0.3027, allocations: 3.802 MB / 491.7 MB, free: 56.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.175e-05/0.3027, allocations: 53.39 kB / 491.8 MB, free: 56.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-05/0.3028, allocations: 98.44 kB / 491.9 MB, free: 56.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.655e-05/0.3029, allocations: 136.1 kB / 492 MB, free: 56.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001607/0.3045, allocations: 0.9902 MB / 493 MB, free: 56.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001255/0.3046, allocations: 194.5 kB / 493.2 MB, free: 56.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/0.306, allocations: 0.6141 MB / 493.8 MB, free: 55.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002934/0.3063, allocations: 289.6 kB / 494.1 MB, free: 55.72 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.0006974/0.307, allocations: 0.5166 MB / 494.6 MB, free: 55.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002224/0.3072, allocations: 255.6 kB / 494.9 MB, free: 55.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002224/0.3074, allocations: 234.4 kB / 495.1 MB, free: 55.01 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.977e-05/0.3074, allocations: 23.86 kB / 495.1 MB, free: 55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/0.3074, allocations: 1.906 kB / 495.1 MB, free: 55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.3074, allocations: 7.547 kB / 495.1 MB, free: 55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00474/0.3122, allocations: 4.476 MB / 499.6 MB, free: 52.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/0.3122, allocations: 8.5 kB / 499.6 MB, free: 52.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003779/0.3126, allocations: 164.2 kB / 499.8 MB, free: 52.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.418e-05/0.3126, allocations: 11.44 kB / 499.8 MB, free: 52.67 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.732e-05/0.3126, allocations: 35.23 kB / 499.8 MB, free: 52.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.225e-05/0.3126, allocations: 20.31 kB / 499.8 MB, free: 52.65 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.126e-05/0.3126, allocations: 14.41 kB / 499.8 MB, free: 52.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.3138, allocations: 1.292 MB / 0.4894 GB, free: 51.74 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001623/0.3139, allocations: 228.4 kB / 0.4896 GB, free: 51.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/0.3141, allocations: 29.47 kB / 0.4896 GB, free: 51.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003313/0.3144, allocations: 55.59 kB / 0.4897 GB, free: 51.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.3145, allocations: 86.61 kB / 0.4898 GB, free: 51.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.715e-05/0.3146, allocations: 52 kB / 0.4898 GB, free: 51.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001106/0.3157, allocations: 1.064 MB / 0.4909 GB, free: 51.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3157, allocations: 1.375 kB / 0.4909 GB, free: 51.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00238/0.3181, allocations: 1.049 MB / 0.4919 GB, free: 50.77 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.0002726/0.3183, allocations: 153.7 kB / 0.492 GB, free: 50.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001936/0.3203, allocations: 1.955 MB / 0.4939 GB, free: 50.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/0.3203, allocations: 0 / 0.4939 GB, free: 50.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003154/0.3206, allocations: 344.7 kB / 0.4943 GB, free: 49.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007675/0.3214, allocations: 240 kB / 0.4945 GB, free: 49.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005797/0.3272, allocations: 6.63 MB / 0.501 GB, free: 46.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007373/0.3279, allocations: 1.113 MB / 0.5021 GB, free: 45.94 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001556/0.3295, allocations: 1.307 MB / 0.5033 GB, free: 45.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000219/0.3297, allocations: 165.5 kB / 0.5035 GB, free: 45.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.172e-06/0.3297, allocations: 0 / 0.5035 GB, free: 45.8 MB / 410.7 MB Notification: Performance of Templates: time 0.02504/0.3547, allocations: 12.92 MB / 0.5161 GB, free: 38 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.113987554097548]