Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.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.001892/0.001892, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.002345/0.002345, allocations: 211.4 kB / 24.48 MB, free: 3.977 MB / 14.72 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.563/1.563, allocations: 230.6 MB / 258.2 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] 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.2254/0.2254, allocations: 46.96 MB / 361.6 MB, free: 4.055 MB / 286.1 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.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar") translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 63.91 kB / 0.4973 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2993, allocations: 66.03 MB / 0.5618 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01666/0.316, allocations: 13 MB / 0.5745 GB, free: 7.129 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009312/0.3253, allocations: 4.236 MB / 0.5787 GB, free: 2.879 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001621/0.3269, allocations: 91.62 kB / 0.5787 GB, free: 2.789 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004327/0.3313, allocations: 2.176 MB / 0.5809 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004809/0.3361, allocations: 2.059 MB / 0.5829 GB, free: 14.54 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001405/0.3375, allocations: 0.6161 MB / 0.5835 GB, free: 13.92 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005812/0.3433, allocations: 4.306 MB / 0.5877 GB, free: 9.609 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003424/0.3467, allocations: 2.667 MB / 0.5903 GB, free: 6.891 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002503/0.3492, allocations: 1.627 MB / 0.5919 GB, free: 5.258 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003276/0.3525, allocations: 2.426 MB / 0.5942 GB, free: 2.824 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007369/0.3532, allocations: 344 kB / 0.5946 GB, free: 2.488 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001905/0.3551, allocations: 0.944 MB / 0.5955 GB, free: 1.543 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001994/0.3571, allocations: 2.017 MB / 0.5975 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00232/0.3594, allocations: 1.712 MB / 0.5991 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009366/0.3688, allocations: 7.815 MB / 0.6068 GB, free: 5.953 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.3688, allocations: 0 / 0.6068 GB, free: 5.953 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3688, allocations: 0 / 0.6068 GB, free: 5.953 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001905/0.369, allocations: 4 kB / 0.6068 GB, free: 5.949 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1828 * Number of variables: 1828 Notification: Performance of Generate backend data structure: time 0.0105/0.3795, allocations: 5.117 MB / 0.6118 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.3795, allocations: 8.031 kB / 0.6118 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0115/0.391, allocations: 3.223 MB / 0.6149 GB, free: 13.53 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006273/0.3973, allocations: 2.341 MB / 0.6172 GB, free: 11.15 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002203/0.3975, allocations: 246.6 kB / 0.6174 GB, free: 10.91 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008691/0.3984, allocations: 331.7 kB / 0.6178 GB, free: 10.58 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0195/0.4179, allocations: 12.24 MB / 0.6297 GB, free: 13.8 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001046/0.418, allocations: 35.69 kB / 0.6298 GB, free: 13.77 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004762/0.4185, allocations: 159.8 kB / 0.6299 GB, free: 13.61 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004939/0.4234, allocations: 2.844 MB / 0.6327 GB, free: 10.77 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02178/0.4452, allocations: 11.09 MB / 0.6435 GB, free: 15.66 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05762/0.5028, allocations: 37.18 MB / 0.6798 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009779/0.5126, allocations: 3.588 MB / 0.6833 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003427/0.516, allocations: 2.249 MB / 0.6855 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009288/0.517, allocations: 445.3 kB / 0.6859 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.939e-05/0.517, allocations: 56.56 kB / 0.686 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=249): time 5.81e-06/0.517, allocations: 4 kB / 0.686 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of matching and sorting (n=267): time 0.04462/0.5616, allocations: 18.49 MB / 0.7041 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.998e-05/0.5617, allocations: 73.41 kB / 0.7041 GB, free: 488 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004059/0.5658, allocations: 3.066 MB / 0.7071 GB, free: 13.38 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002033/0.566, allocations: 61.61 kB / 0.7072 GB, free: 13.32 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002385/0.5683, allocations: 3.271 MB / 0.7104 GB, free: 10.02 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001004/0.5693, allocations: 1.015 MB / 0.7114 GB, free: 8.992 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001678/0.571, allocations: 1.195 MB / 0.7125 GB, free: 7.785 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.5712, allocations: 309.1 kB / 0.7128 GB, free: 7.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003836/0.575, allocations: 2.463 MB / 0.7152 GB, free: 5.012 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006458/0.5814, allocations: 5.731 MB / 0.7208 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01132/0.5928, allocations: 8.992 MB / 0.7296 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.93e-05/0.5928, allocations: 32 kB / 0.7296 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.2575/0.8503, allocations: 8.98 MB / 0.7384 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.862e-05/0.8504, allocations: 61.75 kB / 0.7385 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001243/0.8505, allocations: 115.6 kB / 0.7386 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00316/0.8537, allocations: 1.053 MB / 0.7396 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004327/0.858, allocations: 1.35 MB / 0.7409 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005784/0.8638, allocations: 5.353 MB / 0.7462 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003475/0.8673, allocations: 320.4 kB / 0.7465 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006439/0.8679, allocations: 348.8 kB / 0.7468 GB, free: 146.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 517 * Number of states: 0 () * Number of discrete variables: 46 (axis1.arrowLine.twoHeadedArrow,axis1.headAtOrigin,axis2.arrowLine.twoHeadedArrow,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.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 (729): * Single equations (assignments): 722 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,11,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003062/0.871, allocations: 2.407 MB / 0.7491 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004198/0.8714, allocations: 301.6 kB / 0.7494 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007465/0.8789, allocations: 5.347 MB / 0.7547 GB, free: 141.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.031e-05/0.8789, allocations: 55.03 kB / 0.7547 GB, free: 141.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.8789, allocations: 4 kB / 0.7547 GB, free: 141.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.789e-05/0.879, allocations: 11.67 kB / 0.7547 GB, free: 141.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01694/0.8959, allocations: 11.32 MB / 0.7658 GB, free: 131 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.556e-05/0.8959, allocations: 17.5 kB / 0.7658 GB, free: 131 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001599/0.8975, allocations: 419.3 kB / 0.7662 GB, free: 130.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002485/0.9, allocations: 0.8899 MB / 0.7671 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001777/0.9002, allocations: 63.81 kB / 0.7671 GB, free: 129.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006973/0.9071, allocations: 4.662 MB / 0.7717 GB, free: 124.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.161e-05/0.9072, allocations: 16.92 kB / 0.7717 GB, free: 124.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009676/0.9168, allocations: 7.99 MB / 0.7795 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006166/0.9174, allocations: 269.6 kB / 0.7798 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003921/0.9178, allocations: 55.98 kB / 0.7798 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/0.919, allocations: 143.8 kB / 0.7799 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003306/0.9194, allocations: 178 kB / 0.7801 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001595/0.9195, allocations: 83.98 kB / 0.7802 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001817/0.9214, allocations: 1.726 MB / 0.7819 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.9214, allocations: 0 / 0.7819 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003775/0.9251, allocations: 1.064 MB / 0.7829 GB, free: 113.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.w) * 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 (208): * Single equations (assignments): 201 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000409/0.9255, allocations: 197.5 kB / 0.7831 GB, free: 113.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006429/0.932, allocations: 5.799 MB / 0.7888 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/0.932, allocations: 4 kB / 0.7888 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002184/0.9342, allocations: 2.093 MB / 0.7908 GB, free: 105.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001789/0.9359, allocations: 356.7 kB / 0.7912 GB, free: 105.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0144/0.9503, allocations: 11.51 MB / 0.8024 GB, free: 93.39 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003032/0.9534, allocations: 3.178 MB / 0.8055 GB, free: 90.18 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003872/0.9572, allocations: 2.12 MB / 0.8076 GB, free: 88.06 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007086/0.958, allocations: 227.4 kB / 0.8078 GB, free: 87.84 MB / 0.5606 GB Notification: Performance of SimCode: time 1.433e-06/0.958, allocations: 3.828 kB / 0.8078 GB, free: 87.84 MB / 0.5606 GB Notification: Performance of Templates: time 0.05467/1.013, allocations: 36.36 MB / 0.8433 GB, free: 51.89 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.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.99071603800985]