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.001885/0.001885, allocations: 110.4 kB / 21.17 MB, free: 0.7852 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.00243/0.00243, allocations: 217.4 kB / 24.47 MB, free: 4.359 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.443/1.443, allocations: 230.2 MB / 257.8 MB, free: 8.504 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.226/0.226, allocations: 46.89 MB / 361.1 MB, free: 4.641 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.002355/0.002355, allocations: 75.88 kB / 0.4968 GB, free: 8.375 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3016, allocations: 65.96 MB / 0.5612 GB, free: 34.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.00936/0.3109, allocations: 12.37 MB / 0.5733 GB, free: 25.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006773/0.3177, allocations: 3.97 MB / 0.5771 GB, free: 23.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001557/0.3192, allocations: 62.25 kB / 0.5772 GB, free: 23.19 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002379/0.3216, allocations: 1.348 MB / 0.5785 GB, free: 22.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004071/0.3257, allocations: 1.756 MB / 0.5802 GB, free: 21.88 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.3269, allocations: 0.4923 MB / 0.5807 GB, free: 21.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004747/0.3317, allocations: 3.6 MB / 0.5842 GB, free: 20.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002385/0.3341, allocations: 1.617 MB / 0.5858 GB, free: 19.62 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002153/0.3362, allocations: 1.192 MB / 0.587 GB, free: 19.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003112/0.3393, allocations: 1.888 MB / 0.5888 GB, free: 18.49 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009025/0.3402, allocations: 236 kB / 0.589 GB, free: 18.49 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002198/0.3424, allocations: 0.9778 MB / 0.59 GB, free: 18.26 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001767/0.3442, allocations: 1.607 MB / 0.5916 GB, free: 17.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002313/0.3465, allocations: 1.874 MB / 0.5934 GB, free: 16.28 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00734/0.3538, allocations: 6.206 MB / 0.5995 GB, free: 12.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3538, allocations: 3.984 kB / 0.5995 GB, free: 12.6 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3538, allocations: 0 / 0.5995 GB, free: 12.6 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001878/0.354, allocations: 1.25 kB / 0.5995 GB, free: 12.6 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.009079/0.3631, allocations: 4.244 MB / 0.6036 GB, free: 9.543 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.3631, allocations: 9.156 kB / 0.6036 GB, free: 9.543 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01029/0.3734, allocations: 3.095 MB / 0.6066 GB, free: 7.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004826/0.3783, allocations: 1.875 MB / 0.6085 GB, free: 6.719 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/0.3784, allocations: 194 kB / 0.6086 GB, free: 6.559 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006593/0.379, allocations: 255.9 kB / 0.6089 GB, free: 6.309 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01439/0.3934, allocations: 10.48 MB / 0.6191 GB, free: 11.39 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.529e-05/0.3935, allocations: 31.75 kB / 0.6192 GB, free: 11.36 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003933/0.3939, allocations: 115.8 kB / 0.6193 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004809/0.3987, allocations: 2.549 MB / 0.6218 GB, free: 8.695 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02119/0.4199, allocations: 9.922 MB / 0.6314 GB, free: 14.76 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0537/0.4736, allocations: 34.34 MB / 0.665 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009936/0.4835, allocations: 4.973 MB / 0.6698 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003123/0.4867, allocations: 2.11 MB / 0.6719 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00197/0.4886, allocations: 1.884 MB / 0.6737 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.297e-05/0.4887, allocations: 48.56 kB / 0.6738 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=229): time 4.018e-06/0.4887, allocations: 0 / 0.6738 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=235): time 0.03397/0.5227, allocations: 14.05 MB / 0.6875 GB, free: 3.918 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.79e-05/0.5227, allocations: 81.33 kB / 0.6876 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003848/0.5266, allocations: 2.632 MB / 0.6901 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003549/0.5269, allocations: 57.7 kB / 0.6902 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002018/0.5289, allocations: 2.741 MB / 0.6929 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001231/0.5302, allocations: 0.8913 MB / 0.6937 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001708/0.5319, allocations: 1.052 MB / 0.6948 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.532, allocations: 301.1 kB / 0.6951 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003554/0.5356, allocations: 2.204 MB / 0.6972 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006038/0.5416, allocations: 5.071 MB / 0.7022 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01022/0.5518, allocations: 7.969 MB / 0.7099 GB, free: 10.02 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.915e-05/0.5519, allocations: 32 kB / 0.71 GB, free: 9.984 MB / 0.545 GB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01378/0.5657, allocations: 7.889 MB / 0.7177 GB, free: 2.09 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.71e-05/0.5658, allocations: 48 kB / 0.7177 GB, free: 2.043 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000105/0.5659, allocations: 100 kB / 0.7178 GB, free: 1.945 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002388/0.5683, allocations: 0.7928 MB / 0.7186 GB, free: 1.148 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0041/0.5724, allocations: 1.185 MB / 0.7198 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006229/0.5786, allocations: 4.527 MB / 0.7242 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003089/0.5817, allocations: 291.8 kB / 0.7245 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004576/0.5821, allocations: 300 kB / 0.7247 GB, free: 10.72 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.00324/0.5854, allocations: 2.012 MB / 0.7267 GB, free: 8.695 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004185/0.5858, allocations: 278.2 kB / 0.727 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008198/0.594, allocations: 4.706 MB / 0.7316 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.677e-05/0.5941, allocations: 51.97 kB / 0.7316 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.5941, allocations: 3.938 kB / 0.7316 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.94e-05/0.5941, allocations: 7.969 kB / 0.7316 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02024/0.6143, allocations: 10.51 MB / 0.7419 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/0.6143, allocations: 4 kB / 0.7419 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001626/0.616, allocations: 363.4 kB / 0.7422 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002128/0.6181, allocations: 0.656 MB / 0.7429 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001792/0.6183, allocations: 48.11 kB / 0.7429 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005422/0.6237, allocations: 3.914 MB / 0.7468 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.488e-06/0.6237, allocations: 8 kB / 0.7468 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01132/0.635, allocations: 7.145 MB / 0.7537 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008087/0.6358, allocations: 315.3 kB / 0.754 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003975/0.6362, allocations: 48.05 kB / 0.7541 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/0.6374, allocations: 135.8 kB / 0.7542 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003292/0.6378, allocations: 136.9 kB / 0.7543 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001633/0.6379, allocations: 67.98 kB / 0.7544 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002551/0.6405, allocations: 1.619 MB / 0.756 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.6405, allocations: 0 / 0.756 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003705/0.6442, allocations: 0.9062 MB / 0.7569 GB, free: 9.324 MB / 0.5919 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.000454/0.6446, allocations: 189.8 kB / 0.7571 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.008261/0.6529, allocations: 5.154 MB / 0.7621 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.6529, allocations: 0 / 0.7621 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002907/0.6558, allocations: 1.874 MB / 0.7639 GB, free: 2.102 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002154/0.658, allocations: 369.1 kB / 0.7643 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2452/0.9032, allocations: 9.554 MB / 0.7736 GB, free: 172.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003094/0.9063, allocations: 3.164 MB / 0.7767 GB, free: 172 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004235/0.9106, allocations: 1.955 MB / 0.7786 GB, free: 171.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000763/0.9113, allocations: 206.6 kB / 0.7788 GB, free: 171.9 MB / 0.5919 GB Notification: Performance of SimCode: time 1.362e-06/0.9113, allocations: 0 / 0.7788 GB, free: 171.9 MB / 0.5919 GB Notification: Performance of Templates: time 0.05476/0.9661, allocations: 30.32 MB / 0.8084 GB, free: 161.1 MB / 0.5919 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 cvode -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.816061859019101]