Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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) 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_trunk_cpp_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_trunk_cpp_ModelicaTest.MultiBody.Joints.Cylindrical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001111/0.001111, allocations: 195 kB / 16.1 MB, free: 5.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 226.5 MB / 243.4 MB, free: 6.359 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000781/0.0007809, allocations: 99.38 kB / 295.5 MB, free: 6.652 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3182/0.3182, allocations: 44.82 MB / 392.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002497/0.0002499, allocations: 8 kB / 465.3 MB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3187, allocations: 62.96 MB / 0.5159 GB, free: 37.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.02465/0.3433, allocations: 34.33 MB / 0.5494 GB, free: 12.75 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01758/0.361, allocations: 7.799 MB / 0.557 GB, free: 7.465 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006217/0.3673, allocations: 155.9 kB / 0.5572 GB, free: 7.441 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004663/0.372, allocations: 1.668 MB / 0.5588 GB, free: 6.859 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01466/0.3866, allocations: 5.033 MB / 0.5637 GB, free: 4.801 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002867/0.3895, allocations: 0.4938 MB / 0.5642 GB, free: 4.621 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007172/0.3967, allocations: 4.34 MB / 0.5684 GB, free: 2.504 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00569/0.4025, allocations: 3.273 MB / 0.5716 GB, free: 168 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002538/0.4051, allocations: 1.121 MB / 0.5727 GB, free: 15.04 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003056/0.4081, allocations: 1.85 MB / 0.5745 GB, free: 13.18 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008161/0.409, allocations: 148 kB / 0.5747 GB, free: 13.04 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002685/0.4117, allocations: 0.9048 MB / 0.5755 GB, free: 12.13 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001855/0.4135, allocations: 1.582 MB / 0.5771 GB, free: 10.55 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00256/0.4161, allocations: 1.854 MB / 0.5789 GB, free: 8.676 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006181/0.4223, allocations: 5.286 MB / 0.5841 GB, free: 3.379 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.768e-06/0.4224, allocations: 3.938 kB / 0.5841 GB, free: 3.375 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4224, allocations: 0 / 0.5841 GB, free: 3.375 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002227/0.4226, allocations: 0 / 0.5841 GB, free: 3.375 MB / 394.7 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.00845/0.4311, allocations: 3.728 MB / 0.5877 GB, free: 15.58 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.4312, allocations: 12.88 kB / 0.5877 GB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01047/0.4417, allocations: 3.204 MB / 0.5909 GB, free: 12.35 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004786/0.4465, allocations: 2.101 MB / 0.5929 GB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/0.4467, allocations: 221.8 kB / 0.5931 GB, free: 9.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007093/0.4474, allocations: 295.7 kB / 0.5934 GB, free: 9.691 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01712/0.4645, allocations: 11.09 MB / 0.6042 GB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-05/0.4647, allocations: 27.72 kB / 0.6043 GB, free: 14.11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004246/0.4651, allocations: 135.8 kB / 0.6044 GB, free: 13.98 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004403/0.4695, allocations: 2.624 MB / 0.6069 GB, free: 11.35 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02085/0.4904, allocations: 10.33 MB / 0.617 GB, free: 0.9922 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05506/0.5455, allocations: 36.72 MB / 0.6529 GB, free: 11.36 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009345/0.5549, allocations: 4.559 MB / 0.6573 GB, free: 6.566 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00371/0.5587, allocations: 2.397 MB / 0.6597 GB, free: 4.172 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001364/0.5601, allocations: 1.319 MB / 0.661 GB, free: 2.633 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.246e-05/0.5602, allocations: 56.5 kB / 0.661 GB, free: 2.566 MB / 474.7 MB Notification: Performance of pre-optimization done (n=242): time 7.574e-06/0.5602, allocations: 4 kB / 0.661 GB, free: 2.562 MB / 474.7 MB Notification: Performance of matching and sorting (n=254): time 0.044/0.6042, allocations: 17.53 MB / 0.6782 GB, free: 0.957 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.402e-05/0.6043, allocations: 77.41 kB / 0.6782 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2178/0.8221, allocations: 2.717 MB / 0.6809 GB, free: 130.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004641/0.8227, allocations: 60.77 kB / 0.6809 GB, free: 130 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001594/0.8243, allocations: 2.771 MB / 0.6836 GB, free: 128.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009469/0.8252, allocations: 0.9092 MB / 0.6845 GB, free: 127.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004761/0.8257, allocations: 108.8 kB / 0.6846 GB, free: 127.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003854/0.8261, allocations: 0.5374 MB / 0.6852 GB, free: 127.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003261/0.8294, allocations: 2.294 MB / 0.6874 GB, free: 126.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004272/0.8337, allocations: 5.203 MB / 0.6925 GB, free: 121.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007302/0.841, allocations: 8.245 MB / 0.7005 GB, free: 115.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-05/0.8411, allocations: 28.88 kB / 0.7006 GB, free: 115.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01383/0.855, allocations: 8.248 MB / 0.7086 GB, free: 112.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001585/0.8552, allocations: 50.47 kB / 0.7087 GB, free: 112.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002105/0.8554, allocations: 101.6 kB / 0.7088 GB, free: 112.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00298/0.8584, allocations: 0.9363 MB / 0.7097 GB, free: 112.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004355/0.8628, allocations: 1.22 MB / 0.7109 GB, free: 112.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006793/0.8696, allocations: 4.804 MB / 0.7156 GB, free: 110.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003781/0.8734, allocations: 304.2 kB / 0.7158 GB, free: 110.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001024/0.8744, allocations: 316.7 kB / 0.7162 GB, free: 110 MB / 490.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004462/0.8789, allocations: 2.146 MB / 0.7182 GB, free: 109.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000648/0.8796, allocations: 274 kB / 0.7185 GB, free: 108.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00838/0.888, allocations: 5.116 MB / 0.7235 GB, free: 107.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.795e-05/0.8881, allocations: 52.7 kB / 0.7236 GB, free: 107.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.8881, allocations: 0 / 0.7236 GB, free: 107.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.677e-05/0.8881, allocations: 15.16 kB / 0.7236 GB, free: 107.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01727/0.9054, allocations: 11.86 MB / 0.7352 GB, free: 100 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.86e-05/0.9054, allocations: 8.938 kB / 0.7352 GB, free: 100 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001555/0.907, allocations: 395.8 kB / 0.7355 GB, free: 99.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002083/0.9091, allocations: 0.7868 MB / 0.7363 GB, free: 99.23 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002557/0.9094, allocations: 48.53 kB / 0.7364 GB, free: 99.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004146/0.9135, allocations: 4.086 MB / 0.7403 GB, free: 95.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/0.9136, allocations: 19.88 kB / 0.7404 GB, free: 95.38 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008751/0.9223, allocations: 7.597 MB / 0.7478 GB, free: 87.62 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006588/0.923, allocations: 333.4 kB / 0.7481 GB, free: 87.28 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003811/0.9234, allocations: 49.02 kB / 0.7481 GB, free: 87.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.9246, allocations: 149 kB / 0.7483 GB, free: 87.09 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003117/0.9249, allocations: 156.8 kB / 0.7484 GB, free: 86.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001579/0.9251, allocations: 77.95 kB / 0.7485 GB, free: 86.86 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002077/0.9272, allocations: 1.657 MB / 0.7501 GB, free: 85.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.9272, allocations: 0 / 0.7501 GB, free: 85.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004031/0.9312, allocations: 0.9887 MB / 0.7511 GB, free: 84.21 MB / 490.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004437/0.9317, allocations: 192.7 kB / 0.7513 GB, free: 84.02 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007226/0.9389, allocations: 5.579 MB / 0.7567 GB, free: 78.46 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/0.939, allocations: 4 kB / 0.7567 GB, free: 78.45 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002587/0.9416, allocations: 2.141 MB / 0.7588 GB, free: 76.31 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005249/0.9469, allocations: 384.5 kB / 0.7592 GB, free: 75.94 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01587/0.9628, allocations: 12.54 MB / 0.7714 GB, free: 63.23 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00308/0.9659, allocations: 3.382 MB / 0.7747 GB, free: 59.82 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001231/0.9671, allocations: 259.4 kB / 0.775 GB, free: 59.56 MB / 490.7 MB Notification: Performance of SimCode: time 1.303e-06/0.9672, allocations: 0 / 0.775 GB, free: 59.56 MB / 490.7 MB Notification: Performance of Templates: time 0.07761/1.045, allocations: 74.53 MB / 0.8478 GB, free: 1.082 MB / 0.4948 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Cylindrical --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches