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.001914/0.001914, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002284/0.002284, allocations: 207.7 kB / 23.73 MB, free: 4.387 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.571/1.571, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2614/0.2614, allocations: 46.97 MB / 360.9 MB, free: 4.016 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.002061/0.002061, allocations: 63.89 kB / 0.4966 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.3688, allocations: 66.04 MB / 0.5611 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01445/0.3832, allocations: 10.72 MB / 0.5716 GB, free: 9.352 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008594/0.3918, allocations: 3.746 MB / 0.5752 GB, free: 5.594 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001217/0.393, allocations: 71.75 kB / 0.5753 GB, free: 5.523 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002661/0.3957, allocations: 1.3 MB / 0.5766 GB, free: 4.219 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003594/0.3993, allocations: 1.771 MB / 0.5783 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.4004, allocations: 495 kB / 0.5788 GB, free: 1.957 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004192/0.4046, allocations: 3.61 MB / 0.5823 GB, free: 14.34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00217/0.4067, allocations: 1.82 MB / 0.5841 GB, free: 12.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001691/0.4084, allocations: 1.226 MB / 0.5853 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002541/0.411, allocations: 1.806 MB / 0.587 GB, free: 9.441 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004869/0.4115, allocations: 240 kB / 0.5872 GB, free: 9.207 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001706/0.4132, allocations: 0.8385 MB / 0.5881 GB, free: 8.367 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001613/0.4148, allocations: 1.612 MB / 0.5896 GB, free: 6.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001805/0.4166, allocations: 1.338 MB / 0.5909 GB, free: 5.402 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007506/0.4241, allocations: 6.222 MB / 0.597 GB, free: 15.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.4241, allocations: 3.938 kB / 0.597 GB, free: 15.15 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.4241, allocations: 0 / 0.597 GB, free: 15.15 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001485/0.4242, allocations: 0 / 0.597 GB, free: 15.15 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.007653/0.4319, allocations: 4.174 MB / 0.6011 GB, free: 10.92 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.4319, allocations: 12.03 kB / 0.6011 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01058/0.4425, allocations: 3.098 MB / 0.6041 GB, free: 7.805 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004237/0.4468, allocations: 1.819 MB / 0.6059 GB, free: 5.957 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001689/0.4469, allocations: 197 kB / 0.6061 GB, free: 5.762 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005689/0.4475, allocations: 251.9 kB / 0.6063 GB, free: 5.516 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01652/0.464, allocations: 10.48 MB / 0.6166 GB, free: 10.6 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.038e-05/0.4641, allocations: 27.77 kB / 0.6166 GB, free: 10.57 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003476/0.4644, allocations: 119.8 kB / 0.6167 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004491/0.4689, allocations: 2.557 MB / 0.6192 GB, free: 7.895 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01942/0.4884, allocations: 9.903 MB / 0.6289 GB, free: 13.98 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05188/0.5402, allocations: 31.64 MB / 0.6598 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009555/0.5498, allocations: 4.042 MB / 0.6637 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003173/0.553, allocations: 2.113 MB / 0.6658 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001166/0.5541, allocations: 0.5556 MB / 0.6663 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.776e-05/0.5542, allocations: 48.56 kB / 0.6664 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=229): time 4.809e-06/0.5542, allocations: 0 / 0.6664 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of matching and sorting (n=235): time 0.03279/0.587, allocations: 13.93 MB / 0.68 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.48e-05/0.5871, allocations: 77.34 kB / 0.6801 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003643/0.5907, allocations: 2.624 MB / 0.6826 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001857/0.5909, allocations: 49.7 kB / 0.6827 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001967/0.5928, allocations: 2.761 MB / 0.6854 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009046/0.5938, allocations: 0.8952 MB / 0.6862 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001393/0.5951, allocations: 1.049 MB / 0.6873 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.5953, allocations: 353.9 kB / 0.6876 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003209/0.5985, allocations: 2.208 MB / 0.6898 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005576/0.6041, allocations: 5.071 MB / 0.6947 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01012/0.6142, allocations: 7.965 MB / 0.7025 GB, free: 14.83 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.864e-05/0.6143, allocations: 28 kB / 0.7025 GB, free: 14.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01365/0.628, allocations: 7.877 MB / 0.7102 GB, free: 6.914 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.989e-05/0.628, allocations: 48.19 kB / 0.7103 GB, free: 6.867 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001131/0.6282, allocations: 104 kB / 0.7104 GB, free: 6.766 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002328/0.6305, allocations: 0.7927 MB / 0.7111 GB, free: 5.969 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00379/0.6343, allocations: 1.178 MB / 0.7123 GB, free: 4.789 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006189/0.6405, allocations: 4.358 MB / 0.7165 GB, free: 344 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003208/0.6437, allocations: 291.8 kB / 0.7168 GB, free: 52 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005599/0.6442, allocations: 304 kB / 0.7171 GB, free: 15.75 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.003365/0.6476, allocations: 2.02 MB / 0.7191 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00046/0.6481, allocations: 258.3 kB / 0.7193 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00823/0.6563, allocations: 4.711 MB / 0.7239 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.44e-05/0.6563, allocations: 47.98 kB / 0.724 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.066e-06/0.6564, allocations: 0 / 0.724 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.026e-05/0.6564, allocations: 7.969 kB / 0.724 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3279/0.9843, allocations: 9.196 MB / 0.733 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.864e-05/0.9844, allocations: 6.5 kB / 0.733 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002059/0.9864, allocations: 358.8 kB / 0.7333 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002361/0.9888, allocations: 0.6596 MB / 0.734 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002698/0.989, allocations: 44.38 kB / 0.734 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004153/0.9932, allocations: 3.745 MB / 0.7377 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/0.9932, allocations: 13.06 kB / 0.7377 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008554/1.002, allocations: 7.124 MB / 0.7446 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006283/1.002, allocations: 225.2 kB / 0.7448 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003209/1.003, allocations: 43.2 kB / 0.7449 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/1.004, allocations: 135.5 kB / 0.745 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003229/1.004, allocations: 144.6 kB / 0.7451 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001497/1.004, allocations: 64.94 kB / 0.7452 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00186/1.006, allocations: 1.475 MB / 0.7466 GB, free: 148 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.006, allocations: 6.438 kB / 0.7467 GB, free: 148 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003398/1.01, allocations: 0.9052 MB / 0.7475 GB, free: 147.9 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.0004281/1.01, allocations: 184 kB / 0.7477 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006605/1.017, allocations: 5.154 MB / 0.7527 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/1.017, allocations: 4 kB / 0.7528 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002134/1.019, allocations: 1.871 MB / 0.7546 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.001698/1.02, allocations: 280.4 kB / 0.7548 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01323/1.034, allocations: 9.549 MB / 0.7642 GB, free: 134.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00254/1.036, allocations: 2.617 MB / 0.7667 GB, free: 131.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003482/1.04, allocations: 1.932 MB / 0.7686 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005675/1.04, allocations: 195.4 kB / 0.7688 GB, free: 129.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.082e-06/1.04, allocations: 0 / 0.7688 GB, free: 129.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.04562/1.086, allocations: 27.74 MB / 0.7959 GB, free: 102.2 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins/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: 7.177035121247172]