Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.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.001263/0.001263, allocations: 112.3 kB / 21.18 MB, free: 0.6289 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.001625/0.001625, allocations: 211 kB / 24.48 MB, free: 4.035 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.449/1.449, allocations: 230.2 MB / 257.8 MB, free: 8.512 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.2277/0.2277, allocations: 46.89 MB / 361.1 MB, free: 4.648 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.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical") translateModel(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical") [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.002246/0.002246, allocations: 79.86 kB / 0.4968 GB, free: 7.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3203, allocations: 65.99 MB / 0.5612 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01607/0.3364, allocations: 13.59 MB / 0.5745 GB, free: 7.398 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009388/0.3458, allocations: 4.217 MB / 0.5786 GB, free: 3.164 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002132/0.3479, allocations: 75.81 kB / 0.5787 GB, free: 3.09 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003785/0.3517, allocations: 1.845 MB / 0.5805 GB, free: 1.238 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00445/0.3562, allocations: 1.853 MB / 0.5823 GB, free: 15.38 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.3575, allocations: 0.5459 MB / 0.5828 GB, free: 14.83 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005013/0.3625, allocations: 3.898 MB / 0.5866 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002642/0.3652, allocations: 2.059 MB / 0.5886 GB, free: 8.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001972/0.3671, allocations: 1.37 MB / 0.59 GB, free: 7.445 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002921/0.3701, allocations: 2.134 MB / 0.5921 GB, free: 5.305 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006007/0.3707, allocations: 292 kB / 0.5923 GB, free: 5.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002041/0.3727, allocations: 1.026 MB / 0.5933 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001971/0.3747, allocations: 1.78 MB / 0.5951 GB, free: 2.207 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002523/0.3772, allocations: 2.096 MB / 0.5971 GB, free: 100 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008536/0.3857, allocations: 6.917 MB / 0.6039 GB, free: 9.152 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.3857, allocations: 4 kB / 0.6039 GB, free: 9.148 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3857, allocations: 0 / 0.6039 GB, free: 9.148 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002062/0.3859, allocations: 0 / 0.6039 GB, free: 9.148 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: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.00951/0.3954, allocations: 4.645 MB / 0.6084 GB, free: 4.426 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.3955, allocations: 12.02 kB / 0.6084 GB, free: 4.414 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01092/0.4064, allocations: 3.141 MB / 0.6115 GB, free: 1.266 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005651/0.4121, allocations: 2.133 MB / 0.6136 GB, free: 15.08 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002617/0.4123, allocations: 217.7 kB / 0.6138 GB, free: 14.87 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001288/0.4136, allocations: 287.7 kB / 0.6141 GB, free: 14.58 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01943/0.433, allocations: 11.11 MB / 0.6249 GB, free: 3 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001132/0.4332, allocations: 31.77 kB / 0.6249 GB, free: 2.969 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004149/0.4336, allocations: 131.8 kB / 0.6251 GB, free: 2.84 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004505/0.4381, allocations: 2.624 MB / 0.6276 GB, free: 212 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02022/0.4583, allocations: 10.38 MB / 0.6378 GB, free: 5.809 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05793/0.5162, allocations: 36.54 MB / 0.6734 GB, free: 364 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009295/0.5255, allocations: 4.391 MB / 0.6777 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003252/0.5288, allocations: 2.217 MB / 0.6799 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001376/0.5301, allocations: 1.319 MB / 0.6812 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.576e-05/0.5302, allocations: 60.44 kB / 0.6812 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=242): time 5.941e-06/0.5302, allocations: 0 / 0.6812 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=254): time 0.06402/0.5942, allocations: 17.65 MB / 0.6985 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.499e-05/0.5943, allocations: 73.41 kB / 0.6985 GB, free: 6.121 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004891/0.5992, allocations: 2.747 MB / 0.7012 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004086/0.5996, allocations: 53.7 kB / 0.7013 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002239/0.6018, allocations: 2.886 MB / 0.7041 GB, free: 396 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001173/0.603, allocations: 0.9612 MB / 0.705 GB, free: 15.41 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001503/0.6045, allocations: 1.077 MB / 0.7061 GB, free: 14.33 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.6046, allocations: 301.1 kB / 0.7064 GB, free: 14.03 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003361/0.608, allocations: 2.314 MB / 0.7086 GB, free: 11.71 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005796/0.6138, allocations: 5.226 MB / 0.7137 GB, free: 5.066 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0105/0.6243, allocations: 8.265 MB / 0.7218 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.211e-05/0.6244, allocations: 35.94 kB / 0.7218 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01538/0.6398, allocations: 8.306 MB / 0.73 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.318e-05/0.6398, allocations: 52.94 kB / 0.73 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001141/0.64, allocations: 100 kB / 0.7301 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002762/0.6427, allocations: 0.9411 MB / 0.731 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003988/0.6467, allocations: 1.228 MB / 0.7322 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2583/0.905, allocations: 5.139 MB / 0.7372 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003153/0.9082, allocations: 294.1 kB / 0.7375 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004156/0.9086, allocations: 307 kB / 0.7378 GB, free: 149.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * Number of states: 0 () * Number of discrete variables: 35 (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],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[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 (657): * Single equations (assignments): 650 * 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 {(4,10,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002497/0.9111, allocations: 2.149 MB / 0.7399 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003765/0.9114, allocations: 290.6 kB / 0.7402 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006732/0.9182, allocations: 5.122 MB / 0.7452 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.625e-05/0.9182, allocations: 13.53 kB / 0.7452 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.9182, allocations: 3.719 kB / 0.7452 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003948/0.9186, allocations: 324.8 kB / 0.7455 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003133/0.9189, allocations: 38.88 kB / 0.7456 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/0.9199, allocations: 136.8 kB / 0.7457 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002363/0.9202, allocations: 126.6 kB / 0.7458 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006148/0.9263, allocations: 4.577 MB / 0.7503 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006033/0.9323, allocations: 6.725 MB / 0.7568 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001574/0.9339, allocations: 1.716 MB / 0.7585 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00189/0.9358, allocations: 1.67 MB / 0.7601 GB, free: 139.2 MB / 0.5606 GB Notification: Performance of Backend: time 3.81e-07/0.9358, allocations: 3.906 kB / 0.7602 GB, free: 139.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007107/0.9429, allocations: 3.954 MB / 0.764 GB, free: 135.7 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01379/0.9567, allocations: 9.239 MB / 0.773 GB, free: 126.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.06246/1.019, allocations: 46.17 MB / 0.8181 GB, free: 80.53 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.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.687188778072596]