Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0008/0.0008, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.004177/0.004177, allocations: 163 kB / 24.7 MB, free: 8.891 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 0.8804/0.8804, allocations: 177.1 MB / 205 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.2341/0.2341, allocations: 32.79 MB / 294.2 MB, free: 1.184 MB / 266.7 MB " [Timeout remaining time 180] 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.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.0.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.0.0_ModelicaTest.MultiBody.Joints.Revolute2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.63e-06/5.63e-06, allocations: 3.938 kB / 440.9 MB, free: 3.746 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.279e-05/2.842e-05, allocations: 7.203 kB / 440.9 MB, free: 3.738 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.2067/0.2067, allocations: 15.72 MB / 456.6 MB, free: 37.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006382/0.2131, allocations: 5.098 MB / 461.7 MB, free: 34.48 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009643/0.2141, allocations: 125.3 kB / 461.8 MB, free: 34.44 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00236/0.2164, allocations: 3.133 MB / 464.9 MB, free: 33.12 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002561/0.219, allocations: 2.707 MB / 467.6 MB, free: 31.86 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.22, allocations: 1.127 MB / 468.8 MB, free: 31.39 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003985/0.224, allocations: 9.027 MB / 477.8 MB, free: 28.25 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002417/0.2264, allocations: 4.587 MB / 482.4 MB, free: 26.39 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002835/0.2292, allocations: 3.581 MB / 486 MB, free: 24.92 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003953/0.2332, allocations: 3.883 MB / 489.9 MB, free: 23.98 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005991/0.2338, allocations: 468.1 kB / 490.3 MB, free: 23.98 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001727/0.2355, allocations: 1.29 MB / 491.6 MB, free: 23.78 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00196/0.2375, allocations: 3.01 MB / 494.6 MB, free: 22.53 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001594/0.2391, allocations: 1.877 MB / 496.5 MB, free: 21.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007737/0.2468, allocations: 10.14 MB / 0.4947 GB, free: 16 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.2468, allocations: 3.938 kB / 0.4948 GB, free: 16 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2468, allocations: 1.25 kB / 0.4948 GB, free: 16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001176/0.2469, allocations: 0 / 0.4948 GB, free: 16 MB / 410.7 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.009442/0.2564, allocations: 7.472 MB / 0.502 GB, free: 10.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.2564, allocations: 9.625 kB / 0.5021 GB, free: 10.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007528/0.264, allocations: 3.988 MB / 0.506 GB, free: 7.195 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004868/0.2688, allocations: 3.921 MB / 0.5098 GB, free: 3.227 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/0.2689, allocations: 320.4 kB / 0.5101 GB, free: 2.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000534/0.2695, allocations: 436 kB / 0.5105 GB, free: 2.484 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0191/0.2886, allocations: 15.68 MB / 0.5258 GB, free: 2.059 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001214/0.2887, allocations: 67.47 kB / 0.5259 GB, free: 1.992 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004378/0.2891, allocations: 199.7 kB / 0.5261 GB, free: 1.797 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003641/0.2928, allocations: 3.38 MB / 0.5294 GB, free: 14.41 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02087/0.3136, allocations: 14.77 MB / 0.5438 GB, free: 15.63 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05802/0.3717, allocations: 51.79 MB / 0.5944 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01067/0.3823, allocations: 7.175 MB / 0.6014 GB, free: 3.508 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004212/0.3865, allocations: 4.477 MB / 0.6058 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007598/0.3873, allocations: 0.6498 MB / 0.6064 GB, free: 14.37 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.235e-05/0.3873, allocations: 69.06 kB / 0.6065 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=367): time 5.541e-06/0.3873, allocations: 0 / 0.6065 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=419): time 0.2703/0.6576, allocations: 41.36 MB / 0.6468 GB, free: 148.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.929e-05/0.6577, allocations: 118.6 kB / 0.647 GB, free: 148.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00527/0.663, allocations: 4.472 MB / 0.6513 GB, free: 147.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.00121/0.6642, allocations: 83.23 kB / 0.6514 GB, free: 147.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001597/0.6658, allocations: 3.929 MB / 0.6552 GB, free: 144.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001804/0.6676, allocations: 1.537 MB / 0.6567 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001806/0.6694, allocations: 1.556 MB / 0.6583 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 3.431e-05/0.6694, allocations: 315.9 kB / 0.6586 GB, free: 141.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004061/0.6735, allocations: 4.078 MB / 0.6625 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006643/0.6801, allocations: 7.863 MB / 0.6702 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01368/0.6938, allocations: 12.88 MB / 0.6828 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001962/0.694, allocations: 37.41 kB / 0.6828 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1039) (initialization): time 0.02465/0.7186, allocations: 14.69 MB / 0.6972 GB, free: 120.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.005e-05/0.7187, allocations: 62.69 kB / 0.6972 GB, free: 120.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001093/0.7188, allocations: 128.5 kB / 0.6974 GB, free: 120.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005061/0.7239, allocations: 2.921 MB / 0.7002 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004587/0.7285, allocations: 1.803 MB / 0.702 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01307/0.7415, allocations: 15.57 MB / 0.7172 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006809/0.7484, allocations: 0.6146 MB / 0.7178 GB, free: 109 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00219/0.7505, allocations: 434.4 kB / 0.7182 GB, free: 108.6 MB / 0.5261 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.007109/0.7577, allocations: 2.87 MB / 0.721 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0013/0.759, allocations: 453 kB / 0.7214 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01167/0.7706, allocations: 10.88 MB / 0.7321 GB, free: 96.09 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.616e-05/0.7707, allocations: 63.36 kB / 0.7321 GB, free: 96.03 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.001e-05/0.7707, allocations: 15.94 kB / 0.7321 GB, free: 96.01 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.733e-05/0.7708, allocations: 22.92 kB / 0.7322 GB, free: 95.99 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02697/0.7977, allocations: 19.64 MB / 0.7513 GB, free: 76.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.276e-05/0.7978, allocations: 16.25 kB / 0.7514 GB, free: 76.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001968/0.7997, allocations: 0.6786 MB / 0.752 GB, free: 75.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004111/0.8038, allocations: 2.72 MB / 0.7547 GB, free: 72.82 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007712/0.8046, allocations: 87.66 kB / 0.7548 GB, free: 72.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01046/0.8151, allocations: 14.18 MB / 0.7686 GB, free: 58.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/0.8151, allocations: 19.92 kB / 0.7686 GB, free: 58.33 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01673/0.8318, allocations: 15.51 MB / 0.7838 GB, free: 42.56 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001579/0.8334, allocations: 492.9 kB / 0.7842 GB, free: 42.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001456/0.8348, allocations: 75.98 kB / 0.7843 GB, free: 42 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002691/0.8375, allocations: 435.1 kB / 0.7847 GB, free: 41.58 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006601/0.8382, allocations: 277.7 kB / 0.785 GB, free: 41.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00021/0.8384, allocations: 116 kB / 0.7851 GB, free: 41.19 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003151/0.8416, allocations: 2.671 MB / 0.7877 GB, free: 38.51 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8416, allocations: 0 / 0.7877 GB, free: 38.51 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009132/0.8507, allocations: 1.855 MB / 0.7895 GB, free: 36.65 MB / 0.5261 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.001609/0.8523, allocations: 250.3 kB / 0.7898 GB, free: 36.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01258/0.8649, allocations: 9.65 MB / 0.7992 GB, free: 26.74 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.752e-05/0.8649, allocations: 1.688 kB / 0.7992 GB, free: 26.74 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005265/0.8702, allocations: 4.073 MB / 0.8032 GB, free: 22.64 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003807/0.874, allocations: 0.6079 MB / 0.8038 GB, free: 22.05 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0231/0.8971, allocations: 16.53 MB / 0.8199 GB, free: 5.332 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004899/0.902, allocations: 4.026 MB / 0.8238 GB, free: 1.258 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002085/0.904, allocations: 408.4 kB / 0.8242 GB, free: 0.8594 MB / 0.5261 GB Notification: Performance of SimCode: time 1.523e-06/0.904, allocations: 0 / 0.8242 GB, free: 0.8594 MB / 0.5261 GB Notification: Performance of Templates: time 0.333/1.237, allocations: 144.3 MB / 0.9652 GB, free: 67.44 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute2/Revolute2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 11.427308164536953]