Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.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.001457/0.001457, allocations: 84.92 kB / 20.68 MB, free: 1.035 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.001538/0.001538, allocations: 163.8 kB / 23.95 MB, free: 4.168 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.511/1.511, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.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.2134/0.2134, allocations: 34.27 MB / 294.9 MB, free: 14.57 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.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2") translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 442.7 MB, free: 5.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.912e-05/3.114e-05, allocations: 2.281 kB / 442.7 MB, free: 5.383 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.2057/0.2057, allocations: 15.72 MB / 458.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01123/0.2169, allocations: 5.104 MB / 463.5 MB, free: 7.324 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003672/0.2206, allocations: 125.7 kB / 463.6 MB, free: 7.289 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00658/0.2272, allocations: 3.132 MB / 466.8 MB, free: 5.969 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007469/0.2347, allocations: 2.714 MB / 469.5 MB, free: 4.699 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002616/0.2373, allocations: 1.13 MB / 470.6 MB, free: 4.227 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0105/0.2478, allocations: 9.027 MB / 479.6 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008063/0.2558, allocations: 4.591 MB / 484.2 MB, free: 12.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009504/0.2653, allocations: 3.586 MB / 487.8 MB, free: 8.898 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006949/0.2723, allocations: 3.874 MB / 491.7 MB, free: 5.016 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001486/0.2738, allocations: 468 kB / 492.1 MB, free: 4.559 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003396/0.2772, allocations: 1.291 MB / 493.4 MB, free: 3.266 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00371/0.2809, allocations: 3.011 MB / 496.4 MB, free: 252 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003707/0.2846, allocations: 1.885 MB / 498.3 MB, free: 14.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01316/0.2977, allocations: 10.14 MB / 0.4965 GB, free: 4.188 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.2977, allocations: 0 / 0.4965 GB, free: 4.188 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2977, allocations: 4 kB / 0.4966 GB, free: 4.184 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002741/0.298, allocations: 0 / 0.4966 GB, free: 4.184 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2169 * Number of variables: 2169 Notification: Performance of Generate backend data structure: time 0.01862/0.3166, allocations: 7.469 MB / 0.5038 GB, free: 12.64 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.3167, allocations: 8.031 kB / 0.5039 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01755/0.3342, allocations: 3.99 MB / 0.5078 GB, free: 8.633 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009428/0.3437, allocations: 3.92 MB / 0.5116 GB, free: 4.664 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003086/0.344, allocations: 320.4 kB / 0.5119 GB, free: 4.348 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001479/0.3455, allocations: 428.1 kB / 0.5123 GB, free: 3.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02898/0.3744, allocations: 15.67 MB / 0.5276 GB, free: 3.508 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001592/0.3746, allocations: 71.53 kB / 0.5277 GB, free: 3.438 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006367/0.3752, allocations: 199.7 kB / 0.5279 GB, free: 3.242 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006755/0.382, allocations: 3.38 MB / 0.5312 GB, free: 15.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03056/0.4125, allocations: 14.77 MB / 0.5456 GB, free: 1.07 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09197/0.5045, allocations: 51.79 MB / 0.5962 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02002/0.5245, allocations: 7.186 MB / 0.6032 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007459/0.532, allocations: 4.476 MB / 0.6075 GB, free: 448 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001583/0.5336, allocations: 0.6459 MB / 0.6082 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.904e-05/0.5337, allocations: 65.08 kB / 0.6082 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=367): time 7.624e-06/0.5337, allocations: 0 / 0.6082 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=419): time 0.3282/0.8619, allocations: 41.36 MB / 0.6486 GB, free: 164.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.605e-05/0.862, allocations: 115.8 kB / 0.6487 GB, free: 164.7 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006366/0.8683, allocations: 4.472 MB / 0.6531 GB, free: 163.1 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007454/0.8691, allocations: 86.16 kB / 0.6532 GB, free: 163 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002231/0.8713, allocations: 3.929 MB / 0.657 GB, free: 160.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001614/0.8729, allocations: 1.54 MB / 0.6585 GB, free: 159.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002228/0.8751, allocations: 1.563 MB / 0.6601 GB, free: 158.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.644e-05/0.8752, allocations: 306.1 kB / 0.6603 GB, free: 158.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005705/0.8809, allocations: 4.079 MB / 0.6643 GB, free: 157 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006954/0.8878, allocations: 7.868 MB / 0.672 GB, free: 150.7 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01167/0.8995, allocations: 12.88 MB / 0.6846 GB, free: 142.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.846e-05/0.8996, allocations: 40.59 kB / 0.6846 GB, free: 142.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1039) (initialization): time 0.0232/0.9228, allocations: 14.68 MB / 0.699 GB, free: 133.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.57e-05/0.9229, allocations: 68.19 kB / 0.699 GB, free: 133.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001222/0.923, allocations: 128 kB / 0.6992 GB, free: 133.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007745/0.9307, allocations: 2.919 MB / 0.702 GB, free: 130.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006203/0.9369, allocations: 1.809 MB / 0.7038 GB, free: 128.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01736/0.9543, allocations: 15.57 MB / 0.719 GB, free: 112.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009032/0.9633, allocations: 0.6087 MB / 0.7196 GB, free: 112.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001342/0.9647, allocations: 439.9 kB / 0.72 GB, free: 111.8 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 583 * Number of states: 0 () * Number of discrete variables: 50 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.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 (942): * Single equations (assignments): 934 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,32,69.4%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005193/0.9699, allocations: 2.865 MB / 0.7228 GB, free: 108.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001273/0.9711, allocations: 449 kB / 0.7232 GB, free: 108.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01704/0.9882, allocations: 10.89 MB / 0.7338 GB, free: 97.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.467e-05/0.9883, allocations: 63.98 kB / 0.7339 GB, free: 97.44 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.886e-05/0.9883, allocations: 8 kB / 0.7339 GB, free: 97.43 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.957e-05/0.9883, allocations: 22.5 kB / 0.7339 GB, free: 97.41 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03508/1.023, allocations: 19.65 MB / 0.7531 GB, free: 77.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.883e-05/1.023, allocations: 12 kB / 0.7531 GB, free: 77.62 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003539/1.027, allocations: 0.6864 MB / 0.7538 GB, free: 76.94 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007933/1.035, allocations: 2.721 MB / 0.7565 GB, free: 74.21 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001171/1.036, allocations: 83.81 kB / 0.7565 GB, free: 74.13 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01617/1.052, allocations: 14.18 MB / 0.7704 GB, free: 59.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.926e-06/1.052, allocations: 20 kB / 0.7704 GB, free: 59.73 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02456/1.077, allocations: 15.51 MB / 0.7855 GB, free: 43.96 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001554/1.078, allocations: 488.9 kB / 0.786 GB, free: 43.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00121/1.08, allocations: 79.98 kB / 0.7861 GB, free: 43.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003767/1.083, allocations: 434.4 kB / 0.7865 GB, free: 42.98 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008184/1.084, allocations: 281.7 kB / 0.7868 GB, free: 42.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003088/1.085, allocations: 115.8 kB / 0.7869 GB, free: 42.59 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00308/1.088, allocations: 2.671 MB / 0.7895 GB, free: 39.91 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/1.088, allocations: 0 / 0.7895 GB, free: 39.91 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006331/1.094, allocations: 1.867 MB / 0.7913 GB, free: 38.04 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.phi,revolute2.phi,revolute2.w,revolute3.phi,revolute3.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 (334): * Single equations (assignments): 326 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (6,29,69.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007417/1.095, allocations: 245.8 kB / 0.7916 GB, free: 37.79 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01213/1.107, allocations: 9.652 MB / 0.801 GB, free: 28.12 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.468e-05/1.107, allocations: 0 / 0.801 GB, free: 28.12 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005219/1.112, allocations: 4.057 MB / 0.8049 GB, free: 24.04 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004113/1.116, allocations: 0.6178 MB / 0.8055 GB, free: 23.43 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02193/1.138, allocations: 15.95 MB / 0.8211 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004829/1.143, allocations: 4.04 MB / 0.8251 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00579/1.149, allocations: 2.697 MB / 0.8277 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001708/1.15, allocations: 348.4 kB / 0.828 GB, free: 172 kB / 0.5294 GB Notification: Performance of SimCode: time 1.242e-06/1.15, allocations: 0 / 0.828 GB, free: 172 kB / 0.5294 GB Notification: Performance of Templates: time 0.3458/1.496, allocations: 67.55 MB / 0.894 GB, free: 145.3 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Revolute2/Revolute2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.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: 8.39710320532322]