Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 205.8 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.441/1.441, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2222/0.2222, allocations: 46.96 MB / 360.9 MB, free: 4.117 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 59.91 kB / 0.4961 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3569, allocations: 66.04 MB / 0.5606 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01531/0.3723, allocations: 11.79 MB / 0.5721 GB, free: 8.375 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009775/0.382, allocations: 3.993 MB / 0.576 GB, free: 4.371 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002655/0.3847, allocations: 75.75 kB / 0.5761 GB, free: 4.297 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004397/0.3891, allocations: 1.779 MB / 0.5778 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00646/0.3955, allocations: 1.872 MB / 0.5796 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001932/0.3975, allocations: 0.5497 MB / 0.5802 GB, free: 84 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006184/0.4037, allocations: 3.893 MB / 0.584 GB, free: 12.18 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003427/0.4071, allocations: 2.289 MB / 0.5862 GB, free: 9.84 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002354/0.4094, allocations: 1.39 MB / 0.5876 GB, free: 8.445 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003193/0.4126, allocations: 2.134 MB / 0.5897 GB, free: 6.305 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006236/0.4133, allocations: 295.9 kB / 0.5899 GB, free: 6.016 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002043/0.4153, allocations: 0.9049 MB / 0.5908 GB, free: 5.109 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001931/0.4172, allocations: 1.784 MB / 0.5926 GB, free: 3.32 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002201/0.4194, allocations: 1.513 MB / 0.594 GB, free: 1.797 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008868/0.4283, allocations: 6.948 MB / 0.6008 GB, free: 10.82 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.4283, allocations: 0 / 0.6008 GB, free: 10.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4283, allocations: 4 kB / 0.6008 GB, free: 10.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000229/0.4285, allocations: 0 / 0.6008 GB, free: 10.82 MB / 446.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.01191/0.4404, allocations: 4.581 MB / 0.6053 GB, free: 6.176 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.4405, allocations: 8.031 kB / 0.6053 GB, free: 6.168 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001549/0.442, allocations: 0.7697 MB / 0.6061 GB, free: 5.387 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01099/0.453, allocations: 3.153 MB / 0.6091 GB, free: 2.227 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006543/0.4596, allocations: 2.298 MB / 0.6114 GB, free: 15.89 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002592/0.4598, allocations: 217.6 kB / 0.6116 GB, free: 15.68 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00132/0.4612, allocations: 291.8 kB / 0.6119 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01834/0.4795, allocations: 11.11 MB / 0.6227 GB, free: 3.816 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-05/0.4796, allocations: 39.69 kB / 0.6228 GB, free: 3.777 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000403/0.48, allocations: 131.8 kB / 0.6229 GB, free: 3.648 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004522/0.4845, allocations: 2.624 MB / 0.6255 GB, free: 1.02 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02109/0.5056, allocations: 10.34 MB / 0.6355 GB, free: 6.66 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05973/0.5653, allocations: 34.64 MB / 0.6694 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009007/0.5743, allocations: 3.473 MB / 0.6728 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003266/0.5776, allocations: 2.22 MB / 0.6749 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009329/0.5785, allocations: 453.2 kB / 0.6754 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.892e-05/0.5786, allocations: 52.56 kB / 0.6754 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=242): time 5.38e-06/0.5786, allocations: 0 / 0.6754 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=254): time 0.04033/0.6189, allocations: 17.48 MB / 0.6925 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/0.619, allocations: 73.41 kB / 0.6926 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004024/0.623, allocations: 2.925 MB / 0.6954 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003669/0.6234, allocations: 57.7 kB / 0.6955 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002143/0.6255, allocations: 2.878 MB / 0.6983 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001169/0.6267, allocations: 0.9649 MB / 0.6992 GB, free: 4.457 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00158/0.6283, allocations: 1.069 MB / 0.7003 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.6284, allocations: 301.1 kB / 0.7006 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00343/0.6318, allocations: 2.31 MB / 0.7028 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005915/0.6377, allocations: 5.214 MB / 0.7079 GB, free: 10.13 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01049/0.6482, allocations: 8.253 MB / 0.716 GB, free: 468 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.883e-05/0.6483, allocations: 28 kB / 0.716 GB, free: 440 kB / 0.545 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01486/0.6632, allocations: 8.279 MB / 0.7241 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.52e-05/0.6632, allocations: 51.94 kB / 0.7241 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001187/0.6634, allocations: 103.9 kB / 0.7242 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002847/0.6662, allocations: 0.9449 MB / 0.7251 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004097/0.6703, allocations: 1.217 MB / 0.7263 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00702/0.6773, allocations: 5 MB / 0.7312 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003419/0.6807, allocations: 291.8 kB / 0.7315 GB, free: 436 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007024/0.6814, allocations: 312 kB / 0.7318 GB, free: 124 kB / 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.2558/0.9372, allocations: 2.146 MB / 0.7339 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005892/0.9378, allocations: 293 kB / 0.7342 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00751/0.9453, allocations: 5.117 MB / 0.7392 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.558e-05/0.9454, allocations: 54.11 kB / 0.7392 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.9454, allocations: 3.781 kB / 0.7392 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-05/0.9454, allocations: 7.875 kB / 0.7392 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01776/0.9632, allocations: 11.41 MB / 0.7504 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.92e-05/0.9632, allocations: 19.73 kB / 0.7504 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001536/0.9647, allocations: 394.9 kB / 0.7508 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002187/0.9669, allocations: 0.7694 MB / 0.7515 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001993/0.9671, allocations: 62.23 kB / 0.7516 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004349/0.9715, allocations: 4.24 MB / 0.7557 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.216e-06/0.9715, allocations: 15.94 kB / 0.7557 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008631/0.9801, allocations: 7.627 MB / 0.7632 GB, free: 134.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007163/0.9808, allocations: 270 kB / 0.7634 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003666/0.9812, allocations: 51.45 kB / 0.7635 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001191/0.9824, allocations: 147.8 kB / 0.7636 GB, free: 134 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003238/0.9827, allocations: 156.8 kB / 0.7638 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001523/0.9829, allocations: 75.89 kB / 0.7639 GB, free: 133.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001842/0.9847, allocations: 1.693 MB / 0.7655 GB, free: 132 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.9847, allocations: 0 / 0.7655 GB, free: 132 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003624/0.9883, allocations: 0.9604 MB / 0.7664 GB, free: 131.1 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.00844/0.9968, allocations: 8.287 MB / 0.7745 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006338/1.003, allocations: 5.436 MB / 0.7798 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-05/1.003, allocations: 0 / 0.7798 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00226/1.005, allocations: 2.001 MB / 0.7818 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002124/1.008, allocations: 389 kB / 0.7822 GB, free: 115 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04954/1.057, allocations: 42.36 MB / 0.8235 GB, free: 68.18 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0033/1.06, allocations: 2.837 MB / 0.8263 GB, free: 65.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00354/1.064, allocations: 1.978 MB / 0.8282 GB, free: 63.32 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002309/1.066, allocations: 1.835 MB / 0.83 GB, free: 61.48 MB / 0.5606 GB Notification: Performance of SimCode: time 1.242e-06/1.066, allocations: 0 / 0.83 GB, free: 61.48 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09709/1.163, allocations: 62.45 MB / 0.891 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.57/15.74, allocations: 7.422 kB / 0.891 GB, free: 15.65 MB / 0.5762 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Cylindrical_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.989076454978203]