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.001896/0.001896, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.001476/0.001476, allocations: 206.2 kB / 24.47 MB, free: 4.023 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.454/1.454, allocations: 230.2 MB / 257.8 MB, free: 8.508 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.2313/0.2313, allocations: 46.89 MB / 361.1 MB, free: 4.645 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.002407/0.002407, allocations: 79.88 kB / 0.4968 GB, free: 7.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3621, allocations: 66 MB / 0.5612 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01595/0.378, allocations: 13.59 MB / 0.5745 GB, free: 7.371 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009934/0.388, allocations: 4.205 MB / 0.5786 GB, free: 3.148 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002661/0.3906, allocations: 75.75 kB / 0.5787 GB, free: 3.074 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004169/0.3948, allocations: 1.853 MB / 0.5805 GB, free: 1.215 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005212/0.4, allocations: 1.856 MB / 0.5823 GB, free: 15.35 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001584/0.4016, allocations: 0.542 MB / 0.5828 GB, free: 14.81 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005815/0.4074, allocations: 3.897 MB / 0.5866 GB, free: 10.91 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00296/0.4104, allocations: 2.055 MB / 0.5886 GB, free: 8.805 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002401/0.4128, allocations: 1.37 MB / 0.59 GB, free: 7.43 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003024/0.4158, allocations: 2.134 MB / 0.592 GB, free: 5.289 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006338/0.4164, allocations: 292 kB / 0.5923 GB, free: 5.004 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001999/0.4184, allocations: 1.022 MB / 0.5933 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001801/0.4202, allocations: 1.788 MB / 0.5951 GB, free: 2.188 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002217/0.4224, allocations: 2.092 MB / 0.5971 GB, free: 84 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008165/0.4306, allocations: 6.921 MB / 0.6039 GB, free: 9.129 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4306, allocations: 0 / 0.6039 GB, free: 9.129 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4306, allocations: 0 / 0.6039 GB, free: 9.129 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001622/0.4308, allocations: 0 / 0.6039 GB, free: 9.129 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.009542/0.4403, allocations: 4.645 MB / 0.6084 GB, free: 4.406 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.4404, allocations: 12.03 kB / 0.6084 GB, free: 4.395 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01117/0.4515, allocations: 3.137 MB / 0.6115 GB, free: 1.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006076/0.4576, allocations: 2.14 MB / 0.6136 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002371/0.4579, allocations: 217.7 kB / 0.6138 GB, free: 14.84 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009247/0.4588, allocations: 283.7 kB / 0.614 GB, free: 14.56 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02381/0.4826, allocations: 11.11 MB / 0.6249 GB, free: 2.98 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000298/0.4829, allocations: 31.77 kB / 0.6249 GB, free: 2.949 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001837/0.4847, allocations: 143.8 kB / 0.6251 GB, free: 2.809 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005589/0.4903, allocations: 2.62 MB / 0.6276 GB, free: 184 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02435/0.5147, allocations: 10.37 MB / 0.6378 GB, free: 5.785 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06731/0.582, allocations: 36.54 MB / 0.6734 GB, free: 344 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01055/0.5925, allocations: 4.391 MB / 0.6777 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003751/0.5963, allocations: 2.224 MB / 0.6799 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001521/0.5978, allocations: 1.311 MB / 0.6812 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.948e-05/0.5979, allocations: 60.44 kB / 0.6812 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=242): time 5.951e-06/0.5979, allocations: 0 / 0.6812 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of matching and sorting (n=254): time 0.04681/0.6447, allocations: 17.65 MB / 0.6985 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.785e-05/0.6448, allocations: 77.39 kB / 0.6985 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005148/0.6499, allocations: 2.731 MB / 0.7012 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004693/0.6504, allocations: 69.69 kB / 0.7013 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002769/0.6532, allocations: 2.886 MB / 0.7041 GB, free: 368 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001479/0.6546, allocations: 0.9571 MB / 0.705 GB, free: 15.39 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00235/0.657, allocations: 1.08 MB / 0.7061 GB, free: 14.3 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.6571, allocations: 301.1 kB / 0.7064 GB, free: 14.01 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003853/0.661, allocations: 2.318 MB / 0.7086 GB, free: 11.68 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006974/0.6679, allocations: 5.222 MB / 0.7137 GB, free: 5.043 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.012/0.6799, allocations: 8.269 MB / 0.7218 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000114/0.6801, allocations: 28 kB / 0.7218 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01772/0.6978, allocations: 8.299 MB / 0.7299 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001343/0.6979, allocations: 48 kB / 0.73 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002024/0.6981, allocations: 104.1 kB / 0.7301 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003033/0.7011, allocations: 0.9489 MB / 0.731 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005024/0.7062, allocations: 1.22 MB / 0.7322 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3699/1.076, allocations: 5.14 MB / 0.7372 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004045/1.08, allocations: 300.2 kB / 0.7375 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008014/1.081, allocations: 311.4 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.003362/1.084, allocations: 2.143 MB / 0.7399 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005077/1.085, allocations: 288.9 kB / 0.7402 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007396/1.092, allocations: 5.127 MB / 0.7452 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-05/1.092, allocations: 48.75 kB / 0.7452 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/1.092, allocations: 3.844 kB / 0.7452 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.998e-05/1.092, allocations: 11.39 kB / 0.7452 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01906/1.111, allocations: 11.85 MB / 0.7568 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.67e-05/1.111, allocations: 12 kB / 0.7568 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00155/1.113, allocations: 398.3 kB / 0.7572 GB, free: 141.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002235/1.115, allocations: 0.7752 MB / 0.758 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001935/1.115, allocations: 55.36 kB / 0.758 GB, free: 141.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004612/1.12, allocations: 4.384 MB / 0.7623 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.647e-06/1.12, allocations: 15.94 kB / 0.7623 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009042/1.129, allocations: 7.635 MB / 0.7698 GB, free: 129.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008574/1.13, allocations: 342.6 kB / 0.7701 GB, free: 129 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003445/1.13, allocations: 51.92 kB / 0.7701 GB, free: 129 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/1.131, allocations: 143.8 kB / 0.7703 GB, free: 128.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000313/1.132, allocations: 155.5 kB / 0.7704 GB, free: 128.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000153/1.132, allocations: 76.61 kB / 0.7705 GB, free: 128.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002101/1.134, allocations: 1.685 MB / 0.7722 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5e-08/1.134, allocations: 0 / 0.7722 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00398/1.138, allocations: 0.9657 MB / 0.7731 GB, free: 126 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.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 (196): * Single equations (assignments): 189 * 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 {(2,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.0004345/1.138, allocations: 190.9 kB / 0.7733 GB, free: 125.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007124/1.145, allocations: 5.433 MB / 0.7786 GB, free: 120.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-05/1.145, allocations: 4 kB / 0.7786 GB, free: 120.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002333/1.148, allocations: 1.996 MB / 0.7805 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002208/1.15, allocations: 392 kB / 0.7809 GB, free: 118 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01392/1.164, allocations: 10.38 MB / 0.791 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002835/1.167, allocations: 3.378 MB / 0.7943 GB, free: 104.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003519/1.17, allocations: 1.974 MB / 0.7963 GB, free: 102.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006148/1.171, allocations: 219.4 kB / 0.7965 GB, free: 101.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.002e-06/1.171, allocations: 0 / 0.7965 GB, free: 101.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.05251/1.223, allocations: 33.23 MB / 0.8289 GB, free: 68.84 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 -s cvode -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: 7.843805763870478]