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.001832/0.001832, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002008/0.002008, allocations: 209 kB / 24.48 MB, free: 3.941 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.462/1.462, allocations: 230.6 MB / 258.2 MB, free: 7.746 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.2409/0.2409, allocations: 46.97 MB / 361.6 MB, free: 3.992 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.002055/0.002055, allocations: 67.91 kB / 0.4973 GB, free: 7.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3734/0.3755, allocations: 66.03 MB / 0.5618 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01671/0.3922, allocations: 13.01 MB / 0.5745 GB, free: 7.078 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01009/0.4023, allocations: 4.236 MB / 0.5787 GB, free: 2.828 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002826/0.4051, allocations: 91.69 kB / 0.5787 GB, free: 2.738 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004578/0.4097, allocations: 2.172 MB / 0.5809 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005299/0.415, allocations: 2.055 MB / 0.5829 GB, free: 14.5 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001645/0.4166, allocations: 0.6199 MB / 0.5835 GB, free: 13.88 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005924/0.4225, allocations: 4.303 MB / 0.5877 GB, free: 9.562 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003979/0.4265, allocations: 2.683 MB / 0.5903 GB, free: 6.828 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002568/0.4291, allocations: 1.624 MB / 0.5919 GB, free: 5.199 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004029/0.4331, allocations: 2.426 MB / 0.5943 GB, free: 2.766 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001115/0.4342, allocations: 340 kB / 0.5946 GB, free: 2.434 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002391/0.4366, allocations: 0.9479 MB / 0.5955 GB, free: 1.484 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002152/0.4388, allocations: 2.014 MB / 0.5975 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002166/0.4409, allocations: 1.719 MB / 0.5992 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009258/0.4502, allocations: 7.811 MB / 0.6068 GB, free: 5.895 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.4502, allocations: 0 / 0.6068 GB, free: 5.895 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.083e-06/0.4502, allocations: 0 / 0.6068 GB, free: 5.895 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002295/0.4504, allocations: 0 / 0.6068 GB, free: 5.895 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.01092/0.4614, allocations: 5.121 MB / 0.6118 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.4614, allocations: 8.031 kB / 0.6118 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01079/0.4722, allocations: 3.223 MB / 0.6149 GB, free: 13.47 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005905/0.4781, allocations: 2.337 MB / 0.6172 GB, free: 11.09 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002116/0.4783, allocations: 246.6 kB / 0.6175 GB, free: 10.85 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008207/0.4791, allocations: 331.7 kB / 0.6178 GB, free: 10.53 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02158/0.5007, allocations: 12.24 MB / 0.6297 GB, free: 13.76 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001281/0.5008, allocations: 35.7 kB / 0.6298 GB, free: 13.72 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004568/0.5013, allocations: 155.8 kB / 0.6299 GB, free: 13.57 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004791/0.5061, allocations: 2.851 MB / 0.6327 GB, free: 10.71 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02063/0.5267, allocations: 11.09 MB / 0.6435 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0611/0.5878, allocations: 37.18 MB / 0.6798 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00944/0.5973, allocations: 3.584 MB / 0.6833 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003417/0.6007, allocations: 2.257 MB / 0.6855 GB, free: 3.57 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000929/0.6016, allocations: 445.3 kB / 0.686 GB, free: 3.137 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.171e-05/0.6017, allocations: 56.56 kB / 0.686 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=249): time 5.64e-06/0.6017, allocations: 0 / 0.686 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=267): time 0.04569/0.6474, allocations: 18.49 MB / 0.7041 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.017e-05/0.6474, allocations: 73.41 kB / 0.7041 GB, free: 440 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004526/0.652, allocations: 3.066 MB / 0.7071 GB, free: 13.34 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003669/0.6523, allocations: 65.67 kB / 0.7072 GB, free: 13.27 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002438/0.6548, allocations: 3.275 MB / 0.7104 GB, free: 9.961 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001323/0.6561, allocations: 1.011 MB / 0.7114 GB, free: 8.941 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001711/0.6578, allocations: 1.195 MB / 0.7125 GB, free: 7.734 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.6579, allocations: 305.1 kB / 0.7128 GB, free: 7.434 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003852/0.6618, allocations: 2.463 MB / 0.7152 GB, free: 4.965 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007178/0.669, allocations: 5.731 MB / 0.7208 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01249/0.6814, allocations: 8.988 MB / 0.7296 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001314/0.6816, allocations: 32 kB / 0.7296 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.3134/0.995, allocations: 8.989 MB / 0.7384 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000101/0.9951, allocations: 60.94 kB / 0.7385 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002113/0.9953, allocations: 111.5 kB / 0.7386 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002934/0.9983, allocations: 1.052 MB / 0.7396 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004205/1.002, allocations: 1.35 MB / 0.7409 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006271/1.009, allocations: 5.354 MB / 0.7462 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004639/1.013, allocations: 326.7 kB / 0.7465 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001171/1.015, allocations: 335.5 kB / 0.7468 GB, free: 146.7 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.003988/1.019, allocations: 2.412 MB / 0.7491 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006972/1.019, allocations: 303.6 kB / 0.7494 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007626/1.027, allocations: 5.342 MB / 0.7547 GB, free: 141.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.352e-05/1.027, allocations: 47.94 kB / 0.7547 GB, free: 141.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/1.027, allocations: 4 kB / 0.7547 GB, free: 141.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.049e-05/1.027, allocations: 11.67 kB / 0.7547 GB, free: 141.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01786/1.045, allocations: 11.33 MB / 0.7658 GB, free: 130.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.086e-05/1.045, allocations: 14.08 kB / 0.7658 GB, free: 130.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001565/1.046, allocations: 423.3 kB / 0.7662 GB, free: 130.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002402/1.049, allocations: 0.8909 MB / 0.7671 GB, free: 129.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001958/1.049, allocations: 51.98 kB / 0.7671 GB, free: 129.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004508/1.053, allocations: 4.669 MB / 0.7717 GB, free: 124.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/1.053, allocations: 15.94 kB / 0.7717 GB, free: 124.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008665/1.062, allocations: 7.996 MB / 0.7795 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007225/1.063, allocations: 269.9 kB / 0.7798 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003491/1.063, allocations: 52 kB / 0.7798 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001184/1.064, allocations: 151.8 kB / 0.78 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003101/1.065, allocations: 172.8 kB / 0.7801 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001494/1.065, allocations: 76.86 kB / 0.7802 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001901/1.067, allocations: 1.73 MB / 0.7819 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.067, allocations: 0 / 0.7819 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005381/1.072, allocations: 1.055 MB / 0.7829 GB, free: 113.4 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.0006538/1.073, allocations: 208.1 kB / 0.7831 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007365/1.08, allocations: 5.794 MB / 0.7888 GB, free: 107.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-05/1.08, allocations: 4 kB / 0.7888 GB, free: 107.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002311/1.083, allocations: 2.098 MB / 0.7908 GB, free: 105.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002165/1.085, allocations: 365.7 kB / 0.7912 GB, free: 105 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01742/1.102, allocations: 11.51 MB / 0.8024 GB, free: 93.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003624/1.106, allocations: 3.178 MB / 0.8055 GB, free: 90.09 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003794/1.109, allocations: 2.116 MB / 0.8076 GB, free: 87.97 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006778/1.11, allocations: 223.4 kB / 0.8078 GB, free: 87.75 MB / 0.5606 GB Notification: Performance of SimCode: time 1.212e-06/1.11, allocations: 0 / 0.8078 GB, free: 87.75 MB / 0.5606 GB Notification: Performance of Templates: time 0.05509/1.165, allocations: 36.37 MB / 0.8433 GB, free: 51.8 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 cvode -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.872393576995819]