Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.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.001286/0.001286, allocations: 83.92 kB / 20.68 MB, free: 1.023 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.001426/0.001426, allocations: 163.9 kB / 23.95 MB, free: 4.156 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.387/1.387, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.1 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.2005/0.2005, allocations: 32.81 MB / 293.5 MB, free: 40 kB / 270.1 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.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 440.1 MB, free: 8.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.569e-05/2.715e-05, allocations: 2.281 kB / 440.1 MB, free: 8.16 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.1976/0.1976, allocations: 10.73 MB / 450.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007145/0.2047, allocations: 3.759 MB / 454.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001806/0.2066, allocations: 68.41 kB / 454.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002769/0.2093, allocations: 1.347 MB / 456 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004659/0.214, allocations: 1.835 MB / 457.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.2153, allocations: 0.5158 MB / 458.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004826/0.2201, allocations: 3.981 MB / 462.3 MB, free: 11.22 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002589/0.2227, allocations: 2.081 MB / 464.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002972/0.2257, allocations: 1.843 MB / 466.2 MB, free: 9.57 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003706/0.2294, allocations: 1.932 MB / 468.2 MB, free: 8.723 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007055/0.2301, allocations: 240.4 kB / 468.4 MB, free: 8.723 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002046/0.2322, allocations: 0.9044 MB / 469.3 MB, free: 8.383 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001427/0.2336, allocations: 1.678 MB / 471 MB, free: 7.41 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001443/0.235, allocations: 0.9978 MB / 472 MB, free: 6.836 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007003/0.242, allocations: 6.177 MB / 478.2 MB, free: 2.684 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.242, allocations: 0 / 478.2 MB, free: 2.684 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.242, allocations: 0 / 478.2 MB, free: 2.684 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001807/0.2422, allocations: 7.938 kB / 478.2 MB, free: 2.676 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.008594/0.2508, allocations: 4.171 MB / 482.3 MB, free: 15.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.2509, allocations: 8.031 kB / 482.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01176/0.2626, allocations: 3.145 MB / 485.5 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004402/0.267, allocations: 1.82 MB / 487.3 MB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001785/0.2672, allocations: 192.7 kB / 487.5 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006467/0.2679, allocations: 256.1 kB / 487.8 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01739/0.2852, allocations: 10.48 MB / 498.2 MB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.174e-05/0.2853, allocations: 35.69 kB / 498.3 MB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003899/0.2857, allocations: 123.8 kB / 498.4 MB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004637/0.2904, allocations: 2.549 MB / 0.4892 GB, free: 12.61 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01956/0.3099, allocations: 9.901 MB / 0.4989 GB, free: 2.703 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05279/0.3627, allocations: 31.84 MB / 0.53 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01039/0.3731, allocations: 4.153 MB / 0.534 GB, free: 13.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003713/0.3768, allocations: 2.118 MB / 0.5361 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001374/0.3782, allocations: 0.5555 MB / 0.5366 GB, free: 11.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.104e-05/0.3782, allocations: 48.56 kB / 0.5367 GB, free: 11.17 MB / 446.1 MB Notification: Performance of pre-optimization done (n=229): time 6.472e-06/0.3783, allocations: 0 / 0.5367 GB, free: 11.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=235): time 0.03781/0.4161, allocations: 14.35 MB / 0.5507 GB, free: 12.81 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.572e-05/0.4161, allocations: 69.41 kB / 0.5508 GB, free: 12.73 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004382/0.4205, allocations: 2.695 MB / 0.5534 GB, free: 10 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002682/0.4208, allocations: 65.64 kB / 0.5535 GB, free: 9.934 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00211/0.4229, allocations: 2.733 MB / 0.5561 GB, free: 7.172 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001054/0.424, allocations: 0.868 MB / 0.557 GB, free: 6.297 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001935/0.4259, allocations: 1.041 MB / 0.558 GB, free: 5.246 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002082/0.4261, allocations: 357.9 kB / 0.5583 GB, free: 4.891 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003717/0.4298, allocations: 2.204 MB / 0.5605 GB, free: 2.68 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007056/0.4369, allocations: 5.075 MB / 0.5654 GB, free: 12.2 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01072/0.4476, allocations: 7.969 MB / 0.5732 GB, free: 2.824 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001094/0.4477, allocations: 32 kB / 0.5732 GB, free: 2.793 MB / 478.1 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01501/0.4627, allocations: 7.874 MB / 0.5809 GB, free: 10.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.548e-05/0.4628, allocations: 48 kB / 0.581 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001518/0.463, allocations: 100 kB / 0.5811 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00248/0.4654, allocations: 0.7884 MB / 0.5818 GB, free: 9.969 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004233/0.4697, allocations: 1.189 MB / 0.583 GB, free: 8.777 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00647/0.4761, allocations: 4.378 MB / 0.5873 GB, free: 4.301 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003876/0.48, allocations: 323.7 kB / 0.5876 GB, free: 3.984 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009635/0.481, allocations: 300 kB / 0.5879 GB, free: 3.691 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,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 (635): * Single equations (assignments): 628 * 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 {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004847/0.4858, allocations: 2.025 MB / 0.5899 GB, free: 1.656 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000838/0.4867, allocations: 262.2 kB / 0.5901 GB, free: 1.398 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009784/0.4965, allocations: 4.703 MB / 0.5947 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.638e-05/0.4965, allocations: 43.98 kB / 0.5947 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.395e-05/0.4965, allocations: 7.938 kB / 0.5948 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.684e-05/0.4966, allocations: 15.95 kB / 0.5948 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01866/0.5152, allocations: 9.262 MB / 0.6038 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.075e-05/0.5153, allocations: 8 kB / 0.6038 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001648/0.5169, allocations: 360.3 kB / 0.6042 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002204/0.5191, allocations: 0.6561 MB / 0.6048 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002259/0.5193, allocations: 39.98 kB / 0.6048 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005673/0.525, allocations: 3.768 MB / 0.6085 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.096e-05/0.525, allocations: 16 kB / 0.6085 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01248/0.5375, allocations: 7.103 MB / 0.6155 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008467/0.5383, allocations: 242.3 kB / 0.6157 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006161/0.539, allocations: 40 kB / 0.6157 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001645/0.5406, allocations: 175.8 kB / 0.6159 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004427/0.541, allocations: 144.8 kB / 0.616 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002013/0.5412, allocations: 67.98 kB / 0.6161 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002981/0.5442, allocations: 1.532 MB / 0.6176 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.5442, allocations: 0 / 0.6176 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00441/0.5486, allocations: 0.9921 MB / 0.6186 GB, free: 3.832 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.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 (178): * Single equations (assignments): 171 * 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 {(1,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.0006111/0.5492, allocations: 196.9 kB / 0.6188 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008608/0.5579, allocations: 5.15 MB / 0.6238 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/0.5579, allocations: 4 kB / 0.6238 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002902/0.5608, allocations: 1.878 MB / 0.6256 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002163/0.5629, allocations: 279.5 kB / 0.6259 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01714/0.5801, allocations: 9.481 MB / 0.6352 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004127/0.5842, allocations: 2.622 MB / 0.6377 GB, free: 80 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.1784/0.7626, allocations: 1.932 MB / 0.6396 GB, free: 172.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007223/0.7633, allocations: 194.4 kB / 0.6398 GB, free: 172.6 MB / 0.5294 GB Notification: Performance of SimCode: time 9.62e-07/0.7633, allocations: 1.312 kB / 0.6398 GB, free: 172.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.05/0.8133, allocations: 25.11 MB / 0.6643 GB, free: 166.3 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.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.185574401170015]