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.001447/0.001447, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001536/0.001537, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.561/1.561, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2627/0.2627, allocations: 46.12 MB / 344.4 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002519/0.002519, allocations: 79.88 kB / 480.9 MB, free: 4.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4069/0.4094, allocations: 62.45 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01831/0.4278, allocations: 13.52 MB / 0.5438 GB, free: 2.738 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0118/0.4396, allocations: 4.169 MB / 0.5479 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003756/0.4435, allocations: 68.22 kB / 0.548 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004851/0.4483, allocations: 1.811 MB / 0.5497 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006196/0.4547, allocations: 1.816 MB / 0.5515 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002114/0.4568, allocations: 0.5459 MB / 0.552 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006825/0.4637, allocations: 3.897 MB / 0.5559 GB, free: 7.75 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004424/0.4681, allocations: 2.695 MB / 0.5585 GB, free: 5.008 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003299/0.4715, allocations: 1.362 MB / 0.5598 GB, free: 3.641 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003959/0.4755, allocations: 1.939 MB / 0.5617 GB, free: 1.695 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001196/0.4767, allocations: 288 kB / 0.562 GB, free: 1.414 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003127/0.4799, allocations: 0.9908 MB / 0.5629 GB, free: 432 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002978/0.4829, allocations: 1.753 MB / 0.5647 GB, free: 14.66 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004975/0.4879, allocations: 2.104 MB / 0.5667 GB, free: 12.55 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01145/0.4994, allocations: 6.914 MB / 0.5735 GB, free: 5.605 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.257e-05/0.4995, allocations: 3.984 kB / 0.5735 GB, free: 5.602 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.4995, allocations: 0 / 0.5735 GB, free: 5.602 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002872/0.4998, allocations: 0 / 0.5735 GB, free: 5.602 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.01356/0.5133, allocations: 4.656 MB / 0.578 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.255e-05/0.5134, allocations: 12.03 kB / 0.578 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002234/0.5156, allocations: 0.7658 MB / 0.5788 GB, free: 80 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01195/0.5276, allocations: 3.151 MB / 0.5819 GB, free: 12.92 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006019/0.5337, allocations: 2.351 MB / 0.5842 GB, free: 10.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002447/0.534, allocations: 214.9 kB / 0.5844 GB, free: 10.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001342/0.5354, allocations: 295.8 kB / 0.5846 GB, free: 10.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0219/0.5573, allocations: 11.11 MB / 0.5955 GB, free: 14.44 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001435/0.5575, allocations: 27.77 kB / 0.5955 GB, free: 14.41 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009752/0.5585, allocations: 135.8 kB / 0.5956 GB, free: 14.28 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004969/0.5634, allocations: 2.624 MB / 0.5982 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02273/0.5862, allocations: 10.38 MB / 0.6083 GB, free: 1.254 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06166/0.6479, allocations: 36.55 MB / 0.644 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01/0.658, allocations: 4.571 MB / 0.6485 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003767/0.6618, allocations: 2.4 MB / 0.6508 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001447/0.6633, allocations: 1.315 MB / 0.6521 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.802e-05/0.6634, allocations: 56.5 kB / 0.6522 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=242): time 5.099e-06/0.6634, allocations: 0 / 0.6522 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of matching and sorting (n=254): time 0.04539/0.7088, allocations: 17.66 MB / 0.6694 GB, free: 1.273 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.169e-05/0.7089, allocations: 73.41 kB / 0.6695 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00486/0.7138, allocations: 2.751 MB / 0.6722 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006013/0.7144, allocations: 57.7 kB / 0.6722 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002829/0.7172, allocations: 2.886 MB / 0.675 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001724/0.719, allocations: 0.9531 MB / 0.676 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0024/0.7214, allocations: 1.08 MB / 0.677 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.7216, allocations: 301.1 kB / 0.6773 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004488/0.7261, allocations: 2.314 MB / 0.6796 GB, free: 6.781 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008109/0.7343, allocations: 5.21 MB / 0.6847 GB, free: 152 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01307/0.7474, allocations: 8.257 MB / 0.6927 GB, free: 6.473 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001085/0.7475, allocations: 32 kB / 0.6928 GB, free: 6.441 MB / 0.545 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01919/0.7667, allocations: 8.287 MB / 0.7009 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000101/0.7669, allocations: 48 kB / 0.7009 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001808/0.7671, allocations: 107.9 kB / 0.701 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003047/0.7701, allocations: 0.9375 MB / 0.7019 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004845/0.775, allocations: 1.217 MB / 0.7031 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007898/0.7829, allocations: 5.141 MB / 0.7081 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003817/0.7868, allocations: 295.8 kB / 0.7084 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009389/0.7878, allocations: 308 kB / 0.7087 GB, free: 5.961 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 (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.004523/0.7923, allocations: 2.147 MB / 0.7108 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006943/0.793, allocations: 294 kB / 0.7111 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01027/0.8033, allocations: 5.14 MB / 0.7161 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.311e-05/0.8034, allocations: 47.98 kB / 0.7161 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.406e-05/0.8034, allocations: 4 kB / 0.7161 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-05/0.8035, allocations: 11.95 kB / 0.7162 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02555/0.829, allocations: 11.87 MB / 0.7277 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.745e-05/0.8291, allocations: 12 kB / 0.7278 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00195/0.8311, allocations: 395.4 kB / 0.7281 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002633/0.8337, allocations: 0.7773 MB / 0.7289 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004434/0.8342, allocations: 48 kB / 0.7289 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2993/1.133, allocations: 4.376 MB / 0.7332 GB, free: 175.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.424e-05/1.134, allocations: 18.12 kB / 0.7332 GB, free: 175.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01265/1.146, allocations: 7.641 MB / 0.7407 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008783/1.147, allocations: 342.4 kB / 0.741 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008313/1.148, allocations: 44.03 kB / 0.7411 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001651/1.15, allocations: 150.1 kB / 0.7412 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005128/1.15, allocations: 151 kB / 0.7414 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002052/1.15, allocations: 77.88 kB / 0.7414 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002836/1.153, allocations: 1.689 MB / 0.7431 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.91e-07/1.153, allocations: 3.812 kB / 0.7431 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005159/1.158, allocations: 0.9628 MB / 0.744 GB, free: 172 MB / 0.5762 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.01089/1.169, allocations: 8.302 MB / 0.7521 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007811/1.177, allocations: 5.668 MB / 0.7577 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.371e-05/1.177, allocations: 9.109 kB / 0.7577 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002772/1.18, allocations: 2.146 MB / 0.7598 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002643/1.183, allocations: 412.1 kB / 0.7602 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05901/1.242, allocations: 42.26 MB / 0.8014 GB, free: 117 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004946/1.247, allocations: 3.367 MB / 0.8047 GB, free: 113.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003794/1.251, allocations: 1.982 MB / 0.8067 GB, free: 111.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002632/1.253, allocations: 1.835 MB / 0.8084 GB, free: 109.8 MB / 0.5762 GB Notification: Performance of SimCode: time 1.072e-06/1.253, allocations: 2.297 kB / 0.8084 GB, free: 109.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09812/1.351, allocations: 59.6 MB / 0.8666 GB, free: 50.49 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.99/25.34, allocations: 5.312 kB / 0.8667 GB, free: 50.49 MB / 0.5762 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