Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 210.9 kB / 24.48 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.415/1.415, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2495/0.2495, allocations: 46.97 MB / 361.6 MB, free: 4.043 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Joints.Revolute") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 60.09 kB / 0.4973 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3807/0.3827, allocations: 66.04 MB / 0.5618 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01394/0.3966, allocations: 10.72 MB / 0.5723 GB, free: 9.395 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008969/0.4056, allocations: 3.754 MB / 0.576 GB, free: 5.629 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001919/0.4075, allocations: 67.75 kB / 0.576 GB, free: 5.562 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002907/0.4104, allocations: 1.304 MB / 0.5773 GB, free: 4.254 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00439/0.4148, allocations: 1.779 MB / 0.579 GB, free: 2.469 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.4161, allocations: 495 kB / 0.5795 GB, free: 1.984 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006203/0.4223, allocations: 3.609 MB / 0.583 GB, free: 14.37 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002694/0.425, allocations: 1.831 MB / 0.5848 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001895/0.4269, allocations: 1.214 MB / 0.586 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00291/0.4298, allocations: 1.892 MB / 0.5878 GB, free: 9.387 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005821/0.4304, allocations: 236 kB / 0.5881 GB, free: 9.156 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001936/0.4323, allocations: 0.8463 MB / 0.5889 GB, free: 8.309 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001653/0.4339, allocations: 1.612 MB / 0.5905 GB, free: 6.691 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001661/0.4356, allocations: 1.346 MB / 0.5918 GB, free: 5.336 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007859/0.4435, allocations: 6.223 MB / 0.5979 GB, free: 15.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.826e-06/0.4435, allocations: 0 / 0.5979 GB, free: 15.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.4435, allocations: 0 / 0.5979 GB, free: 15.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002358/0.4437, allocations: 3.938 kB / 0.5979 GB, free: 15.09 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.01081/0.4545, allocations: 4.17 MB / 0.6019 GB, free: 10.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.4546, allocations: 8.031 kB / 0.602 GB, free: 10.85 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01072/0.4653, allocations: 3.094 MB / 0.605 GB, free: 7.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005224/0.4705, allocations: 1.831 MB / 0.6068 GB, free: 5.891 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001965/0.4707, allocations: 193 kB / 0.6069 GB, free: 5.699 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008034/0.4715, allocations: 244 kB / 0.6072 GB, free: 5.461 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01745/0.489, allocations: 10.48 MB / 0.6174 GB, free: 10.54 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.245e-05/0.4891, allocations: 27.77 kB / 0.6174 GB, free: 10.51 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003826/0.4894, allocations: 115.8 kB / 0.6176 GB, free: 10.39 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00436/0.4938, allocations: 2.553 MB / 0.62 GB, free: 7.84 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01946/0.5133, allocations: 9.899 MB / 0.6297 GB, free: 13.93 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05293/0.5662, allocations: 31.66 MB / 0.6606 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009414/0.5756, allocations: 4.034 MB / 0.6646 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003228/0.5788, allocations: 2.12 MB / 0.6666 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00121/0.58, allocations: 0.5517 MB / 0.6672 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.492e-05/0.5801, allocations: 56.77 kB / 0.6672 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=229): time 6.503e-06/0.5801, allocations: 0 / 0.6672 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of matching and sorting (n=235): time 0.03251/0.6126, allocations: 13.92 MB / 0.6808 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.639e-05/0.6127, allocations: 73.41 kB / 0.6809 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003702/0.6164, allocations: 2.62 MB / 0.6835 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000328/0.6167, allocations: 57.7 kB / 0.6835 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002125/0.6188, allocations: 2.757 MB / 0.6862 GB, free: 3.148 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001028/0.6199, allocations: 0.8913 MB / 0.6871 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001542/0.6214, allocations: 1.049 MB / 0.6881 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002049/0.6216, allocations: 361.9 kB / 0.6884 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003245/0.6248, allocations: 2.2 MB / 0.6906 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005695/0.6305, allocations: 5.071 MB / 0.6955 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01047/0.641, allocations: 7.969 MB / 0.7033 GB, free: 14.77 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.046e-05/0.6411, allocations: 28 kB / 0.7034 GB, free: 14.74 MB / 0.545 GB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01406/0.6552, allocations: 7.877 MB / 0.711 GB, free: 6.855 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.996e-05/0.6552, allocations: 48 kB / 0.7111 GB, free: 6.809 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000123/0.6554, allocations: 104.1 kB / 0.7112 GB, free: 6.707 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00226/0.6576, allocations: 0.7884 MB / 0.712 GB, free: 5.918 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003887/0.6615, allocations: 1.189 MB / 0.7131 GB, free: 4.727 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005905/0.6674, allocations: 4.354 MB / 0.7174 GB, free: 280 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00313/0.6705, allocations: 295.8 kB / 0.7177 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005031/0.6711, allocations: 299.9 kB / 0.7179 GB, free: 15.69 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.003106/0.6742, allocations: 2.016 MB / 0.7199 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004165/0.6746, allocations: 262.2 kB / 0.7202 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007794/0.6824, allocations: 4.707 MB / 0.7248 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.942e-05/0.6824, allocations: 43.98 kB / 0.7248 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.6824, allocations: 4 kB / 0.7248 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.668e-05/0.6825, allocations: 7.969 kB / 0.7248 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2895/0.9719, allocations: 9.192 MB / 0.7338 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.37e-05/0.972, allocations: 6.969 kB / 0.7338 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001919/0.9739, allocations: 359.9 kB / 0.7341 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002266/0.9762, allocations: 0.6593 MB / 0.7348 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003336/0.9765, allocations: 42.56 kB / 0.7348 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003994/0.9805, allocations: 3.752 MB / 0.7385 GB, free: 151 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.9805, allocations: 7.875 kB / 0.7385 GB, free: 151 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008062/0.9885, allocations: 7.127 MB / 0.7455 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006563/0.9892, allocations: 223.5 kB / 0.7457 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003013/0.9895, allocations: 44.78 kB / 0.7457 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/0.9906, allocations: 145.2 kB / 0.7458 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002943/0.9909, allocations: 143.7 kB / 0.746 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001522/0.991, allocations: 61.94 kB / 0.746 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00166/0.9927, allocations: 1.471 MB / 0.7475 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.9927, allocations: 3.344 kB / 0.7475 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00332/0.996, allocations: 0.9089 MB / 0.7484 GB, free: 147.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.0004029/0.9964, allocations: 184.5 kB / 0.7485 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006095/1.002, allocations: 5.159 MB / 0.7536 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.806e-06/1.003, allocations: 0 / 0.7536 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002009/1.005, allocations: 1.873 MB / 0.7554 GB, free: 143.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00183/1.006, allocations: 277.2 kB / 0.7557 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01578/1.022, allocations: 9.546 MB / 0.765 GB, free: 134.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002454/1.025, allocations: 2.617 MB / 0.7676 GB, free: 131.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003346/1.028, allocations: 1.936 MB / 0.7694 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005421/1.028, allocations: 191.4 kB / 0.7696 GB, free: 129.5 MB / 0.5606 GB Notification: Performance of SimCode: time 8.22e-07/1.028, allocations: 0 / 0.7696 GB, free: 129.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.04802/1.076, allocations: 30.1 MB / 0.799 GB, free: 99.79 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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.668763651003246]