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.002104/0.002104, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.001724/0.001724, allocations: 204.7 kB / 24.49 MB, free: 3.965 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.449/1.449, allocations: 230.6 MB / 258.3 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.235/0.235, allocations: 46.96 MB / 361.6 MB, free: 4.031 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.002054/0.002054, allocations: 71.88 kB / 0.4973 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3433, 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.01453/0.3578, allocations: 10.72 MB / 0.5723 GB, free: 9.379 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008496/0.3663, allocations: 3.75 MB / 0.576 GB, free: 5.617 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001824/0.3681, allocations: 71.81 kB / 0.576 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003031/0.3712, allocations: 1.304 MB / 0.5773 GB, free: 4.238 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004498/0.3757, allocations: 1.779 MB / 0.579 GB, free: 2.453 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001256/0.3769, allocations: 499 kB / 0.5795 GB, free: 1.965 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004893/0.3818, allocations: 3.61 MB / 0.583 GB, free: 14.35 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002466/0.3843, allocations: 1.828 MB / 0.5848 GB, free: 12.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00185/0.3861, allocations: 1.21 MB / 0.586 GB, free: 11.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002804/0.3889, allocations: 1.892 MB / 0.5879 GB, free: 9.371 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005787/0.3895, allocations: 239.9 kB / 0.5881 GB, free: 9.137 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001896/0.3914, allocations: 0.8464 MB / 0.5889 GB, free: 8.289 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001737/0.3931, allocations: 1.604 MB / 0.5905 GB, free: 6.68 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001727/0.3949, allocations: 1.338 MB / 0.5918 GB, free: 5.332 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007863/0.4027, allocations: 6.23 MB / 0.5979 GB, free: 15.08 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.013e-05/0.4027, allocations: 8 kB / 0.5979 GB, free: 15.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4027, allocations: 0 / 0.5979 GB, free: 15.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001746/0.4029, allocations: 0 / 0.5979 GB, free: 15.07 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.008341/0.4112, allocations: 4.159 MB / 0.6019 GB, free: 10.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.4113, allocations: 15.95 kB / 0.602 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01095/0.4222, allocations: 3.094 MB / 0.605 GB, free: 7.738 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005472/0.4277, allocations: 1.831 MB / 0.6068 GB, free: 5.879 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002494/0.428, allocations: 193 kB / 0.6069 GB, free: 5.688 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001038/0.429, allocations: 255.9 kB / 0.6072 GB, free: 5.438 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01774/0.4467, allocations: 10.48 MB / 0.6174 GB, free: 10.52 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.106e-05/0.4468, allocations: 31.77 kB / 0.6174 GB, free: 10.49 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004014/0.4472, allocations: 119.8 kB / 0.6176 GB, free: 10.37 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004417/0.4517, allocations: 2.553 MB / 0.6201 GB, free: 7.816 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02022/0.4719, allocations: 9.887 MB / 0.6297 GB, free: 13.92 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05513/0.527, allocations: 31.66 MB / 0.6606 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009923/0.5369, allocations: 4.042 MB / 0.6646 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003373/0.5403, allocations: 2.113 MB / 0.6666 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001314/0.5416, allocations: 0.5478 MB / 0.6672 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.05e-05/0.5417, allocations: 52.56 kB / 0.6672 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=229): time 5.099e-06/0.5417, allocations: 0 / 0.6672 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of matching and sorting (n=235): time 0.03343/0.5751, allocations: 13.93 MB / 0.6808 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.666e-05/0.5752, allocations: 73.41 kB / 0.6809 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003589/0.5788, allocations: 2.62 MB / 0.6835 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002448/0.579, allocations: 57.7 kB / 0.6835 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002141/0.5811, allocations: 2.753 MB / 0.6862 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001023/0.5822, allocations: 0.899 MB / 0.6871 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001569/0.5837, allocations: 1.037 MB / 0.6881 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002087/0.5839, allocations: 361.9 kB / 0.6884 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003613/0.5876, allocations: 2.204 MB / 0.6906 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006177/0.5937, allocations: 5.071 MB / 0.6955 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01048/0.6042, allocations: 7.977 MB / 0.7033 GB, free: 14.75 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.445e-05/0.6043, allocations: 31.94 kB / 0.7034 GB, free: 14.72 MB / 0.545 GB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01503/0.6193, allocations: 7.881 MB / 0.7111 GB, free: 6.836 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.218e-05/0.6194, allocations: 48 kB / 0.7111 GB, free: 6.789 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00015/0.6196, allocations: 100 kB / 0.7112 GB, free: 6.691 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002515/0.6221, allocations: 0.7887 MB / 0.712 GB, free: 5.902 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004401/0.6265, allocations: 1.189 MB / 0.7131 GB, free: 4.711 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00644/0.6329, allocations: 4.35 MB / 0.7174 GB, free: 264 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003495/0.6364, allocations: 295.8 kB / 0.7177 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005687/0.637, 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.00361/0.6406, allocations: 2.016 MB / 0.7199 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005045/0.6411, allocations: 258.3 kB / 0.7202 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008503/0.6496, allocations: 4.711 MB / 0.7248 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-05/0.6496, allocations: 19.89 kB / 0.7248 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.6496, allocations: 0 / 0.7248 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006423/0.6503, allocations: 214.3 kB / 0.725 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000316/0.6506, allocations: 24 kB / 0.725 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.6516, allocations: 143.7 kB / 0.7251 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003056/0.6519, allocations: 121.8 kB / 0.7253 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007836/0.6597, allocations: 4.227 MB / 0.7294 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.31/0.9697, allocations: 6.256 MB / 0.7355 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002169/0.9719, allocations: 1.586 MB / 0.737 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001744/0.9736, allocations: 1.482 MB / 0.7385 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of Backend: time 2.91e-07/0.9736, allocations: 0 / 0.7385 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006246/0.9799, allocations: 3.762 MB / 0.7422 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of SimCode: time 0.0115/0.9914, allocations: 8.4 MB / 0.7504 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.06055/1.052, allocations: 44.21 MB / 0.7935 GB, free: 105.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 -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: 7.027404884000134]