Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.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.002013/0.002013, allocations: 82.3 kB / 20.68 MB, free: 1.039 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.002325/0.002325, allocations: 157.2 kB / 23.95 MB, free: 4.168 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.475/1.475, allocations: 177 MB / 204.1 MB, free: 9.168 MB / 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.2148/0.2148, allocations: 34.26 MB / 294.8 MB, free: 14.54 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.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 442.7 MB, free: 5.309 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.412e-05/2.564e-05, allocations: 6.219 kB / 442.7 MB, free: 5.301 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.2169/0.2169, allocations: 10.74 MB / 453.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007354/0.2242, allocations: 3.755 MB / 457.1 MB, free: 11.42 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001583/0.2258, allocations: 68.62 kB / 457.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002695/0.2285, allocations: 1.349 MB / 458.6 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00423/0.2327, allocations: 1.835 MB / 460.4 MB, free: 10.06 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.234, allocations: 0.5168 MB / 460.9 MB, free: 9.867 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007074/0.241, allocations: 3.972 MB / 464.9 MB, free: 8.383 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004814/0.2459, allocations: 2.086 MB / 467 MB, free: 7.477 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004913/0.2508, allocations: 1.842 MB / 468.8 MB, free: 6.652 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005366/0.2561, allocations: 1.929 MB / 470.7 MB, free: 5.598 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001342/0.2575, allocations: 239.4 kB / 471 MB, free: 5.598 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004508/0.262, allocations: 0.9126 MB / 471.9 MB, free: 5.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002729/0.2647, allocations: 1.671 MB / 473.6 MB, free: 4.285 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002854/0.2676, allocations: 0.9982 MB / 474.6 MB, free: 3.711 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01288/0.2804, allocations: 6.176 MB / 480.7 MB, free: 15.56 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.136e-05/0.2805, allocations: 1.812 kB / 480.7 MB, free: 15.56 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.709e-06/0.2805, allocations: 3.984 kB / 480.7 MB, free: 15.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002865/0.2807, allocations: 0 / 480.7 MB, free: 15.55 MB / 382.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.01534/0.2961, allocations: 4.166 MB / 484.9 MB, free: 11.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.2961, allocations: 8.031 kB / 484.9 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01197/0.3081, allocations: 3.153 MB / 488.1 MB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004928/0.313, allocations: 1.823 MB / 489.9 MB, free: 6.578 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002306/0.3133, allocations: 189 kB / 490.1 MB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002038/0.3153, allocations: 252.1 kB / 490.3 MB, free: 6.145 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02419/0.3395, allocations: 10.5 MB / 0.4891 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001553/0.3397, allocations: 27.77 kB / 0.4891 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001359/0.341, allocations: 119.8 kB / 0.4892 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005286/0.3463, allocations: 2.549 MB / 0.4917 GB, free: 8.516 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02087/0.3672, allocations: 9.898 MB / 0.5014 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0571/0.4243, allocations: 31.86 MB / 0.5325 GB, free: 13.94 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01025/0.4345, allocations: 4.139 MB / 0.5365 GB, free: 9.793 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003532/0.4381, allocations: 2.12 MB / 0.5386 GB, free: 7.676 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00133/0.4394, allocations: 0.5438 MB / 0.5391 GB, free: 7.137 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.682e-05/0.4395, allocations: 56.56 kB / 0.5392 GB, free: 7.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=229): time 5.35e-06/0.4395, allocations: 0 / 0.5392 GB, free: 7.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=235): time 0.0376/0.4771, allocations: 14.35 MB / 0.5532 GB, free: 8.711 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.73e-05/0.4771, allocations: 69.41 kB / 0.5533 GB, free: 8.629 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004607/0.4817, allocations: 2.687 MB / 0.5559 GB, free: 5.91 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005161/0.4823, allocations: 61.69 kB / 0.5559 GB, free: 5.844 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00229/0.4845, allocations: 2.737 MB / 0.5586 GB, free: 3.078 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001197/0.4857, allocations: 0.868 MB / 0.5595 GB, free: 2.203 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001693/0.4874, allocations: 1.037 MB / 0.5605 GB, free: 1.156 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002034/0.4876, allocations: 365.8 kB / 0.5608 GB, free: 0.793 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003524/0.4912, allocations: 2.208 MB / 0.563 GB, free: 14.57 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006077/0.4972, allocations: 5.071 MB / 0.5679 GB, free: 8.098 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0107/0.5079, allocations: 7.969 MB / 0.5757 GB, free: 14.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.234e-05/0.508, allocations: 32 kB / 0.5758 GB, free: 14.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01487/0.5229, allocations: 7.877 MB / 0.5834 GB, free: 6.805 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.955e-05/0.523, allocations: 49 kB / 0.5835 GB, free: 6.758 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001418/0.5231, allocations: 103.9 kB / 0.5836 GB, free: 6.656 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002405/0.5255, allocations: 0.7884 MB / 0.5844 GB, free: 5.867 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004099/0.5296, allocations: 1.189 MB / 0.5855 GB, free: 4.676 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006647/0.5363, allocations: 4.368 MB / 0.5898 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003764/0.54, allocations: 327.8 kB / 0.5901 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005912/0.5406, allocations: 304 kB / 0.5904 GB, free: 15.59 MB / 0.4981 GB 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.003856/0.5445, allocations: 2.016 MB / 0.5924 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005518/0.545, allocations: 258.2 kB / 0.5926 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008608/0.5536, allocations: 4.715 MB / 0.5972 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.46e-05/0.5537, allocations: 47.98 kB / 0.5973 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.5537, allocations: 0 / 0.5973 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.969e-05/0.5537, allocations: 7.969 kB / 0.5973 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01779/0.5715, allocations: 9.263 MB / 0.6063 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.726e-05/0.5715, allocations: 8 kB / 0.6063 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001624/0.5732, allocations: 367.4 kB / 0.6067 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002176/0.5753, allocations: 0.6526 MB / 0.6073 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000163/0.5755, allocations: 51.84 kB / 0.6074 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005477/0.581, allocations: 3.762 MB / 0.611 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.879e-06/0.581, allocations: 15.88 kB / 0.611 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01137/0.5924, allocations: 7.111 MB / 0.618 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008031/0.5932, allocations: 246.3 kB / 0.6182 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003308/0.5935, allocations: 35.98 kB / 0.6183 GB, free: 2.648 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/0.5949, allocations: 175.7 kB / 0.6184 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003761/0.5953, allocations: 140.9 kB / 0.6186 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001653/0.5954, allocations: 60 kB / 0.6186 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002319/0.5977, allocations: 1.54 MB / 0.6201 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.5977, allocations: 0 / 0.6201 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00408/0.6018, allocations: 0.9882 MB / 0.6211 GB, free: 15.73 MB / 0.5294 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.0005192/0.6023, allocations: 198.7 kB / 0.6213 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008198/0.6105, allocations: 5.15 MB / 0.6263 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.788e-06/0.6105, allocations: 4 kB / 0.6263 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002775/0.6133, allocations: 1.874 MB / 0.6281 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001825/0.6151, allocations: 279.4 kB / 0.6284 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2562/0.8713, allocations: 9.465 MB / 0.6376 GB, free: 162.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005691/0.877, allocations: 2.623 MB / 0.6402 GB, free: 162.2 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005608/0.8826, allocations: 1.938 MB / 0.6421 GB, free: 162.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009731/0.8836, allocations: 195.5 kB / 0.6423 GB, free: 162.2 MB / 0.5294 GB Notification: Performance of SimCode: time 1.904e-06/0.8836, allocations: 1.219 kB / 0.6423 GB, free: 162.2 MB / 0.5294 GB Notification: Performance of Templates: time 0.05572/0.9393, allocations: 25.13 MB / 0.6668 GB, free: 153.4 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.821597419679165]