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.001724/0.001724, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001965/0.001965, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2394/0.2394, allocations: 46.1 MB / 344.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 75.16 kB / 417.6 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1502, allocations: 62.45 MB / 480 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.0151/0.1653, allocations: 13.51 MB / 493.5 MB, free: 7.734 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01072/0.1761, allocations: 4.162 MB / 497.7 MB, free: 3.559 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002471/0.1786, allocations: 71.81 kB / 497.8 MB, free: 3.488 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003484/0.1821, allocations: 1.814 MB / 499.6 MB, free: 1.668 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004642/0.1868, allocations: 1.802 MB / 0.4896 GB, free: 15.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00134/0.1881, allocations: 0.5498 MB / 0.4902 GB, free: 15.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004947/0.1931, allocations: 3.893 MB / 0.494 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003187/0.1963, allocations: 2.697 MB / 0.4966 GB, free: 8.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002048/0.1984, allocations: 1.359 MB / 0.4979 GB, free: 7.297 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002385/0.2008, allocations: 1.947 MB / 0.4998 GB, free: 5.344 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006271/0.2014, allocations: 292 kB / 0.5001 GB, free: 5.059 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001977/0.2034, allocations: 0.9908 MB / 0.5011 GB, free: 4.066 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001486/0.2049, allocations: 1.745 MB / 0.5028 GB, free: 2.316 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001933/0.2068, allocations: 2.092 MB / 0.5048 GB, free: 216 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2867/0.4936, allocations: 6.594 MB / 0.5113 GB, free: 17.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.887e-06/0.4937, allocations: 0.75 kB / 0.5113 GB, free: 17.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4937, allocations: 1.156 kB / 0.5113 GB, free: 17.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003266/0.494, allocations: 0 / 0.5113 GB, free: 17.34 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: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.01462/0.5086, allocations: 4.517 MB / 0.5157 GB, free: 15.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.5087, allocations: 11.06 kB / 0.5157 GB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01162/0.5203, allocations: 3.109 MB / 0.5187 GB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006348/0.5267, allocations: 2.104 MB / 0.5208 GB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000288/0.527, allocations: 223.1 kB / 0.521 GB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001932/0.529, allocations: 286.8 kB / 0.5213 GB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02195/0.5509, allocations: 11.11 MB / 0.5321 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001212/0.5511, allocations: 36.11 kB / 0.5321 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004433/0.5516, allocations: 132.8 kB / 0.5323 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004101/0.5557, allocations: 2.615 MB / 0.5348 GB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02085/0.5766, allocations: 10.37 MB / 0.545 GB, free: 1.992 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06537/0.642, allocations: 36.7 MB / 0.5808 GB, free: 13 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0102/0.6522, allocations: 4.579 MB / 0.5853 GB, free: 8.207 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003992/0.6563, allocations: 2.4 MB / 0.5876 GB, free: 5.809 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001334/0.6576, allocations: 1.317 MB / 0.5889 GB, free: 4.277 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/0.6577, allocations: 48.56 kB / 0.5889 GB, free: 4.223 MB / 430.1 MB Notification: Performance of pre-optimization done (n=242): time 4.989e-06/0.6577, allocations: 0 / 0.5889 GB, free: 4.223 MB / 430.1 MB Notification: Performance of matching and sorting (n=254): time 0.0459/0.7036, allocations: 17.58 MB / 0.6061 GB, free: 2.613 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.179e-05/0.7038, allocations: 73.41 kB / 0.6062 GB, free: 2.527 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006862/0.7106, allocations: 2.739 MB / 0.6089 GB, free: 15.78 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005608/0.7112, allocations: 60.12 kB / 0.6089 GB, free: 15.72 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002325/0.7136, allocations: 2.767 MB / 0.6116 GB, free: 12.96 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001476/0.7151, allocations: 0.9175 MB / 0.6125 GB, free: 12.05 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002916/0.718, allocations: 1.071 MB / 0.6136 GB, free: 10.97 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.7181, allocations: 305.1 kB / 0.6138 GB, free: 10.67 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004158/0.7223, allocations: 2.318 MB / 0.6161 GB, free: 8.348 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006624/0.7289, allocations: 5.213 MB / 0.6212 GB, free: 1.766 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0114/0.7404, allocations: 8.278 MB / 0.6293 GB, free: 8.496 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001166/0.7405, allocations: 30.62 kB / 0.6293 GB, free: 8.469 MB / 478.1 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01798/0.7585, allocations: 8.287 MB / 0.6374 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001242/0.7587, allocations: 51.98 kB / 0.6375 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002107/0.7589, allocations: 100 kB / 0.6376 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003043/0.7619, allocations: 0.9492 MB / 0.6385 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004775/0.7667, allocations: 1.22 MB / 0.6397 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007609/0.7744, allocations: 5.143 MB / 0.6447 GB, free: 9.086 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005028/0.7794, allocations: 298.5 kB / 0.645 GB, free: 8.797 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001515/0.781, allocations: 304 kB / 0.6453 GB, free: 8.5 MB / 494.1 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 (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.006565/0.7876, allocations: 2.149 MB / 0.6474 GB, free: 6.34 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008617/0.7884, allocations: 280.3 kB / 0.6476 GB, free: 6.062 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009862/0.7983, allocations: 5.128 MB / 0.6526 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.188e-05/0.7984, allocations: 47.98 kB / 0.6527 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.457e-06/0.7984, allocations: 0 / 0.6527 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.401e-05/0.7985, allocations: 19.89 kB / 0.6527 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02143/0.8199, allocations: 11.91 MB / 0.6643 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-05/0.82, allocations: 12 kB / 0.6644 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00163/0.8216, allocations: 395.4 kB / 0.6647 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002385/0.824, allocations: 0.776 MB / 0.6655 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002012/0.8242, allocations: 58.78 kB / 0.6655 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005477/0.8297, allocations: 4.376 MB / 0.6698 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.165e-05/0.8297, allocations: 15.94 kB / 0.6698 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01075/0.8405, allocations: 7.623 MB / 0.6773 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008585/0.8413, allocations: 329.5 kB / 0.6776 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003526/0.8417, allocations: 44 kB / 0.6776 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/0.8429, allocations: 155.4 kB / 0.6778 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003576/0.8433, allocations: 152.9 kB / 0.6779 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001646/0.8435, allocations: 75.98 kB / 0.678 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002583/0.8461, allocations: 1.681 MB / 0.6796 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8461, allocations: 2.625 kB / 0.6796 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004296/0.8504, allocations: 0.9678 MB / 0.6806 GB, free: 3.828 MB / 0.5137 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.0004785/0.8509, allocations: 192.5 kB / 0.6808 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01584/0.8667, allocations: 9.098 MB / 0.6897 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/0.8668, allocations: 0 / 0.6897 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003043/0.8698, allocations: 2.157 MB / 0.6918 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002442/0.8723, allocations: 405.1 kB / 0.6921 GB, free: 8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01966/0.8919, allocations: 10.22 MB / 0.7021 GB, free: 13.63 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003885/0.8959, allocations: 3.367 MB / 0.7054 GB, free: 10.23 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004586/0.9005, allocations: 1.978 MB / 0.7073 GB, free: 8.25 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000672/0.9012, allocations: 219.3 kB / 0.7076 GB, free: 8.035 MB / 0.545 GB Notification: Performance of SimCode: time 1.793e-06/0.9012, allocations: 0 / 0.7076 GB, free: 8.035 MB / 0.545 GB Notification: Performance of Templates: time 0.3263/1.227, allocations: 33.7 MB / 0.7405 GB, free: 189.2 MB / 0.545 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