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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001837/0.001837, allocations: 110 kB / 21.23 MB, free: 0.6602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002047/0.002047, allocations: 186.5 kB / 24.51 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 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.2291/0.2291, allocations: 44.9 MB / 353.5 MB, free: 11.84 MB / 286.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002433/0.002433, allocations: 71.88 kB / 497.7 MB, free: 1.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4087, allocations: 64.28 MB / 0.5488 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.0151/0.4238, allocations: 11.64 MB / 0.5602 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008375/0.4322, allocations: 3.059 MB / 0.5631 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003425/0.4356, allocations: 71.81 kB / 0.5632 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003986/0.4396, allocations: 1.584 MB / 0.5648 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004711/0.4443, allocations: 1.638 MB / 0.5664 GB, free: 13.4 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000518/0.4448, allocations: 115.8 kB / 0.5665 GB, free: 13.29 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00537/0.4502, allocations: 3.334 MB / 0.5697 GB, free: 9.949 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002665/0.4529, allocations: 1.699 MB / 0.5714 GB, free: 8.219 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001793/0.4546, allocations: 1.176 MB / 0.5725 GB, free: 7.039 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003992/0.4586, allocations: 2.606 MB / 0.5751 GB, free: 4.426 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007174/0.4594, allocations: 228 kB / 0.5753 GB, free: 4.203 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001607/0.461, allocations: 0.7411 MB / 0.576 GB, free: 3.461 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001735/0.4627, allocations: 1.554 MB / 0.5775 GB, free: 1.902 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002144/0.4648, allocations: 1.84 MB / 0.5793 GB, free: 52 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008384/0.4732, allocations: 5.997 MB / 0.5852 GB, free: 10.03 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.4732, allocations: 0 / 0.5852 GB, free: 10.03 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4732, allocations: 0 / 0.5852 GB, free: 10.03 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001613/0.4734, allocations: 0 / 0.5852 GB, free: 10.03 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.01021/0.4836, allocations: 4.06 MB / 0.5892 GB, free: 5.91 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.4837, allocations: 12.03 kB / 0.5892 GB, free: 5.898 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01065/0.4943, allocations: 2.985 MB / 0.5921 GB, free: 2.906 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004899/0.4992, allocations: 1.783 MB / 0.5938 GB, free: 1.094 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001704/0.4994, allocations: 184.9 kB / 0.594 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008278/0.5002, allocations: 239.8 kB / 0.5942 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01792/0.5181, allocations: 9.76 MB / 0.6038 GB, free: 6.543 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.059e-05/0.5182, allocations: 11.88 kB / 0.6038 GB, free: 6.531 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003971/0.5186, allocations: 115.8 kB / 0.6039 GB, free: 6.418 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0042/0.5228, allocations: 2.365 MB / 0.6062 GB, free: 4.047 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01939/0.5422, allocations: 8.944 MB / 0.6149 GB, free: 11.09 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04857/0.5907, allocations: 29.48 MB / 0.6437 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006489/0.5972, allocations: 2.463 MB / 0.6461 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001666/0.5989, allocations: 1.016 MB / 0.6471 GB, free: 9.336 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01047/0.6094, allocations: 4.915 MB / 0.6519 GB, free: 4.398 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.296e-05/0.6094, allocations: 47.09 kB / 0.652 GB, free: 4.34 MB / 494.1 MB Notification: Performance of pre-optimization done (n=135): time 8.116e-06/0.6094, allocations: 3.984 kB / 0.652 GB, free: 4.336 MB / 494.1 MB Notification: Performance of matching and sorting (n=135): time 0.008422/0.6178, allocations: 3.151 MB / 0.655 GB, free: 1.176 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.004e-05/0.6179, allocations: 111.5 kB / 0.6551 GB, free: 1.043 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004669/0.6226, allocations: 2.75 MB / 0.6578 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001819/0.6228, allocations: 37.7 kB / 0.6579 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002402/0.6252, allocations: 2.853 MB / 0.6607 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007857/0.626, allocations: 0.5311 MB / 0.6612 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001331/0.6273, allocations: 0.9447 MB / 0.6621 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.6274, allocations: 305.1 kB / 0.6624 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002108/0.6295, allocations: 1.399 MB / 0.6638 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004562/0.6341, allocations: 4.233 MB / 0.6679 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007405/0.6415, allocations: 6.147 MB / 0.6739 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.05e-05/0.6416, allocations: 28 kB / 0.6739 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.01006/0.6516, allocations: 5.471 MB / 0.6793 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.212e-05/0.6517, allocations: 50.38 kB / 0.6793 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000108/0.6518, allocations: 100 kB / 0.6794 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001443/0.652, allocations: 136.2 kB / 0.6795 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002981/0.6549, allocations: 0.9942 MB / 0.6805 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001763/0.6551, allocations: 203.2 kB / 0.6807 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003056/0.6582, allocations: 0.6359 MB / 0.6813 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005746/0.6588, allocations: 288 kB / 0.6816 GB, free: 3.059 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.003584/0.6623, allocations: 1.973 MB / 0.6835 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005399/0.6629, allocations: 246.2 kB / 0.6838 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007501/0.6636, allocations: 288.8 kB / 0.684 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.78e-05/0.6637, allocations: 23.98 kB / 0.6841 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.6637, allocations: 0 / 0.6841 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.6637, allocations: 7.984 kB / 0.6841 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01274/0.6764, allocations: 6.168 MB / 0.6901 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-05/0.6764, allocations: 8 kB / 0.6901 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007693/0.6772, allocations: 163.7 kB / 0.6902 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-05/0.6772, allocations: 12 kB / 0.6903 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.133e-05/0.6773, allocations: 28 kB / 0.6903 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.729e-05/0.6774, allocations: 19.92 kB / 0.6903 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.121e-05/0.6774, allocations: 8 kB / 0.6903 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00362/0.681, allocations: 2.016 MB / 0.6923 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007042/0.6817, allocations: 246 kB / 0.6925 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002321/0.6819, allocations: 28.19 kB / 0.6925 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007032/0.6826, allocations: 51.88 kB / 0.6926 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001634/0.6828, allocations: 88.19 kB / 0.6927 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/0.6829, allocations: 51.98 kB / 0.6927 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003162/0.6861, allocations: 1.674 MB / 0.6944 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6861, allocations: 0 / 0.6944 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004002/0.6901, allocations: 1.055 MB / 0.6954 GB, free: 4.602 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.0004037/0.6905, allocations: 150.9 kB / 0.6955 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005432/0.6959, allocations: 3.141 MB / 0.6986 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.327e-06/0.6959, allocations: 1.812 kB / 0.6986 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001073/0.697, allocations: 0.7383 MB / 0.6993 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0017/0.6987, allocations: 304.8 kB / 0.6996 GB, free: 304 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01415/0.7128, allocations: 7.798 MB / 0.7072 GB, free: 8.359 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003652/0.7165, allocations: 3.1 MB / 0.7103 GB, free: 5.227 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003358/0.7198, allocations: 1.556 MB / 0.7118 GB, free: 3.664 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004184/0.7203, allocations: 171.4 kB / 0.7119 GB, free: 3.496 MB / 0.545 GB Notification: Performance of SimCode: time 1.643e-06/0.7203, allocations: 0 / 0.7119 GB, free: 3.496 MB / 0.545 GB Notification: Performance of Templates: time 0.3288/1.049, allocations: 21.13 MB / 0.7326 GB, free: 162.8 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) [Timeout 480] 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: 7.0044000362977386]