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.0008296/0.0008296, allocations: 87.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.004187/0.004187, allocations: 160.9 kB / 24.7 MB, free: 9.426 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.8593/0.8593, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.2301/0.2301, allocations: 34.25 MB / 295.7 MB, free: 0.7109 MB / 266.7 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 1.563e-06/1.563e-06, allocations: 0 / 443.4 MB, free: 1.168 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.059e-05/2.215e-05, allocations: 5.234 kB / 443.4 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.1912/0.1912, allocations: 15.72 MB / 459.2 MB, free: 35.08 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007388/0.1986, allocations: 5.1 MB / 464.3 MB, free: 31.84 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002275/0.2009, allocations: 128 kB / 464.4 MB, free: 31.8 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002686/0.2036, allocations: 3.124 MB / 467.5 MB, free: 30.48 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003426/0.207, allocations: 2.713 MB / 470.2 MB, free: 29.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001413/0.2084, allocations: 1.13 MB / 471.4 MB, free: 28.75 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005941/0.2143, allocations: 9.022 MB / 480.4 MB, free: 25.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004079/0.2184, allocations: 4.583 MB / 485 MB, free: 23.75 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004831/0.2233, allocations: 3.587 MB / 488.6 MB, free: 22.28 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004688/0.2279, allocations: 3.882 MB / 492.4 MB, free: 21.34 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006004/0.2285, allocations: 468.1 kB / 492.9 MB, free: 21.34 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001752/0.2303, allocations: 1.278 MB / 494.2 MB, free: 21.15 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002171/0.2325, allocations: 3.018 MB / 497.2 MB, free: 19.89 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001925/0.2344, allocations: 1.881 MB / 499.1 MB, free: 18.98 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006817/0.2412, allocations: 10.14 MB / 0.4973 GB, free: 13.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2412, allocations: 0 / 0.4973 GB, free: 13.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2412, allocations: 0 / 0.4973 GB, free: 13.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001076/0.2413, allocations: 0 / 0.4973 GB, free: 13.11 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.008903/0.2502, allocations: 7.459 MB / 0.5046 GB, free: 7.309 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.2503, allocations: 11.97 kB / 0.5046 GB, free: 7.297 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007713/0.258, allocations: 3.994 MB / 0.5085 GB, free: 3.293 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00637/0.2643, allocations: 3.932 MB / 0.5123 GB, free: 15.31 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002125/0.2646, allocations: 323.8 kB / 0.5126 GB, free: 15 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001706/0.2663, allocations: 432 kB / 0.513 GB, free: 14.58 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02129/0.2876, allocations: 15.68 MB / 0.5283 GB, free: 14.14 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001879/0.2877, allocations: 59.53 kB / 0.5284 GB, free: 14.09 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005326/0.2883, allocations: 199.7 kB / 0.5286 GB, free: 13.89 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003667/0.2919, allocations: 3.384 MB / 0.5319 GB, free: 10.5 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02391/0.3158, allocations: 14.77 MB / 0.5463 GB, free: 11.72 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06494/0.3808, allocations: 51.78 MB / 0.5969 GB, free: 6.785 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01236/0.3931, allocations: 7.175 MB / 0.6039 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005051/0.3982, allocations: 4.48 MB / 0.6083 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001115/0.3993, allocations: 0.6537 MB / 0.6089 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.142e-05/0.3994, allocations: 69.06 kB / 0.609 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=367): time 8.997e-06/0.3994, allocations: 0 / 0.609 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=419): time 0.2737/0.6731, allocations: 41.36 MB / 0.6494 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.952e-05/0.6731, allocations: 115.9 kB / 0.6495 GB, free: 145.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004992/0.6781, allocations: 4.471 MB / 0.6538 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001085/0.6792, allocations: 79.77 kB / 0.6539 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001864/0.6811, allocations: 3.935 MB / 0.6578 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002027/0.6831, allocations: 1.533 MB / 0.6593 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002335/0.6854, allocations: 1.562 MB / 0.6608 GB, free: 138.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 3.852e-05/0.6855, allocations: 309.1 kB / 0.6611 GB, free: 138.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004159/0.6896, allocations: 4.077 MB / 0.6651 GB, free: 137.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007292/0.6969, allocations: 7.865 MB / 0.6727 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01312/0.71, allocations: 12.88 MB / 0.6853 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002017/0.7102, allocations: 36.69 kB / 0.6854 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1039) (initialization): time 0.02225/0.7325, allocations: 14.69 MB / 0.6997 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.998e-05/0.7326, allocations: 62.31 kB / 0.6998 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001394/0.7327, allocations: 129 kB / 0.6999 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004766/0.7375, allocations: 2.918 MB / 0.7027 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004594/0.7421, allocations: 1.803 MB / 0.7045 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01279/0.7549, allocations: 15.57 MB / 0.7197 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006279/0.7611, allocations: 0.62 MB / 0.7203 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001954/0.7631, allocations: 430.8 kB / 0.7207 GB, free: 102.4 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.006218/0.7693, allocations: 2.871 MB / 0.7235 GB, free: 99.95 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00113/0.7704, allocations: 449 kB / 0.724 GB, free: 99.51 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01132/0.7818, allocations: 10.88 MB / 0.7346 GB, free: 89.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.077e-05/0.7818, allocations: 63.98 kB / 0.7346 GB, free: 89.73 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.827e-05/0.7818, allocations: 12 kB / 0.7347 GB, free: 89.72 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.812e-05/0.7819, allocations: 15.94 kB / 0.7347 GB, free: 89.71 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02803/0.8099, allocations: 19.65 MB / 0.7539 GB, free: 69.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.198e-05/0.81, allocations: 12 kB / 0.7539 GB, free: 69.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002078/0.812, allocations: 0.6786 MB / 0.7545 GB, free: 69.25 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004301/0.8163, allocations: 2.732 MB / 0.7572 GB, free: 66.51 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006979/0.817, allocations: 83.45 kB / 0.7573 GB, free: 66.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01055/0.8276, allocations: 14.18 MB / 0.7711 GB, free: 52.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.762e-06/0.8276, allocations: 19.88 kB / 0.7712 GB, free: 52.04 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01493/0.8425, allocations: 15.49 MB / 0.7863 GB, free: 36.28 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001625/0.8441, allocations: 0.4891 MB / 0.7868 GB, free: 35.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006964/0.8448, allocations: 71.98 kB / 0.7868 GB, free: 35.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001921/0.8468, allocations: 427.3 kB / 0.7872 GB, free: 35.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005397/0.8473, allocations: 285.7 kB / 0.7875 GB, free: 35.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002152/0.8475, allocations: 119.5 kB / 0.7876 GB, free: 34.91 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002716/0.8502, allocations: 2.671 MB / 0.7902 GB, free: 32.22 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8502, allocations: 0 / 0.7902 GB, free: 32.22 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007055/0.8573, allocations: 1.867 MB / 0.7921 GB, free: 30.36 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.0009542/0.8582, allocations: 251.4 kB / 0.7923 GB, free: 30.11 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01101/0.8692, allocations: 9.644 MB / 0.8017 GB, free: 20.45 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.64e-05/0.8693, allocations: 5.625 kB / 0.8017 GB, free: 20.44 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004026/0.8733, allocations: 4.057 MB / 0.8057 GB, free: 16.36 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003738/0.877, allocations: 0.61 MB / 0.8063 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02465/0.9017, allocations: 16.53 MB / 0.8224 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006013/0.9077, allocations: 4.028 MB / 0.8264 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00214/0.9098, allocations: 400.4 kB / 0.8267 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of SimCode: time 1.844e-06/0.9098, allocations: 0 / 0.8267 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of Templates: time 0.3382/1.248, allocations: 144.3 MB / 0.9677 GB, free: 63.57 MB / 0.5417 GB " [Timeout remaining time 659] 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: 10.638684413395822]