Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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=5000,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_trunk_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_ModelicaTest.MultiBody.Joints.Cylindrical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001088/0.001088, allocations: 122.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001076/0.001076, allocations: 202 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 227.4 MB / 246.9 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2278/0.2278, allocations: 46.1 MB / 344.3 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 75.88 kB / 481.3 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4226/0.424, allocations: 62.43 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01525/0.4393, allocations: 13.5 MB / 0.5442 GB, free: 3.004 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01165/0.4509, allocations: 4.173 MB / 0.5483 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004409/0.4554, allocations: 72.22 kB / 0.5483 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004871/0.4603, allocations: 1.816 MB / 0.5501 GB, free: 14.08 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007314/0.4677, allocations: 1.864 MB / 0.5519 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002152/0.4699, allocations: 0.542 MB / 0.5524 GB, free: 11.67 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007933/0.4778, allocations: 3.895 MB / 0.5563 GB, free: 7.766 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005672/0.4836, allocations: 2.689 MB / 0.5589 GB, free: 5.031 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003713/0.4873, allocations: 1.378 MB / 0.5602 GB, free: 3.648 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003765/0.4911, allocations: 1.939 MB / 0.5621 GB, free: 1.703 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001606/0.4927, allocations: 292 kB / 0.5624 GB, free: 1.418 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00353/0.4963, allocations: 0.9946 MB / 0.5634 GB, free: 432 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00365/0.5, allocations: 1.749 MB / 0.5651 GB, free: 14.67 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004821/0.5048, allocations: 2.092 MB / 0.5671 GB, free: 12.56 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009713/0.5145, allocations: 6.884 MB / 0.5738 GB, free: 5.656 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.5146, allocations: 0 / 0.5738 GB, free: 5.656 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5146, allocations: 0 / 0.5738 GB, free: 5.656 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002202/0.5148, allocations: 0 / 0.5738 GB, free: 5.656 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.01158/0.5264, allocations: 4.516 MB / 0.5782 GB, free: 1.07 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/0.5265, allocations: 12.03 kB / 0.5783 GB, free: 1.059 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0103/0.5368, allocations: 3.118 MB / 0.5813 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005198/0.542, allocations: 2.128 MB / 0.5834 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002018/0.5422, allocations: 225.7 kB / 0.5836 GB, free: 11.53 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000892/0.5431, allocations: 287.7 kB / 0.5839 GB, free: 11.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01965/0.5628, allocations: 11.11 MB / 0.5947 GB, free: 15.67 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001281/0.563, allocations: 31.72 kB / 0.5948 GB, free: 15.64 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004786/0.5635, allocations: 135.8 kB / 0.5949 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004905/0.5684, allocations: 2.62 MB / 0.5974 GB, free: 12.88 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02251/0.5909, allocations: 10.37 MB / 0.6076 GB, free: 2.488 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06556/0.6565, allocations: 36.46 MB / 0.6432 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01001/0.6666, allocations: 4.567 MB / 0.6476 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003893/0.6705, allocations: 2.399 MB / 0.65 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001581/0.6722, allocations: 1.319 MB / 0.6513 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.431e-05/0.6723, allocations: 68.42 kB / 0.6513 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=242): time 7.544e-06/0.6723, allocations: 4 kB / 0.6513 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of matching and sorting (n=254): time 0.04487/0.7172, allocations: 17.58 MB / 0.6685 GB, free: 2.641 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.357e-05/0.7173, allocations: 73.41 kB / 0.6686 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005077/0.7224, allocations: 2.727 MB / 0.6712 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000465/0.7229, allocations: 61.61 kB / 0.6713 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002182/0.7251, allocations: 2.779 MB / 0.674 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001282/0.7264, allocations: 0.9134 MB / 0.6749 GB, free: 12 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002916/0.7293, allocations: 1.076 MB / 0.676 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.7294, allocations: 301.1 kB / 0.6762 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003835/0.7333, allocations: 2.314 MB / 0.6785 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005899/0.7392, allocations: 5.222 MB / 0.6836 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0105/0.7497, allocations: 8.269 MB / 0.6917 GB, free: 7.969 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001052/0.7499, allocations: 31.94 kB / 0.6917 GB, free: 7.938 MB / 0.545 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01608/0.766, allocations: 8.297 MB / 0.6998 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001429/0.7661, allocations: 48 kB / 0.6999 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001802/0.7663, allocations: 104 kB / 0.7 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0028/0.7692, allocations: 0.9417 MB / 0.7009 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004312/0.7735, allocations: 1.22 MB / 0.7021 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007099/0.7806, allocations: 5.145 MB / 0.7071 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004077/0.7847, allocations: 299.8 kB / 0.7074 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001315/0.786, allocations: 308 kB / 0.7077 GB, free: 7.43 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.006542/0.7926, allocations: 2.15 MB / 0.7098 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001007/0.7936, allocations: 280.4 kB / 0.71 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3748/1.168, allocations: 5.121 MB / 0.715 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001329/1.169, allocations: 49.77 kB / 0.7151 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.639e-05/1.169, allocations: 5.344 kB / 0.7151 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.745e-05/1.169, allocations: 11.84 kB / 0.7151 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02165/1.19, allocations: 11.86 MB / 0.7267 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.782e-05/1.19, allocations: 7.938 kB / 0.7267 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001515/1.192, allocations: 394.9 kB / 0.7271 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002133/1.194, allocations: 0.7789 MB / 0.7278 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001922/1.194, allocations: 50.06 kB / 0.7279 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00471/1.199, allocations: 4.38 MB / 0.7322 GB, free: 156 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.308e-06/1.199, allocations: 15.28 kB / 0.7322 GB, free: 156 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009319/1.208, allocations: 7.627 MB / 0.7396 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008047/1.209, allocations: 324.4 kB / 0.7399 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003585/1.21, allocations: 51.64 kB / 0.74 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/1.211, allocations: 146.9 kB / 0.7401 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003697/1.211, allocations: 158 kB / 0.7403 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001569/1.211, allocations: 69.83 kB / 0.7403 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002208/1.214, allocations: 1.688 MB / 0.742 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/1.214, allocations: 0 / 0.742 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003885/1.217, allocations: 0.971 MB / 0.7429 GB, free: 150.8 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.0004433/1.218, allocations: 175.6 kB / 0.7431 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0067/1.225, allocations: 5.685 MB / 0.7486 GB, free: 145 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.256e-05/1.225, allocations: 0 / 0.7486 GB, free: 145 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0022/1.227, allocations: 2.153 MB / 0.7508 GB, free: 142.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001909/1.229, allocations: 410.9 kB / 0.7511 GB, free: 142.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01428/1.243, allocations: 10.1 MB / 0.761 GB, free: 132.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002883/1.246, allocations: 3.371 MB / 0.7643 GB, free: 128.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003828/1.25, allocations: 1.978 MB / 0.7662 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009141/1.251, allocations: 219.4 kB / 0.7664 GB, free: 126.6 MB / 0.5606 GB Notification: Performance of SimCode: time 9.21e-07/1.251, allocations: 0 / 0.7664 GB, free: 126.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.05181/1.303, allocations: 31.47 MB / 0.7972 GB, free: 95.36 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches