Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001317/0.001317, allocations: 109.1 kB / 21.84 MB, free: 88 kB / 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.001401/0.001401, allocations: 221.1 kB / 25.13 MB, free: 3.609 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.435/1.435, allocations: 230.4 MB / 258.7 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2259/0.2259, allocations: 46.94 MB / 362.1 MB, free: 4.215 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002425/0.002425, allocations: 79.86 kB / 0.4978 GB, free: 7.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3492, allocations: 66.06 MB / 0.5623 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01496/0.3641, allocations: 12.24 MB / 0.5743 GB, free: 7.961 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009373/0.3735, allocations: 3.956 MB / 0.5781 GB, free: 3.992 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00204/0.3755, allocations: 71.75 kB / 0.5782 GB, free: 3.922 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003113/0.3786, allocations: 1.343 MB / 0.5795 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004886/0.3835, allocations: 1.778 MB / 0.5813 GB, free: 0.793 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001551/0.3851, allocations: 495 kB / 0.5817 GB, free: 316 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005975/0.3911, allocations: 3.61 MB / 0.5852 GB, free: 12.69 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002964/0.394, allocations: 1.835 MB / 0.587 GB, free: 10.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002254/0.3963, allocations: 1.211 MB / 0.5882 GB, free: 9.605 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002984/0.3993, allocations: 1.888 MB / 0.5901 GB, free: 7.711 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007511/0.4, allocations: 236 kB / 0.5903 GB, free: 7.48 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002338/0.4024, allocations: 0.8541 MB / 0.5911 GB, free: 6.625 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001901/0.4043, allocations: 1.616 MB / 0.5927 GB, free: 5.004 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002313/0.4066, allocations: 1.867 MB / 0.5945 GB, free: 3.125 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009154/0.4157, allocations: 6.231 MB / 0.6006 GB, free: 12.87 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.236e-06/0.4157, allocations: 4 kB / 0.6006 GB, free: 12.87 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.826e-06/0.4157, allocations: 0 / 0.6006 GB, free: 12.87 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001973/0.4159, allocations: 0 / 0.6006 GB, free: 12.87 MB / 446.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.008839/0.4248, allocations: 4.162 MB / 0.6047 GB, free: 8.648 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.4248, allocations: 16.03 kB / 0.6047 GB, free: 8.633 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01052/0.4353, allocations: 3.098 MB / 0.6077 GB, free: 5.527 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004384/0.4397, allocations: 1.811 MB / 0.6095 GB, free: 3.684 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001764/0.4399, allocations: 185 kB / 0.6097 GB, free: 3.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001129/0.441, allocations: 252 kB / 0.6099 GB, free: 3.254 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0197/0.4607, allocations: 10.48 MB / 0.6201 GB, free: 8.332 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001004/0.4608, allocations: 31.77 kB / 0.6202 GB, free: 8.301 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004134/0.4612, allocations: 115.8 kB / 0.6203 GB, free: 8.188 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004546/0.4658, allocations: 2.553 MB / 0.6228 GB, free: 5.633 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0221/0.4879, allocations: 9.923 MB / 0.6325 GB, free: 11.7 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05972/0.5476, allocations: 34.07 MB / 0.6657 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009286/0.5569, allocations: 4.048 MB / 0.6697 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003302/0.5602, allocations: 2.115 MB / 0.6718 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001179/0.5614, allocations: 0.5595 MB / 0.6723 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.541e-05/0.5614, allocations: 56.5 kB / 0.6724 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=229): time 4.819e-06/0.5614, allocations: 0 / 0.6724 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of matching and sorting (n=235): time 0.03138/0.5928, allocations: 13.94 MB / 0.686 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.249e-05/0.5929, allocations: 77.34 kB / 0.6861 GB, free: 3.941 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003744/0.5966, allocations: 2.632 MB / 0.6886 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003696/0.597, allocations: 61.69 kB / 0.6887 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002195/0.5992, allocations: 2.738 MB / 0.6914 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001154/0.6004, allocations: 0.899 MB / 0.6922 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001417/0.6018, allocations: 1.049 MB / 0.6933 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.6019, allocations: 301.1 kB / 0.6935 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003468/0.6054, allocations: 2.204 MB / 0.6957 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005883/0.6112, allocations: 5.071 MB / 0.7006 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01039/0.6216, allocations: 7.969 MB / 0.7084 GB, free: 10.13 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.395e-05/0.6217, allocations: 28 kB / 0.7085 GB, free: 10.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01532/0.637, allocations: 7.888 MB / 0.7162 GB, free: 2.211 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.494e-05/0.6371, allocations: 51.16 kB / 0.7162 GB, free: 2.164 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001519/0.6373, allocations: 100 kB / 0.7163 GB, free: 2.066 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002358/0.6396, allocations: 0.7927 MB / 0.7171 GB, free: 1.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004512/0.6441, allocations: 1.189 MB / 0.7182 GB, free: 80 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006835/0.651, allocations: 4.415 MB / 0.7225 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003661/0.6546, allocations: 295.9 kB / 0.7228 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008215/0.6555, allocations: 304 kB / 0.7231 GB, free: 10.96 MB / 0.5606 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.004057/0.6595, allocations: 2.02 MB / 0.7251 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005852/0.6601, allocations: 274.2 kB / 0.7254 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009023/0.6691, allocations: 4.714 MB / 0.73 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.747e-05/0.6692, allocations: 47.98 kB / 0.73 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.6692, allocations: 3.938 kB / 0.73 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.666e-05/0.6692, allocations: 11.91 kB / 0.73 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3069/0.9762, allocations: 10.46 MB / 0.7402 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-05/0.9762, allocations: 9.828 kB / 0.7402 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00149/0.9777, allocations: 365.6 kB / 0.7406 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001841/0.9795, allocations: 0.6572 MB / 0.7412 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001761/0.9797, allocations: 44.7 kB / 0.7413 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004082/0.9838, allocations: 3.801 MB / 0.745 GB, free: 151 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.9838, allocations: 11.25 kB / 0.745 GB, free: 151 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008785/0.9926, allocations: 7.134 MB / 0.752 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007633/0.9933, allocations: 251.3 kB / 0.7522 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003411/0.9937, allocations: 36.59 kB / 0.7522 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/0.9947, allocations: 153.2 kB / 0.7524 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003176/0.9951, allocations: 137.6 kB / 0.7525 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000141/0.9952, allocations: 67.84 kB / 0.7526 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002063/0.9973, allocations: 1.613 MB / 0.7542 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.9973, allocations: 288 / 0.7542 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003545/1.001, allocations: 0.9119 MB / 0.755 GB, free: 144.8 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.0003915/1.001, allocations: 180 kB / 0.7552 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006354/1.008, allocations: 5.155 MB / 0.7603 GB, free: 140.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/1.008, allocations: 0 / 0.7603 GB, free: 140.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002152/1.01, allocations: 1.882 MB / 0.7621 GB, free: 138.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001981/1.012, allocations: 366 kB / 0.7624 GB, free: 138.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01321/1.025, allocations: 9.554 MB / 0.7718 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00276/1.028, allocations: 3.165 MB / 0.7749 GB, free: 125.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003425/1.031, allocations: 1.961 MB / 0.7768 GB, free: 123.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005966/1.032, allocations: 203.4 kB / 0.777 GB, free: 123.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.572e-06/1.032, allocations: 0 / 0.777 GB, free: 123.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.05212/1.084, allocations: 32.58 MB / 0.8088 GB, free: 90.78 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.908064940012991]