Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=5000,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical") translateModel(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000855/0.0008548, allocations: 97.56 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009506/0.0009504, allocations: 172.6 kB / 16.91 MB, free: 6.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.402/1.402, allocations: 205.4 MB / 223.1 MB, free: 5.449 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3508/0.3508, allocations: 43.57 MB / 315 MB, free: 8.93 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007971/0.0007972, allocations: 12 kB / 384.6 MB, free: 7.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1306, allocations: 58.86 MB / 443.4 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.2744/0.4051, allocations: 37.2 MB / 480.6 MB, free: 26.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02222/0.4274, allocations: 8.229 MB / 488.9 MB, free: 22.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009531/0.437, allocations: 155.6 kB / 489 MB, free: 22.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001739/0.4388, allocations: 487.7 kB / 489.5 MB, free: 22.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004764/0.4435, allocations: 1.756 MB / 491.3 MB, free: 21.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001297/0.4448, allocations: 0.5102 MB / 491.8 MB, free: 21.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006224/0.4511, allocations: 5.543 MB / 497.3 MB, free: 19.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005682/0.4568, allocations: 3.414 MB / 0.489 GB, free: 18.28 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002837/0.4597, allocations: 1.094 MB / 0.4901 GB, free: 17.87 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004109/0.4638, allocations: 1.911 MB / 0.4919 GB, free: 17.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009454/0.4648, allocations: 154.9 kB / 0.4921 GB, free: 17.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002729/0.4675, allocations: 0.9105 MB / 0.493 GB, free: 17.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003202/0.4707, allocations: 1.668 MB / 0.4946 GB, free: 16.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003462/0.4742, allocations: 2.017 MB / 0.4966 GB, free: 15.06 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01129/0.4855, allocations: 6.528 MB / 0.5029 GB, free: 12.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4856, allocations: 1.344 kB / 0.5029 GB, free: 12.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4856, allocations: 0 / 0.5029 GB, free: 12.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003409/0.4859, allocations: 0 / 0.5029 GB, free: 12.84 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1684 * Number of variables: 1684 Notification: Performance of Generate backend data structure: time 0.01202/0.498, allocations: 3.798 MB / 0.5066 GB, free: 10.1 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.772e-05/0.498, allocations: 14.12 kB / 0.5067 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01242/0.5105, allocations: 3.212 MB / 0.5098 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00669/0.5172, allocations: 2.193 MB / 0.5119 GB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002697/0.5175, allocations: 220 kB / 0.5121 GB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001282/0.5188, allocations: 298.3 kB / 0.5124 GB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02189/0.5407, allocations: 11.33 MB / 0.5235 GB, free: 13.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001514/0.541, allocations: 31.66 kB / 0.5235 GB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006018/0.5416, allocations: 139.8 kB / 0.5237 GB, free: 13.08 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00519/0.5468, allocations: 2.718 MB / 0.5263 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02358/0.5704, allocations: 10.48 MB / 0.5365 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06894/0.6394, allocations: 37.52 MB / 0.5732 GB, free: 9.402 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009892/0.6493, allocations: 4.573 MB / 0.5777 GB, free: 4.598 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003556/0.6529, allocations: 2.396 MB / 0.58 GB, free: 2.199 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001147/0.6541, allocations: 1.319 MB / 0.5813 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.6542, allocations: 56.5 kB / 0.5813 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of pre-optimization done (n=242): time 5.46e-06/0.6542, allocations: 0 / 0.5813 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of matching and sorting (n=254): time 0.04405/0.6982, allocations: 17.62 MB / 0.5985 GB, free: 14.91 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.737e-05/0.6983, allocations: 73.41 kB / 0.5986 GB, free: 14.83 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005138/0.7035, allocations: 2.796 MB / 0.6013 GB, free: 12.02 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006525/0.7042, allocations: 65.64 kB / 0.6014 GB, free: 11.95 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002195/0.7064, allocations: 2.853 MB / 0.6042 GB, free: 9.055 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001473/0.7079, allocations: 0.9212 MB / 0.6051 GB, free: 8.121 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007891/0.7087, allocations: 482.3 kB / 0.6055 GB, free: 7.645 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.7088, allocations: 301.1 kB / 0.6058 GB, free: 7.348 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00384/0.7126, allocations: 2.33 MB / 0.6081 GB, free: 5.012 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006266/0.7189, allocations: 5.319 MB / 0.6133 GB, free: 14.23 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01085/0.7298, allocations: 8.38 MB / 0.6215 GB, free: 4.402 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.077e-05/0.7299, allocations: 28 kB / 0.6215 GB, free: 4.375 MB / 494.1 MB Notification: Performance of matching and sorting (n=730) (initialization): time 0.0182/0.7481, allocations: 8.387 MB / 0.6297 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.998e-05/0.7483, allocations: 55.98 kB / 0.6298 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001537/0.7484, allocations: 104 kB / 0.6299 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00293/0.7514, allocations: 0.9448 MB / 0.6308 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00505/0.7565, allocations: 1.244 MB / 0.632 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007441/0.7639, allocations: 4.789 MB / 0.6367 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005454/0.7694, allocations: 315.8 kB / 0.637 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001499/0.771, allocations: 308 kB / 0.6373 GB, free: 4.094 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 471 * Number of states: 0 () * Number of discrete variables: 33 (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 (669): * Single equations (assignments): 662 * 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.009279/0.7803, allocations: 2.189 MB / 0.6394 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00149/0.7818, allocations: 280.3 kB / 0.6397 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2957/1.077, allocations: 5.137 MB / 0.6447 GB, free: 155.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.151e-05/1.078, allocations: 46 kB / 0.6447 GB, free: 155.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-05/1.078, allocations: 2.938 kB / 0.6447 GB, free: 155.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.969e-05/1.078, allocations: 10.03 kB / 0.6447 GB, free: 155.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0215/1.099, allocations: 11.96 MB / 0.6564 GB, free: 153.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.778e-05/1.099, allocations: 10.28 kB / 0.6564 GB, free: 153.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001577/1.101, allocations: 400.2 kB / 0.6568 GB, free: 153.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002287/1.103, allocations: 0.7711 MB / 0.6576 GB, free: 153.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002174/1.103, allocations: 50.78 kB / 0.6576 GB, free: 153.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004795/1.108, allocations: 4.095 MB / 0.6616 GB, free: 151.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.378e-06/1.108, allocations: 12.84 kB / 0.6616 GB, free: 151.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0113/1.119, allocations: 7.621 MB / 0.6691 GB, free: 148.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001954/1.121, allocations: 0.6879 MB / 0.6697 GB, free: 148.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003991/1.122, allocations: 48.88 kB / 0.6698 GB, free: 148.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001388/1.123, allocations: 148.9 kB / 0.6699 GB, free: 148 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004282/1.124, allocations: 155.6 kB / 0.6701 GB, free: 148 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002042/1.124, allocations: 75.97 kB / 0.6702 GB, free: 148 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003323/1.127, allocations: 1.728 MB / 0.6718 GB, free: 147.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.41e-07/1.127, allocations: 0.5 kB / 0.6718 GB, free: 147.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005191/1.132, allocations: 1.008 MB / 0.6728 GB, free: 147.3 MB / 0.4981 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.0005632/1.133, allocations: 188.5 kB / 0.673 GB, free: 147.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01439/1.147, allocations: 5.675 MB / 0.6785 GB, free: 145.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.436e-05/1.148, allocations: 1.5 kB / 0.6786 GB, free: 145.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003914/1.151, allocations: 2.148 MB / 0.6806 GB, free: 144.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005969/1.157, allocations: 377.1 kB / 0.681 GB, free: 144.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02264/1.18, allocations: 12.77 MB / 0.6935 GB, free: 137.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004834/1.185, allocations: 3.434 MB / 0.6968 GB, free: 135.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005399/1.19, allocations: 2.002 MB / 0.6988 GB, free: 134.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008172/1.191, allocations: 218.9 kB / 0.699 GB, free: 133.9 MB / 0.4981 GB Notification: Performance of SimCode: time 1.913e-06/1.191, allocations: 0 / 0.699 GB, free: 133.9 MB / 0.4981 GB Notification: Performance of Templates: time 0.06028/1.252, allocations: 32.25 MB / 0.7305 GB, free: 103.5 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches