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: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009563/0.0009563, allocations: 95.94 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001147/0.001147, allocations: 204.3 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1921/0.1921, allocations: 46.18 MB / 345.2 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002732/0.0002732, allocations: 8 kB / 419.6 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1197, allocations: 63.56 MB / 483.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.2468/0.3665, allocations: 36.61 MB / 0.5076 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01728/0.3838, allocations: 8.102 MB / 0.5155 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005684/0.3896, allocations: 154.1 kB / 0.5157 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001195/0.3908, allocations: 474.5 kB / 0.5161 GB, free: 10 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004596/0.3954, allocations: 1.701 MB / 0.5178 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.3966, allocations: 0.514 MB / 0.5183 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006736/0.4034, allocations: 5.443 MB / 0.5236 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004975/0.4084, allocations: 3.375 MB / 0.5269 GB, free: 7.301 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002043/0.4104, allocations: 1.053 MB / 0.5279 GB, free: 6.848 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002415/0.4128, allocations: 1.87 MB / 0.5297 GB, free: 5.949 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003691/0.4132, allocations: 148.5 kB / 0.5299 GB, free: 5.949 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001903/0.4151, allocations: 0.9127 MB / 0.5308 GB, free: 5.547 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001353/0.4165, allocations: 1.616 MB / 0.5323 GB, free: 4.691 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001529/0.418, allocations: 1.951 MB / 0.5342 GB, free: 3.191 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0057/0.4238, allocations: 6.371 MB / 0.5405 GB, free: 15 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4238, allocations: 0 / 0.5405 GB, free: 15 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4238, allocations: 0 / 0.5405 GB, free: 15 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001122/0.4239, allocations: 0 / 0.5405 GB, free: 15 MB / 398.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.006908/0.4308, allocations: 3.697 MB / 0.5441 GB, free: 12.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.4309, allocations: 12.22 kB / 0.5441 GB, free: 12.38 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009501/0.4318, allocations: 0.7659 MB / 0.5448 GB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01095/0.4428, allocations: 3.222 MB / 0.548 GB, free: 9.211 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005201/0.448, allocations: 2.317 MB / 0.5502 GB, free: 6.863 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001691/0.4482, allocations: 215.5 kB / 0.5505 GB, free: 6.695 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007193/0.4489, allocations: 289.8 kB / 0.5507 GB, free: 6.457 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01799/0.4669, allocations: 11.12 MB / 0.5616 GB, free: 11.01 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001002/0.4671, allocations: 23.81 kB / 0.5616 GB, free: 10.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003795/0.4675, allocations: 137.8 kB / 0.5617 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004468/0.4719, allocations: 2.619 MB / 0.5643 GB, free: 8.285 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01872/0.4907, allocations: 10.39 MB / 0.5744 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04575/0.5364, allocations: 36.72 MB / 0.6103 GB, free: 8.473 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008323/0.5448, allocations: 4.587 MB / 0.6148 GB, free: 3.656 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003014/0.5478, allocations: 2.4 MB / 0.6171 GB, free: 1.258 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00116/0.549, allocations: 1.315 MB / 0.6184 GB, free: 15.73 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/0.5491, allocations: 52.5 kB / 0.6185 GB, free: 15.67 MB / 478.1 MB Notification: Performance of pre-optimization done (n=242): time 5.861e-06/0.5491, allocations: 4 kB / 0.6185 GB, free: 15.67 MB / 478.1 MB Notification: Performance of matching and sorting (n=254): time 0.03826/0.5874, allocations: 17.57 MB / 0.6356 GB, free: 14.04 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/0.5875, allocations: 73.41 kB / 0.6357 GB, free: 13.96 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004258/0.5917, allocations: 2.735 MB / 0.6384 GB, free: 11.21 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001776/0.5919, allocations: 61.7 kB / 0.6384 GB, free: 11.14 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001949/0.5939, allocations: 2.775 MB / 0.6411 GB, free: 8.359 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007869/0.5947, allocations: 0.9208 MB / 0.642 GB, free: 7.449 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007579/0.5954, allocations: 470 kB / 0.6425 GB, free: 6.984 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.5956, allocations: 309.1 kB / 0.6428 GB, free: 6.68 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003348/0.5989, allocations: 2.302 MB / 0.645 GB, free: 4.371 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006003/0.605, allocations: 5.217 MB / 0.6501 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009967/0.6149, allocations: 8.253 MB / 0.6582 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.428e-05/0.6151, allocations: 28 kB / 0.6582 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01409/0.6292, allocations: 8.27 MB / 0.6663 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.909e-05/0.6293, allocations: 48 kB / 0.6663 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001438/0.6294, allocations: 104 kB / 0.6664 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002721/0.6322, allocations: 0.945 MB / 0.6673 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003933/0.6361, allocations: 1.216 MB / 0.6685 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006442/0.6426, allocations: 4.786 MB / 0.6732 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003664/0.6463, allocations: 299.8 kB / 0.6735 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008474/0.6471, allocations: 303.9 kB / 0.6738 GB, free: 3.93 MB / 0.5137 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 (653): * Single equations (assignments): 646 * 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.004146/0.6513, allocations: 2.149 MB / 0.6759 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000569/0.6519, allocations: 284.3 kB / 0.6762 GB, free: 1.488 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009164/0.6611, allocations: 5.123 MB / 0.6812 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.336e-05/0.6611, allocations: 47.98 kB / 0.6812 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.6612, allocations: 7.938 kB / 0.6812 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.318e-05/0.6612, allocations: 12.05 kB / 0.6812 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01993/0.6811, allocations: 11.9 MB / 0.6928 GB, free: 220 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-05/0.6812, allocations: 12 kB / 0.6929 GB, free: 208 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001699/0.6829, allocations: 399.6 kB / 0.6932 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002437/0.6854, allocations: 0.7733 MB / 0.694 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000229/0.6856, allocations: 48 kB / 0.694 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005654/0.6913, allocations: 4.088 MB / 0.698 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.394e-05/0.6913, allocations: 12.05 kB / 0.698 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0121/0.7034, allocations: 7.623 MB / 0.7055 GB, free: 2.977 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008884/0.7043, allocations: 329.4 kB / 0.7058 GB, free: 2.633 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006318/0.705, allocations: 47.94 kB / 0.7058 GB, free: 2.586 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001646/0.7066, allocations: 158.3 kB / 0.706 GB, free: 2.434 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004051/0.7071, allocations: 148.9 kB / 0.7061 GB, free: 2.289 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001817/0.7072, allocations: 75.98 kB / 0.7062 GB, free: 2.215 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003388/0.7106, allocations: 1.685 MB / 0.7079 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.51e-07/0.7107, allocations: 8 kB / 0.7079 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.2312/0.9419, allocations: 0.9607 MB / 0.7088 GB, free: 192.2 MB / 0.545 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.01226/0.9542, allocations: 8.277 MB / 0.7169 GB, free: 190.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008566/0.9628, allocations: 5.623 MB / 0.7224 GB, free: 188.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.196e-06/0.9628, allocations: 1.625 kB / 0.7224 GB, free: 188.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002888/0.9657, allocations: 2.15 MB / 0.7245 GB, free: 187.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005096/0.9708, allocations: 390.9 kB / 0.7248 GB, free: 187.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05069/1.022, allocations: 47.54 MB / 0.7713 GB, free: 149.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002921/1.024, allocations: 3.371 MB / 0.7746 GB, free: 146.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003735/1.028, allocations: 1.986 MB / 0.7765 GB, free: 144.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001817/1.03, allocations: 1.831 MB / 0.7783 GB, free: 142.7 MB / 0.545 GB Notification: Performance of SimCode: time 3.427e-06/1.03, allocations: 0 / 0.7783 GB, free: 142.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0683/1.098, allocations: 60.38 MB / 0.8373 GB, free: 82.55 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001588/1.099, allocations: 219.4 kB / 0.8375 GB, free: 82.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.296/4.394, allocations: 3.625 kB / 0.8375 GB, free: 82.3 MB / 0.545 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches