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.001318/0.001318, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.001634/0.001634, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.518/1.518, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.2712/0.2712, allocations: 46.93 MB / 360.9 MB, free: 4.27 MB / 286.1 MB " [Timeout remaining time 179] 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.002319/0.002319, allocations: 75.89 kB / 0.4962 GB, free: 7.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3218, allocations: 66.02 MB / 0.5607 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01697/0.3388, allocations: 13.59 MB / 0.5739 GB, free: 6.809 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0109/0.3497, allocations: 4.223 MB / 0.578 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002962/0.3526, allocations: 79.69 kB / 0.5781 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004695/0.3573, allocations: 1.845 MB / 0.5799 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005683/0.363, allocations: 1.872 MB / 0.5817 GB, free: 14.77 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001886/0.3649, allocations: 0.5575 MB / 0.5823 GB, free: 14.21 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006727/0.3716, allocations: 3.889 MB / 0.5861 GB, free: 10.31 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004083/0.3757, allocations: 2.274 MB / 0.5883 GB, free: 7.984 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002579/0.3783, allocations: 1.401 MB / 0.5897 GB, free: 6.578 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003441/0.3817, allocations: 2.13 MB / 0.5918 GB, free: 4.441 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009619/0.3827, allocations: 296 kB / 0.592 GB, free: 4.152 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002491/0.3852, allocations: 1.026 MB / 0.593 GB, free: 3.125 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002281/0.3875, allocations: 1.78 MB / 0.5948 GB, free: 1.34 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003676/0.3912, allocations: 2.108 MB / 0.5968 GB, free: 15.21 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01016/0.4013, allocations: 6.913 MB / 0.6036 GB, free: 8.277 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.4013, allocations: 0 / 0.6036 GB, free: 8.277 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4013, allocations: 0 / 0.6036 GB, free: 8.277 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002826/0.4016, allocations: 3.938 kB / 0.6036 GB, free: 8.273 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.0127/0.4143, allocations: 4.583 MB / 0.6081 GB, free: 3.633 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.764e-05/0.4144, allocations: 12.03 kB / 0.6081 GB, free: 3.621 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002324/0.4167, allocations: 0.7697 MB / 0.6088 GB, free: 2.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01149/0.4282, allocations: 3.149 MB / 0.6119 GB, free: 15.68 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006822/0.435, allocations: 2.283 MB / 0.6141 GB, free: 13.36 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003039/0.4353, allocations: 221.5 kB / 0.6143 GB, free: 13.14 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001545/0.4368, allocations: 291.8 kB / 0.6146 GB, free: 12.86 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02234/0.4592, allocations: 11.11 MB / 0.6255 GB, free: 1.281 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001072/0.4593, allocations: 35.7 kB / 0.6255 GB, free: 1.246 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004562/0.4597, allocations: 131.8 kB / 0.6256 GB, free: 1.117 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004561/0.4643, allocations: 2.62 MB / 0.6282 GB, free: 14.49 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0224/0.4867, allocations: 10.38 MB / 0.6383 GB, free: 4.098 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06845/0.5552, allocations: 36.4 MB / 0.6739 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009192/0.5644, allocations: 3.48 MB / 0.6773 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004042/0.5684, allocations: 2.226 MB / 0.6795 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001146/0.5695, allocations: 453.2 kB / 0.6799 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.281e-05/0.5696, allocations: 52.56 kB / 0.6799 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=242): time 7.164e-06/0.5696, allocations: 0 / 0.6799 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of matching and sorting (n=254): time 0.04535/0.615, allocations: 17.43 MB / 0.697 GB, free: 7.109 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.514e-05/0.615, allocations: 73.41 kB / 0.697 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004914/0.62, allocations: 2.743 MB / 0.6997 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002516/0.6202, allocations: 73.62 kB / 0.6998 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002667/0.6229, allocations: 2.886 MB / 0.7026 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001722/0.6246, allocations: 0.9532 MB / 0.7035 GB, free: 324 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002498/0.6271, allocations: 1.077 MB / 0.7046 GB, free: 15.23 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.6272, allocations: 305.1 kB / 0.7049 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004073/0.6313, allocations: 2.31 MB / 0.7071 GB, free: 12.61 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007449/0.6388, allocations: 5.21 MB / 0.7122 GB, free: 5.98 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01306/0.6518, allocations: 8.257 MB / 0.7203 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001072/0.6519, allocations: 28 kB / 0.7203 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01743/0.6694, allocations: 8.271 MB / 0.7284 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001767/0.6695, allocations: 52 kB / 0.7284 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002998/0.6698, allocations: 104.2 kB / 0.7285 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003211/0.6731, allocations: 0.941 MB / 0.7294 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004494/0.6775, allocations: 1.217 MB / 0.7306 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.296/0.9736, allocations: 5.036 MB / 0.7355 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003234/0.9768, allocations: 303.9 kB / 0.7358 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005489/0.9774, allocations: 304.1 kB / 0.7361 GB, free: 149.8 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.002998/0.9804, allocations: 2.151 MB / 0.7382 GB, free: 149 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004638/0.9808, allocations: 290.5 kB / 0.7385 GB, free: 149 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007189/0.988, allocations: 5.123 MB / 0.7435 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.854e-05/0.9881, allocations: 48.5 kB / 0.7436 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.9881, allocations: 3.812 kB / 0.7436 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.726e-05/0.9881, allocations: 13.55 kB / 0.7436 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01534/1.003, allocations: 11.83 MB / 0.7551 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.822e-05/1.003, allocations: 8.875 kB / 0.7551 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001497/1.005, allocations: 399.6 kB / 0.7555 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002094/1.007, allocations: 0.7783 MB / 0.7563 GB, free: 141.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001776/1.007, allocations: 51 kB / 0.7563 GB, free: 141.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004334/1.012, allocations: 4.28 MB / 0.7605 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.217e-06/1.012, allocations: 15.94 kB / 0.7605 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008991/1.021, allocations: 7.637 MB / 0.768 GB, free: 129.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006601/1.021, allocations: 260.8 kB / 0.7682 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003903/1.022, allocations: 47.98 kB / 0.7683 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/1.023, allocations: 147.7 kB / 0.7684 GB, free: 129.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002997/1.023, allocations: 160.5 kB / 0.7686 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000156/1.023, allocations: 75.44 kB / 0.7686 GB, free: 129.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001998/1.025, allocations: 1.695 MB / 0.7703 GB, free: 127.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.025, allocations: 112 / 0.7703 GB, free: 127.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003355/1.029, allocations: 0.9615 MB / 0.7712 GB, free: 126.6 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.008421/1.037, allocations: 8.292 MB / 0.7793 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006481/1.043, allocations: 5.42 MB / 0.7846 GB, free: 112.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/1.043, allocations: 4.062 kB / 0.7846 GB, free: 112.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002111/1.046, allocations: 1.996 MB / 0.7866 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001831/1.047, allocations: 404.3 kB / 0.787 GB, free: 110.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04734/1.095, allocations: 42.36 MB / 0.8283 GB, free: 63.62 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002814/1.098, allocations: 3.371 MB / 0.8316 GB, free: 60.21 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003374/1.101, allocations: 1.978 MB / 0.8336 GB, free: 58.23 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002101/1.103, allocations: 1.835 MB / 0.8353 GB, free: 56.39 MB / 0.5606 GB Notification: Performance of SimCode: time 1.002e-06/1.103, allocations: 4 kB / 0.8353 GB, free: 56.39 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1019/1.205, allocations: 64.58 MB / 0.8984 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.48/25.69, allocations: 7.438 kB / 0.8984 GB, free: 8.203 MB / 0.5762 GB " [Timeout remaining time 634] (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: 29.18576632696204]