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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 106.2 kB / 19.81 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 196 kB / 22.98 MB, free: 5.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 225.6 MB / 251.6 MB, free: 13.33 MB / 206.1 MB " [Timeout remaining time 178] 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.2411/0.2411, allocations: 44.9 MB / 351.6 MB, free: 12.23 MB / 286.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002034/0.002034, allocations: 67.89 kB / 495.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3631, allocations: 64.26 MB / 0.5464 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01587/0.379, allocations: 12.4 MB / 0.5585 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01056/0.3896, allocations: 3.968 MB / 0.5624 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002901/0.3925, allocations: 63.88 kB / 0.5624 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003368/0.3958, allocations: 1.335 MB / 0.5637 GB, free: 14.03 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005735/0.4016, allocations: 1.802 MB / 0.5655 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001616/0.4032, allocations: 491 kB / 0.566 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005939/0.4091, allocations: 3.59 MB / 0.5695 GB, free: 8.152 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003183/0.4123, allocations: 1.625 MB / 0.5711 GB, free: 6.488 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003688/0.416, allocations: 1.203 MB / 0.5722 GB, free: 5.281 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004031/0.42, allocations: 1.892 MB / 0.5741 GB, free: 3.383 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008118/0.4208, allocations: 236 kB / 0.5743 GB, free: 3.152 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00225/0.4231, allocations: 0.9945 MB / 0.5753 GB, free: 2.156 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001711/0.4248, allocations: 1.632 MB / 0.5769 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002362/0.4272, allocations: 1.898 MB / 0.5787 GB, free: 14.61 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008584/0.4357, allocations: 6.274 MB / 0.5848 GB, free: 8.312 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4357, allocations: 0 / 0.5848 GB, free: 8.312 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.4357, allocations: 0 / 0.5848 GB, free: 8.312 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002012/0.4359, allocations: 0 / 0.5848 GB, free: 8.312 MB / 430.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.009823/0.4458, allocations: 4.265 MB / 0.589 GB, free: 3.973 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.4458, allocations: 8.031 kB / 0.589 GB, free: 3.965 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0107/0.4565, allocations: 3.094 MB / 0.592 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004679/0.4612, allocations: 1.921 MB / 0.5939 GB, free: 14.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002312/0.4614, allocations: 193 kB / 0.5941 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001184/0.4626, allocations: 247.9 kB / 0.5943 GB, free: 14.46 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01921/0.4818, allocations: 10.49 MB / 0.6046 GB, free: 3.539 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.929e-05/0.4819, allocations: 23.81 kB / 0.6046 GB, free: 3.516 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004227/0.4823, allocations: 115.8 kB / 0.6047 GB, free: 3.402 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004671/0.487, allocations: 2.553 MB / 0.6072 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02253/0.5096, allocations: 9.927 MB / 0.6169 GB, free: 6.906 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05754/0.5671, allocations: 34.34 MB / 0.6504 GB, free: 3.746 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01055/0.5776, allocations: 4.967 MB / 0.6553 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00338/0.581, allocations: 2.115 MB / 0.6573 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00251/0.5835, allocations: 1.88 MB / 0.6592 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.055e-05/0.5836, allocations: 52.5 kB / 0.6592 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=229): time 6.592e-06/0.5836, allocations: 1.641 kB / 0.6592 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=235): time 0.03549/0.6191, allocations: 14.05 MB / 0.673 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.476e-05/0.6192, allocations: 77.34 kB / 0.673 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003941/0.6231, allocations: 2.644 MB / 0.6756 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004245/0.6235, allocations: 57.69 kB / 0.6757 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002218/0.6257, allocations: 2.745 MB / 0.6783 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001309/0.627, allocations: 0.8874 MB / 0.6792 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001696/0.6287, allocations: 1.049 MB / 0.6802 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.6289, allocations: 301.1 kB / 0.6805 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003561/0.6324, allocations: 2.208 MB / 0.6827 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00638/0.6388, allocations: 5.075 MB / 0.6876 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01144/0.6503, allocations: 7.973 MB / 0.6954 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.566e-05/0.6504, allocations: 28 kB / 0.6954 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01622/0.6666, allocations: 7.893 MB / 0.7032 GB, free: 10.23 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.6667, allocations: 48 kB / 0.7032 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001814/0.6669, allocations: 96 kB / 0.7033 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002432/0.6693, allocations: 0.7891 MB / 0.7041 GB, free: 9.293 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004511/0.6738, allocations: 1.193 MB / 0.7052 GB, free: 8.098 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006353/0.6802, allocations: 4.516 MB / 0.7096 GB, free: 3.441 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003329/0.6835, allocations: 299.8 kB / 0.7099 GB, free: 3.148 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006829/0.6842, allocations: 300 kB / 0.7102 GB, free: 2.855 MB / 0.545 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.003402/0.6876, allocations: 2.012 MB / 0.7122 GB, free: 0.832 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004837/0.6881, allocations: 274.2 kB / 0.7124 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008402/0.6965, allocations: 4.717 MB / 0.717 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.601e-05/0.6965, allocations: 47.98 kB / 0.7171 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.6965, allocations: 7.938 kB / 0.7171 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.981e-05/0.6966, allocations: 15.84 kB / 0.7171 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01851/0.7151, allocations: 10.49 MB / 0.7274 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.602e-05/0.7151, allocations: 8 kB / 0.7274 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001566/0.7167, allocations: 363.4 kB / 0.7277 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002118/0.7188, allocations: 0.6602 MB / 0.7284 GB, free: 64 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002356/0.719, allocations: 47.97 kB / 0.7284 GB, free: 16 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2766/0.9956, allocations: 3.897 MB / 0.7322 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.25e-05/0.9957, allocations: 14.81 kB / 0.7322 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01018/1.006, allocations: 7.135 MB / 0.7392 GB, free: 158.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007271/1.007, allocations: 326.7 kB / 0.7395 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003457/1.007, allocations: 43.97 kB / 0.7395 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/1.008, allocations: 140.3 kB / 0.7397 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003826/1.008, allocations: 137.9 kB / 0.7398 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001471/1.009, allocations: 67.41 kB / 0.7399 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001914/1.01, allocations: 1.625 MB / 0.7415 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.01, allocations: 0 / 0.7415 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003358/1.014, allocations: 0.9249 MB / 0.7424 GB, free: 158.1 MB / 0.5606 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.00047/1.014, allocations: 186.3 kB / 0.7425 GB, free: 157.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006842/1.021, allocations: 5.154 MB / 0.7476 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.185e-05/1.021, allocations: 6.562 kB / 0.7476 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00219/1.023, allocations: 1.875 MB / 0.7494 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001901/1.025, allocations: 365 kB / 0.7498 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/1.037, allocations: 9.566 MB / 0.7591 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00242/1.04, allocations: 3.164 MB / 0.7622 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003262/1.043, allocations: 1.961 MB / 0.7641 GB, free: 141.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005561/1.043, allocations: 207.4 kB / 0.7643 GB, free: 141.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.323e-06/1.043, allocations: 0 / 0.7643 GB, free: 141.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.04657/1.09, allocations: 30.45 MB / 0.794 GB, free: 111.2 MB / 0.5606 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.995248069986701]