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.000924/0.000924, allocations: 201.2 kB / 15.8 MB, free: 6.328 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.223/1.223, allocations: 226.6 MB / 243.1 MB, free: 14.3 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007833/0.0007833, allocations: 99.73 kB / 295.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1711/0.1711, allocations: 44.83 MB / 392 MB, free: 9.34 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002254/0.0002254, allocations: 7.984 kB / 464.7 MB, free: 49.78 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08681/0.08705, allocations: 62.95 MB / 0.5153 GB, free: 2.781 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.1857/0.2728, allocations: 34.31 MB / 0.5488 GB, free: 5.531 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01707/0.2899, allocations: 7.793 MB / 0.5564 GB, free: 272 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007145/0.297, allocations: 159.8 kB / 0.5566 GB, free: 244 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005115/0.3022, allocations: 1.683 MB / 0.5582 GB, free: 15.54 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01321/0.3154, allocations: 5.007 MB / 0.5631 GB, free: 12.17 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002001/0.3174, allocations: 470.8 kB / 0.5636 GB, free: 11.88 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005205/0.3227, allocations: 4.242 MB / 0.5677 GB, free: 7.902 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005309/0.328, allocations: 3.024 MB / 0.5707 GB, free: 4.844 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002923/0.331, allocations: 1.128 MB / 0.5718 GB, free: 3.711 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003385/0.3344, allocations: 1.838 MB / 0.5736 GB, free: 1.867 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009155/0.3353, allocations: 148 kB / 0.5737 GB, free: 1.723 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002232/0.3376, allocations: 0.7645 MB / 0.5745 GB, free: 0.957 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002289/0.3399, allocations: 1.589 MB / 0.576 GB, free: 15.36 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001728/0.3416, allocations: 0.8154 MB / 0.5768 GB, free: 14.54 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00658/0.3482, allocations: 5.278 MB / 0.582 GB, free: 9.25 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.3483, allocations: 4 kB / 0.582 GB, free: 9.246 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.906e-06/0.3483, allocations: 0 / 0.582 GB, free: 9.246 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002836/0.3486, allocations: 0 / 0.582 GB, free: 9.246 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.008669/0.3573, allocations: 3.791 MB / 0.5857 GB, free: 5.387 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.3573, allocations: 8.031 kB / 0.5857 GB, free: 5.379 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01046/0.3678, allocations: 3.203 MB / 0.5888 GB, free: 2.164 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0047/0.3725, allocations: 2.073 MB / 0.5908 GB, free: 40 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002479/0.3728, allocations: 217.5 kB / 0.591 GB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001091/0.3739, allocations: 291.7 kB / 0.5913 GB, free: 15.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01666/0.3906, allocations: 11.1 MB / 0.6022 GB, free: 3.977 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001145/0.3907, allocations: 31.66 kB / 0.6022 GB, free: 3.945 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006235/0.3914, allocations: 127.8 kB / 0.6023 GB, free: 3.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004157/0.3955, allocations: 2.628 MB / 0.6049 GB, free: 1.184 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01723/0.4128, allocations: 10.34 MB / 0.615 GB, free: 6.824 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04706/0.4599, allocations: 36.71 MB / 0.6508 GB, free: 1.199 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008068/0.468, allocations: 4.552 MB / 0.6553 GB, free: 12.42 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002996/0.471, allocations: 2.394 MB / 0.6576 GB, free: 10.03 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001091/0.4721, allocations: 1.315 MB / 0.6589 GB, free: 8.492 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.422e-05/0.4722, allocations: 60.56 kB / 0.6589 GB, free: 8.422 MB / 474.7 MB Notification: Performance of pre-optimization done (n=242): time 4.839e-06/0.4722, allocations: 0 / 0.6589 GB, free: 8.422 MB / 474.7 MB Notification: Performance of matching and sorting (n=254): time 0.03725/0.5094, allocations: 17.52 MB / 0.6761 GB, free: 6.824 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.5095, allocations: 77.41 kB / 0.6761 GB, free: 6.738 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003908/0.5134, allocations: 2.719 MB / 0.6788 GB, free: 4.004 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001897/0.5136, allocations: 61.69 kB / 0.6788 GB, free: 3.938 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00193/0.5156, allocations: 2.78 MB / 0.6816 GB, free: 1.117 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008623/0.5164, allocations: 0.9172 MB / 0.6824 GB, free: 192 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002707/0.5167, allocations: 104 kB / 0.6825 GB, free: 88 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000375/0.5171, allocations: 0.5336 MB / 0.6831 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003343/0.5205, allocations: 2.298 MB / 0.6853 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004889/0.5254, allocations: 5.202 MB / 0.6904 GB, free: 6.613 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00453/0.5299, allocations: 3.454 MB / 0.6938 GB, free: 3.156 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.182e-05/0.53, allocations: 31.95 kB / 0.6938 GB, free: 3.125 MB / 0.4948 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01318/0.5432, allocations: 8.247 MB / 0.7019 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.87e-05/0.5433, allocations: 48 kB / 0.7019 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001405/0.5434, allocations: 100 kB / 0.702 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002587/0.546, allocations: 0.9452 MB / 0.7029 GB, free: 9.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003739/0.5498, allocations: 1.224 MB / 0.7041 GB, free: 8.543 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006331/0.5561, allocations: 4.812 MB / 0.7088 GB, free: 3.602 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003267/0.5594, allocations: 303.8 kB / 0.7091 GB, free: 3.305 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007319/0.5602, allocations: 312 kB / 0.7094 GB, free: 3 MB / 0.5105 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 (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.003758/0.564, allocations: 2.143 MB / 0.7115 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005089/0.5645, allocations: 272.4 kB / 0.7117 GB, free: 0.5781 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2032/0.7677, allocations: 5.109 MB / 0.7167 GB, free: 162.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.315e-05/0.7678, allocations: 51.17 kB / 0.7168 GB, free: 162.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.208e-06/0.7678, allocations: 6.156 kB / 0.7168 GB, free: 162.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.06e-05/0.7678, allocations: 9.703 kB / 0.7168 GB, free: 162.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01793/0.7857, allocations: 11.87 MB / 0.7284 GB, free: 158.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.88e-05/0.7858, allocations: 10.41 kB / 0.7284 GB, free: 158.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001552/0.7874, allocations: 398.8 kB / 0.7288 GB, free: 158.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002122/0.7895, allocations: 0.7761 MB / 0.7295 GB, free: 158.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001513/0.7897, allocations: 47.12 kB / 0.7296 GB, free: 158.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004425/0.7941, allocations: 4.091 MB / 0.7336 GB, free: 155.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/0.7941, allocations: 13.78 kB / 0.7336 GB, free: 155.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008473/0.8026, allocations: 7.596 MB / 0.741 GB, free: 153.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004485/0.8031, allocations: 334.5 kB / 0.7413 GB, free: 153 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002695/0.8033, allocations: 49.36 kB / 0.7414 GB, free: 153 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/0.8043, allocations: 147.7 kB / 0.7415 GB, free: 153 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002223/0.8046, allocations: 153.1 kB / 0.7417 GB, free: 153 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001288/0.8047, allocations: 75.03 kB / 0.7417 GB, free: 152.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001762/0.8065, allocations: 1.658 MB / 0.7434 GB, free: 152.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8065, allocations: 2.656 kB / 0.7434 GB, free: 152.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002993/0.8095, allocations: 0.9869 MB / 0.7443 GB, free: 152.2 MB / 0.5105 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 (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.000325/0.8098, allocations: 194.2 kB / 0.7445 GB, free: 152.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005498/0.8153, allocations: 5.581 MB / 0.75 GB, free: 149.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.8153, allocations: 4 kB / 0.75 GB, free: 149.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002001/0.8174, allocations: 2.146 MB / 0.7521 GB, free: 147.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00153/0.8189, allocations: 378 kB / 0.7524 GB, free: 147 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01167/0.8306, allocations: 12.55 MB / 0.7647 GB, free: 134.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002386/0.833, allocations: 3.378 MB / 0.768 GB, free: 131.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008736/0.8339, allocations: 255.4 kB / 0.7682 GB, free: 131.1 MB / 0.5105 GB Notification: Performance of SimCode: time 7.41e-07/0.8339, allocations: 0.6562 kB / 0.7682 GB, free: 131.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.06409/0.898, allocations: 74.71 MB / 0.8412 GB, free: 56.43 MB / 0.5105 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