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.001783/0.001783, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002306/0.002306, allocations: 207.8 kB / 23.73 MB, free: 4.391 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.588/1.588, allocations: 230.5 MB / 257.4 MB, free: 7.785 MB / 206.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.2495/0.2495, allocations: 46.94 MB / 360.8 MB, free: 3.902 MB / 286.1 MB " [Timeout remaining time 179] 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.002377/0.002377, allocations: 83.88 kB / 0.4967 GB, free: 7.012 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4074/0.4098, allocations: 66.09 MB / 0.5612 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.02017/0.4299, allocations: 15.7 MB / 0.5765 GB, free: 4.176 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01439/0.4443, allocations: 5.089 MB / 0.5815 GB, free: 15.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00399/0.4483, allocations: 131.4 kB / 0.5816 GB, free: 14.95 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007529/0.4558, allocations: 2.99 MB / 0.5845 GB, free: 11.95 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008301/0.4641, allocations: 2.634 MB / 0.5871 GB, free: 9.301 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002956/0.4671, allocations: 1.018 MB / 0.5881 GB, free: 8.281 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01324/0.4803, allocations: 7.678 MB / 0.5956 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00649/0.4868, allocations: 3.592 MB / 0.5991 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005328/0.4922, allocations: 2.293 MB / 0.6013 GB, free: 10.64 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006495/0.4987, allocations: 3.345 MB / 0.6046 GB, free: 7.289 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002077/0.5007, allocations: 452 kB / 0.605 GB, free: 6.848 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004143/0.5049, allocations: 1.198 MB / 0.6062 GB, free: 5.648 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004967/0.5098, allocations: 2.867 MB / 0.609 GB, free: 2.773 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006319/0.5162, allocations: 2.372 MB / 0.6113 GB, free: 396 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01668/0.5328, allocations: 10.04 MB / 0.6211 GB, free: 6.309 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.5328, allocations: 0 / 0.6211 GB, free: 6.309 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.5329, allocations: 4 kB / 0.6211 GB, free: 6.305 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004014/0.5333, allocations: 3.938 kB / 0.6211 GB, free: 6.301 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.02121/0.5545, allocations: 7.31 MB / 0.6283 GB, free: 14.92 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.5545, allocations: 8.031 kB / 0.6283 GB, free: 14.91 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01651/0.571, allocations: 3.877 MB / 0.6321 GB, free: 11.02 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0113/0.5823, allocations: 3.963 MB / 0.6359 GB, free: 7.008 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003842/0.5827, allocations: 316.4 kB / 0.6362 GB, free: 6.695 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002322/0.585, allocations: 439.8 kB / 0.6367 GB, free: 6.266 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03442/0.6194, allocations: 15.66 MB / 0.652 GB, free: 5.855 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003119/0.6198, allocations: 59.59 kB / 0.652 GB, free: 5.797 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001721/0.6215, allocations: 195.8 kB / 0.6522 GB, free: 5.605 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007057/0.6285, allocations: 3.384 MB / 0.6555 GB, free: 2.219 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03594/0.6645, allocations: 14.76 MB / 0.6699 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09409/0.7586, allocations: 51.23 MB / 0.72 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01909/0.7777, allocations: 6.94 MB / 0.7267 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007284/0.7849, allocations: 4.48 MB / 0.7311 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001946/0.7869, allocations: 0.6419 MB / 0.7317 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001184/0.787, allocations: 69.08 kB / 0.7318 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=367): time 1.209e-05/0.787, allocations: 0 / 0.7318 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of matching and sorting (n=419): time 0.4523/1.239, allocations: 40.04 MB / 0.7709 GB, free: 133.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/1.239, allocations: 120 kB / 0.771 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004556/1.244, allocations: 4.162 MB / 0.7751 GB, free: 129.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009421/1.245, allocations: 85.7 kB / 0.7752 GB, free: 129.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002278/1.247, allocations: 3.956 MB / 0.779 GB, free: 125.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002689/1.25, allocations: 1.562 MB / 0.7806 GB, free: 123.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002207/1.252, allocations: 1.58 MB / 0.7821 GB, free: 122.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.666e-05/1.252, allocations: 305.1 kB / 0.7824 GB, free: 121.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004712/1.257, allocations: 4.072 MB / 0.7864 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006185/1.263, allocations: 7.877 MB / 0.7941 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01172/1.275, allocations: 12.88 MB / 0.8066 GB, free: 93.43 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.74e-05/1.275, allocations: 36 kB / 0.8067 GB, free: 93.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1039) (initialization): time 0.02299/1.298, allocations: 14.69 MB / 0.821 GB, free: 78.66 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001224/1.298, allocations: 60 kB / 0.8211 GB, free: 78.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001869/1.298, allocations: 128 kB / 0.8212 GB, free: 78.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007395/1.306, allocations: 2.926 MB / 0.8241 GB, free: 75.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006209/1.312, allocations: 1.809 MB / 0.8258 GB, free: 73.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01824/1.33, allocations: 15.54 MB / 0.841 GB, free: 57.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007525/1.338, allocations: 0.4995 MB / 0.8415 GB, free: 57.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001764/1.339, allocations: 435.9 kB / 0.8419 GB, free: 57.06 MB / 0.5606 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.006659/1.346, allocations: 2.871 MB / 0.8447 GB, free: 54.18 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001652/1.348, allocations: 453 kB / 0.8451 GB, free: 53.73 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01843/1.366, allocations: 10.88 MB / 0.8558 GB, free: 42.79 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.476e-05/1.366, allocations: 63.98 kB / 0.8558 GB, free: 42.73 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.175e-05/1.366, allocations: 15.94 kB / 0.8558 GB, free: 42.71 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.162e-05/1.366, allocations: 23.77 kB / 0.8559 GB, free: 42.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03276/1.399, allocations: 19.46 MB / 0.8749 GB, free: 23.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-05/1.399, allocations: 12 kB / 0.8749 GB, free: 23.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003029/1.402, allocations: 0.6795 MB / 0.8755 GB, free: 22.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007168/1.409, allocations: 2.728 MB / 0.8782 GB, free: 19.67 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008284/1.41, allocations: 80 kB / 0.8783 GB, free: 19.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01636/1.426, allocations: 14.16 MB / 0.8921 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.007e-05/1.426, allocations: 15.94 kB / 0.8921 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02892/1.455, allocations: 15.51 MB / 0.9073 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001553/1.457, allocations: 412.9 kB / 0.9077 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001624/1.458, allocations: 80.11 kB / 0.9077 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004372/1.463, allocations: 315.5 kB / 0.908 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00147/1.464, allocations: 273.8 kB / 0.9083 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000846/1.465, allocations: 119.9 kB / 0.9084 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.006014/1.471, allocations: 2.425 MB / 0.9108 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/1.471, allocations: 0 / 0.9108 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01011/1.481, allocations: 1.652 MB / 0.9124 GB, free: 164 kB / 0.5762 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.001177/1.482, allocations: 237.9 kB / 0.9126 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01809/1.501, allocations: 9.659 MB / 0.9221 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.231e-05/1.501, allocations: 4 kB / 0.9221 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007857/1.508, allocations: 4.073 MB / 0.926 GB, free: 2.145 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005361/1.514, allocations: 0.5946 MB / 0.9266 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03555/1.549, allocations: 16.01 MB / 0.9423 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009721/1.559, allocations: 4.036 MB / 0.9462 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.008311/1.567, allocations: 2.686 MB / 0.9488 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002422/1.57, allocations: 339.3 kB / 0.9491 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of SimCode: time 1.743e-06/1.57, allocations: 0 / 0.9491 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of Templates: time 0.4031/1.973, allocations: 70.31 MB / 1.018 GB, free: 189.5 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/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_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: 9.149564223363996]