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.001614/0.001614, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001948/0.001948, allocations: 215.4 kB / 24.48 MB, free: 3.941 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.448/1.448, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.2317/0.2317, allocations: 46.97 MB / 361.6 MB, free: 4.105 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.002952/0.002952, allocations: 75.88 kB / 0.4973 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.3012, allocations: 66.03 MB / 0.5618 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01418/0.3153, allocations: 10.72 MB / 0.5723 GB, free: 9.375 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008531/0.3239, allocations: 3.75 MB / 0.576 GB, free: 5.613 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001549/0.3254, allocations: 71.75 kB / 0.576 GB, free: 5.543 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002865/0.3283, allocations: 1.304 MB / 0.5773 GB, free: 4.234 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004199/0.3325, allocations: 1.779 MB / 0.579 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001214/0.3337, allocations: 499 kB / 0.5795 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004811/0.3385, allocations: 3.609 MB / 0.583 GB, free: 14.35 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002452/0.341, allocations: 1.831 MB / 0.5848 GB, free: 12.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001853/0.3428, allocations: 1.218 MB / 0.586 GB, free: 11.26 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002635/0.3454, allocations: 1.884 MB / 0.5879 GB, free: 9.367 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005556/0.346, allocations: 236 kB / 0.5881 GB, free: 9.137 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001767/0.3478, allocations: 0.8502 MB / 0.5889 GB, free: 8.285 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001635/0.3494, allocations: 1.616 MB / 0.5905 GB, free: 6.664 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001655/0.3511, allocations: 1.335 MB / 0.5918 GB, free: 5.32 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007574/0.3586, allocations: 6.231 MB / 0.5979 GB, free: 15.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.3586, allocations: 4 kB / 0.5979 GB, free: 15.06 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3586, allocations: 0 / 0.5979 GB, free: 15.06 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001853/0.3588, allocations: 0 / 0.5979 GB, free: 15.06 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.008196/0.367, allocations: 4.162 MB / 0.6019 GB, free: 10.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.3671, allocations: 8.031 kB / 0.6019 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01125/0.3783, allocations: 3.098 MB / 0.605 GB, free: 7.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006025/0.3844, allocations: 1.827 MB / 0.6068 GB, free: 5.875 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000198/0.3846, allocations: 189 kB / 0.6069 GB, free: 5.688 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008927/0.3854, allocations: 251.9 kB / 0.6072 GB, free: 5.441 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01833/0.4038, allocations: 10.48 MB / 0.6174 GB, free: 10.52 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.989e-05/0.4039, allocations: 39.7 kB / 0.6174 GB, free: 10.48 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003907/0.4043, allocations: 123.8 kB / 0.6176 GB, free: 10.36 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004659/0.4089, allocations: 2.549 MB / 0.6201 GB, free: 7.812 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01978/0.4287, allocations: 9.891 MB / 0.6297 GB, free: 13.91 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05142/0.4801, allocations: 31.64 MB / 0.6606 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009232/0.4893, allocations: 4.038 MB / 0.6646 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003058/0.4924, allocations: 2.119 MB / 0.6666 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001203/0.4936, allocations: 0.5517 MB / 0.6672 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.454e-05/0.4937, allocations: 56.5 kB / 0.6672 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=229): time 5.069e-06/0.4937, allocations: 0 / 0.6672 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=235): time 0.03377/0.5274, allocations: 13.92 MB / 0.6808 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.845e-05/0.5275, allocations: 69.41 kB / 0.6809 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003542/0.531, allocations: 2.628 MB / 0.6835 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002192/0.5313, allocations: 53.7 kB / 0.6835 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001988/0.5332, allocations: 2.757 MB / 0.6862 GB, free: 3.137 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009317/0.5342, allocations: 0.8913 MB / 0.6871 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001613/0.5358, allocations: 1.045 MB / 0.6881 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.536, allocations: 357.9 kB / 0.6884 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004644/0.5406, allocations: 2.204 MB / 0.6906 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006011/0.5466, allocations: 5.071 MB / 0.6955 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01039/0.557, allocations: 7.973 MB / 0.7033 GB, free: 14.76 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.371e-05/0.5571, allocations: 31.94 kB / 0.7034 GB, free: 14.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01427/0.5714, allocations: 7.881 MB / 0.711 GB, free: 6.836 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.155e-05/0.5714, allocations: 48 kB / 0.7111 GB, free: 6.789 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001099/0.5715, allocations: 96 kB / 0.7112 GB, free: 6.695 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002435/0.574, allocations: 0.7887 MB / 0.712 GB, free: 5.906 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00401/0.578, allocations: 1.193 MB / 0.7131 GB, free: 4.711 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006388/0.5844, allocations: 4.358 MB / 0.7174 GB, free: 260 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003497/0.5879, allocations: 287.8 kB / 0.7176 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006978/0.5886, allocations: 299.9 kB / 0.7179 GB, free: 15.68 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.003315/0.5919, allocations: 2.024 MB / 0.7199 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005165/0.5924, allocations: 258.3 kB / 0.7202 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008285/0.6007, allocations: 4.707 MB / 0.7248 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.263e-05/0.6007, allocations: 51.97 kB / 0.7248 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.6008, allocations: 4 kB / 0.7248 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.63e-05/0.6008, allocations: 7.969 kB / 0.7248 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2484/0.8492, allocations: 9.185 MB / 0.7338 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-05/0.8492, allocations: 7.469 kB / 0.7338 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001928/0.8512, allocations: 362.7 kB / 0.7341 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002248/0.8534, allocations: 0.656 MB / 0.7348 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002468/0.8537, allocations: 44.42 kB / 0.7348 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003933/0.8576, allocations: 3.752 MB / 0.7385 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.8576, allocations: 11.84 kB / 0.7385 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007995/0.8656, allocations: 7.128 MB / 0.7455 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004735/0.8661, allocations: 221 kB / 0.7457 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003189/0.8664, allocations: 39.56 kB / 0.7457 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/0.8674, allocations: 147.3 kB / 0.7458 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002979/0.8677, allocations: 137.8 kB / 0.746 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001499/0.8679, allocations: 71.06 kB / 0.746 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001618/0.8695, allocations: 1.47 MB / 0.7475 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.8695, allocations: 0 / 0.7475 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003174/0.8727, allocations: 0.9024 MB / 0.7484 GB, free: 147.7 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.0003508/0.873, allocations: 182.1 kB / 0.7485 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005533/0.8786, allocations: 5.158 MB / 0.7536 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.8786, allocations: 0 / 0.7536 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001977/0.8805, allocations: 1.879 MB / 0.7554 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/0.8821, allocations: 274.5 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.01138/0.8934, allocations: 9.544 MB / 0.765 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00238/0.8958, allocations: 2.622 MB / 0.7676 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003253/0.8991, allocations: 1.936 MB / 0.7694 GB, free: 129.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005617/0.8996, allocations: 191.4 kB / 0.7696 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of SimCode: time 8.22e-07/0.8996, allocations: 4 kB / 0.7696 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.04452/0.9441, allocations: 30.08 MB / 0.799 GB, free: 99.7 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 gbode -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.49336638400564]