Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00198/0.00198, allocations: 102 kB / 21.22 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002226/0.002226, allocations: 185.2 kB / 24.51 MB, free: 4.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2512/0.2512, allocations: 44.91 MB / 353.5 MB, free: 11.84 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_ModelicaTest.MultiBody.Joints.Cylindrical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002174/0.002174, allocations: 75.88 kB / 497.7 MB, free: 1.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3642, allocations: 64.29 MB / 0.5488 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01882/0.383, allocations: 13.65 MB / 0.5622 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01154/0.3946, allocations: 4.209 MB / 0.5663 GB, free: 13.52 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003385/0.3979, allocations: 79.69 kB / 0.5663 GB, free: 13.44 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00479/0.4027, allocations: 1.849 MB / 0.5681 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006941/0.4097, allocations: 1.907 MB / 0.57 GB, free: 9.676 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002112/0.4118, allocations: 0.5575 MB / 0.5706 GB, free: 9.117 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007471/0.4193, allocations: 3.863 MB / 0.5743 GB, free: 5.246 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004393/0.4236, allocations: 2.057 MB / 0.5763 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003134/0.4268, allocations: 1.409 MB / 0.5777 GB, free: 1.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003902/0.4307, allocations: 2.138 MB / 0.5798 GB, free: 15.59 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00104/0.4317, allocations: 292 kB / 0.5801 GB, free: 15.3 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002619/0.4343, allocations: 1.041 MB / 0.5811 GB, free: 14.26 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002574/0.4369, allocations: 1.799 MB / 0.5829 GB, free: 12.45 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003742/0.4407, allocations: 2.128 MB / 0.5849 GB, free: 10.31 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009782/0.4504, allocations: 6.981 MB / 0.5917 GB, free: 3.305 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.4504, allocations: 0 / 0.5917 GB, free: 3.305 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.4505, allocations: 0 / 0.5917 GB, free: 3.305 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002498/0.4507, allocations: 0 / 0.5917 GB, free: 3.305 MB / 430.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.009418/0.4601, allocations: 4.6 MB / 0.5962 GB, free: 14.64 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.4602, allocations: 12.03 kB / 0.5963 GB, free: 14.63 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01009/0.4702, allocations: 3.137 MB / 0.5993 GB, free: 11.49 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004527/0.4748, allocations: 2.103 MB / 0.6014 GB, free: 9.352 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001914/0.475, allocations: 217.8 kB / 0.6016 GB, free: 9.137 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006477/0.4756, allocations: 287.8 kB / 0.6018 GB, free: 8.855 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01848/0.4941, allocations: 11.11 MB / 0.6127 GB, free: 13.28 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-05/0.4942, allocations: 23.81 kB / 0.6127 GB, free: 13.25 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004172/0.4946, allocations: 139.8 kB / 0.6129 GB, free: 13.12 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004361/0.499, allocations: 2.62 MB / 0.6154 GB, free: 10.49 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02417/0.5231, allocations: 10.37 MB / 0.6255 GB, free: 104 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07241/0.5955, allocations: 36.4 MB / 0.6611 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00849/0.604, allocations: 3.487 MB / 0.6645 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00332/0.6073, allocations: 2.22 MB / 0.6667 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009055/0.6083, allocations: 453.2 kB / 0.6671 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.09e-05/0.6083, allocations: 56.44 kB / 0.6671 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=242): time 4.759e-06/0.6083, allocations: 4 kB / 0.6672 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of matching and sorting (n=254): time 0.04358/0.6519, allocations: 17.44 MB / 0.6842 GB, free: 3.098 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.396e-05/0.652, allocations: 73.41 kB / 0.6842 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006089/0.6581, allocations: 2.751 MB / 0.6869 GB, free: 256 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006005/0.6587, allocations: 53.7 kB / 0.687 GB, free: 196 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003227/0.6619, allocations: 2.89 MB / 0.6898 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001821/0.6637, allocations: 0.9649 MB / 0.6908 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002258/0.666, allocations: 1.073 MB / 0.6918 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.6661, allocations: 309.1 kB / 0.6921 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005229/0.6714, allocations: 2.318 MB / 0.6944 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009369/0.6807, allocations: 5.214 MB / 0.6994 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01633/0.6971, allocations: 8.276 MB / 0.7075 GB, free: 8.266 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001071/0.6972, allocations: 28 kB / 0.7076 GB, free: 8.238 MB / 0.545 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.0189/0.7161, allocations: 8.303 MB / 0.7157 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001635/0.7162, allocations: 48 kB / 0.7157 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002004/0.7164, allocations: 100 kB / 0.7158 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003094/0.7195, allocations: 0.9454 MB / 0.7167 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004822/0.7244, allocations: 1.22 MB / 0.7179 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007879/0.7322, allocations: 5.041 MB / 0.7228 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004109/0.7363, allocations: 299.8 kB / 0.7231 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001072/0.7374, allocations: 308 kB / 0.7234 GB, free: 7.852 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.004813/0.7422, allocations: 2.139 MB / 0.7255 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007264/0.743, allocations: 290 kB / 0.7258 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01056/0.7535, allocations: 5.121 MB / 0.7308 GB, free: 268 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.99e-05/0.7536, allocations: 47.98 kB / 0.7308 GB, free: 220 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-05/0.7536, allocations: 4 kB / 0.7308 GB, free: 216 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-05/0.7536, allocations: 7.969 kB / 0.7308 GB, free: 208 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3381/1.092, allocations: 11.83 MB / 0.7424 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-05/1.092, allocations: 11.59 kB / 0.7424 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001482/1.093, allocations: 408.9 kB / 0.7428 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002082/1.095, allocations: 0.7653 MB / 0.7436 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001827/1.095, allocations: 51.08 kB / 0.7436 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004613/1.1, allocations: 4.287 MB / 0.7478 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.084e-05/1.1, allocations: 19.59 kB / 0.7478 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009692/1.11, allocations: 7.63 MB / 0.7553 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/1.111, allocations: 263.5 kB / 0.7555 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003984/1.111, allocations: 45.53 kB / 0.7556 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/1.112, allocations: 155.2 kB / 0.7557 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003539/1.113, allocations: 156.4 kB / 0.7558 GB, free: 152 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001523/1.113, allocations: 75.98 kB / 0.7559 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002221/1.115, allocations: 1.693 MB / 0.7576 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/1.115, allocations: 0 / 0.7576 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003765/1.119, allocations: 0.9839 MB / 0.7585 GB, free: 149.2 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.0004443/1.119, allocations: 186.2 kB / 0.7587 GB, free: 149 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006877/1.126, allocations: 5.443 MB / 0.764 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/1.126, allocations: 7.219 kB / 0.764 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002353/1.129, allocations: 1.993 MB / 0.766 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002322/1.131, allocations: 402.4 kB / 0.7664 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01524/1.146, allocations: 10.37 MB / 0.7765 GB, free: 130.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002997/1.149, allocations: 3.375 MB / 0.7798 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003407/1.153, allocations: 1.982 MB / 0.7817 GB, free: 125.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006089/1.153, allocations: 215.4 kB / 0.7819 GB, free: 125.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.613e-06/1.153, allocations: 0 / 0.7819 GB, free: 125.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.05653/1.21, allocations: 35.71 MB / 0.8168 GB, free: 89.72 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.4903080416843295]