Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001954/0.001954, allocations: 117.6 kB / 19.13 MB, free: 3.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00252/0.00252, allocations: 222.4 kB / 22.09 MB, free: 0.9648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 227.4 MB / 252.3 MB, free: 68 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2406/0.2406, allocations: 46.17 MB / 351.8 MB, free: 14.29 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.Revolute2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00228/0.00228, allocations: 77.28 kB / 490.9 MB, free: 27.89 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1269, allocations: 62.45 MB / 0.5404 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.02003/0.147, allocations: 18.15 MB / 0.5581 GB, free: 2.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01132/0.1584, allocations: 5.288 MB / 0.5632 GB, free: 12.71 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002955/0.1614, allocations: 103.8 kB / 0.5633 GB, free: 12.61 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006301/0.1677, allocations: 3.06 MB / 0.5663 GB, free: 9.539 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007025/0.1748, allocations: 2.539 MB / 0.5688 GB, free: 6.992 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003033/0.1778, allocations: 1.014 MB / 0.5698 GB, free: 5.977 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01199/0.1899, allocations: 7.667 MB / 0.5773 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006328/0.1962, allocations: 4.164 MB / 0.5814 GB, free: 10.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004617/0.2009, allocations: 2.25 MB / 0.5836 GB, free: 7.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005253/0.2062, allocations: 3.232 MB / 0.5867 GB, free: 4.578 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001549/0.2078, allocations: 452 kB / 0.5871 GB, free: 4.137 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003818/0.2116, allocations: 1.288 MB / 0.5884 GB, free: 2.848 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004064/0.2157, allocations: 2.797 MB / 0.5911 GB, free: 44 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005319/0.221, allocations: 3.184 MB / 0.5942 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01389/0.235, allocations: 9.979 MB / 0.604 GB, free: 2.82 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/0.235, allocations: 0 / 0.604 GB, free: 2.82 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.235, allocations: 3.938 kB / 0.604 GB, free: 2.816 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003159/0.2354, allocations: 0 / 0.604 GB, free: 2.816 MB / 462.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.2767/0.5121, allocations: 7.377 MB / 0.6112 GB, free: 56.09 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.5121, allocations: 9.594 kB / 0.6112 GB, free: 56.09 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01715/0.5293, allocations: 3.877 MB / 0.615 GB, free: 55.5 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008906/0.5382, allocations: 4.024 MB / 0.6189 GB, free: 53.98 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003156/0.5386, allocations: 316.3 kB / 0.6192 GB, free: 53.88 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001846/0.5404, allocations: 439.9 kB / 0.6196 GB, free: 53.77 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03142/0.5719, allocations: 15.58 MB / 0.6349 GB, free: 44.67 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000269/0.5722, allocations: 67.48 kB / 0.6349 GB, free: 44.61 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001383/0.5736, allocations: 203.8 kB / 0.6351 GB, free: 44.41 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00702/0.5806, allocations: 3.368 MB / 0.6384 GB, free: 41.04 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03711/0.6177, allocations: 14.83 MB / 0.6529 GB, free: 26.2 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08458/0.7024, allocations: 55.09 MB / 0.7067 GB, free: 2.23 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01965/0.7221, allocations: 8.201 MB / 0.7147 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007675/0.7298, allocations: 4.835 MB / 0.7194 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002577/0.7324, allocations: 2.204 MB / 0.7216 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.492e-05/0.7325, allocations: 67.08 kB / 0.7216 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=367): time 7.014e-06/0.7325, allocations: 0 / 0.7216 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of matching and sorting (n=419): time 0.1191/0.8515, allocations: 40.29 MB / 0.761 GB, free: 9.949 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.8517, allocations: 116 kB / 0.7611 GB, free: 9.816 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006797/0.8585, allocations: 4.292 MB / 0.7653 GB, free: 5.504 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0009477/0.8595, allocations: 89.69 kB / 0.7654 GB, free: 5.41 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00368/0.8632, allocations: 3.925 MB / 0.7692 GB, free: 1.445 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002492/0.8657, allocations: 1.569 MB / 0.7707 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002862/0.8686, allocations: 1.577 MB / 0.7723 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.8687, allocations: 309.1 kB / 0.7726 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006614/0.8754, allocations: 4.079 MB / 0.7765 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01062/0.886, allocations: 7.841 MB / 0.7842 GB, free: 240 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01886/0.9049, allocations: 12.88 MB / 0.7968 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.901e-05/0.905, allocations: 40 kB / 0.7968 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1039) (initialization): time 0.03255/0.9376, allocations: 14.75 MB / 0.8112 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001462/0.9378, allocations: 65.91 kB / 0.8113 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002022/0.938, allocations: 128 kB / 0.8114 GB, free: 2.516 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009076/0.9471, allocations: 2.932 MB / 0.8143 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006842/0.9539, allocations: 1.809 MB / 0.816 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02461/0.9786, allocations: 15.97 MB / 0.8316 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006317/0.9849, allocations: 0.4957 MB / 0.8321 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00157/0.9865, allocations: 423.9 kB / 0.8325 GB, free: 12.59 MB / 0.6231 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.005966/0.9925, allocations: 2.873 MB / 0.8353 GB, free: 9.707 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001138/0.9937, allocations: 476.8 kB / 0.8358 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2802/1.274, allocations: 10.93 MB / 0.8465 GB, free: 207 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001237/1.274, allocations: 64.62 kB / 0.8465 GB, free: 207 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.668e-05/1.274, allocations: 9.375 kB / 0.8465 GB, free: 207 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.89e-05/1.274, allocations: 18.67 kB / 0.8465 GB, free: 207 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04411/1.318, allocations: 21.58 MB / 0.8676 GB, free: 201.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.744e-05/1.318, allocations: 11.72 kB / 0.8676 GB, free: 201.6 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003464/1.322, allocations: 0.6842 MB / 0.8683 GB, free: 201.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007763/1.33, allocations: 2.729 MB / 0.871 GB, free: 201.1 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001191/1.331, allocations: 73.91 kB / 0.871 GB, free: 201.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0166/1.348, allocations: 14.57 MB / 0.8853 GB, free: 193.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/1.348, allocations: 22.83 kB / 0.8853 GB, free: 193.1 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02204/1.37, allocations: 15.58 MB / 0.9005 GB, free: 181.2 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001562/1.371, allocations: 0.5191 MB / 0.901 GB, free: 180.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001467/1.373, allocations: 73.94 kB / 0.9011 GB, free: 180.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003095/1.376, allocations: 319.5 kB / 0.9014 GB, free: 180.6 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007923/1.377, allocations: 261.5 kB / 0.9016 GB, free: 180.3 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002916/1.377, allocations: 118.3 kB / 0.9017 GB, free: 180.2 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003284/1.38, allocations: 2.681 MB / 0.9044 GB, free: 177.5 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/1.38, allocations: 0 / 0.9044 GB, free: 177.5 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00633/1.387, allocations: 1.661 MB / 0.906 GB, free: 175.9 MB / 0.6231 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.0007484/1.387, allocations: 230.8 kB / 0.9062 GB, free: 175.6 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01269/1.4, allocations: 10.11 MB / 0.9161 GB, free: 165.6 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.858e-05/1.4, allocations: 4 kB / 0.9161 GB, free: 165.6 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.007186/1.407, allocations: 4.375 MB / 0.9203 GB, free: 161.2 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007019/1.414, allocations: 0.7155 MB / 0.921 GB, free: 160.5 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0294/1.444, allocations: 16.45 MB / 0.9371 GB, free: 143.9 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006624/1.45, allocations: 4.527 MB / 0.9415 GB, free: 139.3 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002224/1.453, allocations: 403.3 kB / 0.9419 GB, free: 138.9 MB / 0.6231 GB Notification: Performance of SimCode: time 1.112e-06/1.453, allocations: 0 / 0.9419 GB, free: 138.9 MB / 0.6231 GB Notification: Performance of Templates: time 0.4382/1.891, allocations: 142.1 MB / 1.081 GB, free: 212 MB / 0.6387 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute2/Revolute2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 18.651789564057253]