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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001322/0.001322, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00149/0.00149, allocations: 207.4 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 230.5 MB / 257.4 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2187/0.2187, allocations: 46.94 MB / 360.8 MB, free: 3.91 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002324/0.002324, allocations: 87.84 kB / 0.4962 GB, free: 7.523 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2961, allocations: 66.08 MB / 0.5607 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01573/0.3118, allocations: 11.77 MB / 0.5722 GB, free: 8.176 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008821/0.3206, allocations: 3.985 MB / 0.5761 GB, free: 4.18 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002119/0.3227, allocations: 79.69 kB / 0.5762 GB, free: 4.102 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003944/0.3267, allocations: 1.787 MB / 0.5779 GB, free: 2.309 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004841/0.3315, allocations: 1.872 MB / 0.5797 GB, free: 440 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.3331, allocations: 0.5498 MB / 0.5803 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006096/0.3392, allocations: 3.894 MB / 0.5841 GB, free: 11.98 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00404/0.3433, allocations: 2.266 MB / 0.5863 GB, free: 9.656 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002715/0.346, allocations: 1.394 MB / 0.5877 GB, free: 8.258 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003536/0.3495, allocations: 2.036 MB / 0.5896 GB, free: 6.215 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001049/0.3506, allocations: 296 kB / 0.5899 GB, free: 5.926 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002633/0.3532, allocations: 0.8893 MB / 0.5908 GB, free: 5.035 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002561/0.3558, allocations: 1.792 MB / 0.5925 GB, free: 3.238 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003126/0.3589, allocations: 1.506 MB / 0.594 GB, free: 1.723 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009542/0.3684, allocations: 6.952 MB / 0.6008 GB, free: 10.74 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.3684, allocations: 0 / 0.6008 GB, free: 10.74 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.3684, allocations: 0 / 0.6008 GB, free: 10.74 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002388/0.3687, allocations: 4 kB / 0.6008 GB, free: 10.74 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.01135/0.38, allocations: 4.585 MB / 0.6053 GB, free: 6.094 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/0.3801, allocations: 8.031 kB / 0.6053 GB, free: 6.086 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001964/0.3821, allocations: 0.7658 MB / 0.606 GB, free: 5.309 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01139/0.3934, allocations: 3.153 MB / 0.6091 GB, free: 2.148 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006038/0.3995, allocations: 2.302 MB / 0.6114 GB, free: 15.81 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002151/0.3997, allocations: 217.6 kB / 0.6116 GB, free: 15.6 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009295/0.4006, allocations: 291.8 kB / 0.6119 GB, free: 15.31 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02051/0.4211, allocations: 11.11 MB / 0.6227 GB, free: 3.734 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001174/0.4213, allocations: 27.77 kB / 0.6227 GB, free: 3.707 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005521/0.4218, allocations: 135.8 kB / 0.6229 GB, free: 3.574 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004982/0.4268, allocations: 2.624 MB / 0.6254 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02161/0.4484, allocations: 10.35 MB / 0.6355 GB, free: 6.578 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05826/0.5067, allocations: 34.64 MB / 0.6694 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009181/0.5158, allocations: 3.469 MB / 0.6727 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003758/0.5196, allocations: 2.22 MB / 0.6749 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001075/0.5207, allocations: 445.1 kB / 0.6753 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.933e-05/0.5207, allocations: 52.56 kB / 0.6754 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=242): time 6.963e-06/0.5207, allocations: 4 kB / 0.6754 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of matching and sorting (n=254): time 0.04218/0.5629, allocations: 17.49 MB / 0.6925 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.151e-05/0.563, allocations: 73.41 kB / 0.6925 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004397/0.5674, allocations: 2.913 MB / 0.6954 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004024/0.5678, allocations: 65.61 kB / 0.6954 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00237/0.5702, allocations: 2.882 MB / 0.6983 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001268/0.5714, allocations: 0.9571 MB / 0.6992 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001804/0.5732, allocations: 1.073 MB / 0.7002 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.5734, allocations: 301.1 kB / 0.7005 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003843/0.5772, allocations: 2.31 MB / 0.7028 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007048/0.5843, allocations: 5.21 MB / 0.7079 GB, free: 10.06 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01141/0.5957, allocations: 8.261 MB / 0.7159 GB, free: 384 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000124/0.5958, allocations: 28 kB / 0.716 GB, free: 356 kB / 0.545 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01628/0.6121, allocations: 8.276 MB / 0.724 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.811e-05/0.6122, allocations: 48.19 kB / 0.7241 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001431/0.6123, allocations: 104 kB / 0.7242 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002883/0.6152, allocations: 0.9333 MB / 0.7251 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004232/0.6194, allocations: 1.224 MB / 0.7263 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00765/0.6271, allocations: 5.008 MB / 0.7312 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00343/0.6305, allocations: 299.8 kB / 0.7315 GB, free: 344 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008264/0.6313, allocations: 308 kB / 0.7318 GB, free: 36 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.2403/0.8716, allocations: 2.142 MB / 0.7339 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00068/0.8723, allocations: 291.3 kB / 0.7341 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008026/0.8803, allocations: 5.124 MB / 0.7391 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.928e-05/0.8803, allocations: 49.56 kB / 0.7392 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/0.8804, allocations: 3.812 kB / 0.7392 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.877e-05/0.8804, allocations: 11.34 kB / 0.7392 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01744/0.8978, allocations: 11.42 MB / 0.7503 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.136e-05/0.8978, allocations: 8 kB / 0.7504 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001602/0.8994, allocations: 401.8 kB / 0.7507 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002145/0.9016, allocations: 0.7766 MB / 0.7515 GB, free: 145 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001841/0.9018, allocations: 47.42 kB / 0.7515 GB, free: 145 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004386/0.9062, allocations: 4.243 MB / 0.7557 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.794e-06/0.9062, allocations: 15.94 kB / 0.7557 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008936/0.9151, allocations: 7.628 MB / 0.7632 GB, free: 133.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006433/0.9157, allocations: 269.8 kB / 0.7634 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004071/0.9161, allocations: 51.92 kB / 0.7635 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/0.9173, allocations: 147.8 kB / 0.7636 GB, free: 133.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002851/0.9176, allocations: 160.8 kB / 0.7638 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001435/0.9177, allocations: 71.52 kB / 0.7638 GB, free: 133.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001803/0.9195, allocations: 1.693 MB / 0.7655 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9195, allocations: 0 / 0.7655 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003202/0.9227, allocations: 0.9614 MB / 0.7664 GB, free: 130.7 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.008553/0.9313, allocations: 8.298 MB / 0.7745 GB, free: 122.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006306/0.9376, allocations: 5.416 MB / 0.7798 GB, free: 117 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.486e-05/0.9376, allocations: 4 kB / 0.7798 GB, free: 117 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00215/0.9398, allocations: 1.997 MB / 0.7818 GB, free: 115 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001939/0.9417, allocations: 404.1 kB / 0.7821 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04247/0.9842, allocations: 42.36 MB / 0.8235 GB, free: 67.87 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002656/0.9868, allocations: 2.836 MB / 0.8263 GB, free: 64.99 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003349/0.9902, allocations: 1.974 MB / 0.8282 GB, free: 63.01 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001904/0.9921, allocations: 1.831 MB / 0.83 GB, free: 61.18 MB / 0.5606 GB Notification: Performance of SimCode: time 1.313e-06/0.9921, allocations: 4 kB / 0.83 GB, free: 61.18 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09419/1.086, allocations: 60.02 MB / 0.8886 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.11/16.2, allocations: 15.12 kB / 0.8886 GB, free: 1.633 MB / 0.5606 GB " [Timeout remaining time 644] (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 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 19.378956472035497]