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.001358/0.001358, allocations: 114.3 kB / 18.49 MB, free: 4.539 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.001436/0.001436, allocations: 219 kB / 21.46 MB, free: 1.586 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.654/1.654, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.2631/0.2631, allocations: 46.91 MB / 357.8 MB, free: 10.38 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002222/0.002222, allocations: 59.91 kB / 0.4916 GB, free: 7.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1549, allocations: 65.98 MB / 0.5561 GB, free: 5.871 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01785/0.1728, allocations: 13.57 MB / 0.5693 GB, free: 8.234 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01017/0.183, allocations: 4.194 MB / 0.5734 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002469/0.1854, allocations: 83.69 kB / 0.5735 GB, free: 3.941 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004056/0.1895, allocations: 1.837 MB / 0.5753 GB, free: 2.098 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004826/0.1943, allocations: 1.856 MB / 0.5771 GB, free: 240 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001531/0.1959, allocations: 0.5536 MB / 0.5776 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005864/0.2017, allocations: 3.892 MB / 0.5814 GB, free: 11.78 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003373/0.2051, allocations: 2.318 MB / 0.5837 GB, free: 9.414 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00235/0.2074, allocations: 1.398 MB / 0.5851 GB, free: 8.012 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003368/0.2108, allocations: 2.134 MB / 0.5871 GB, free: 5.871 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007293/0.2115, allocations: 292 kB / 0.5874 GB, free: 5.586 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002244/0.2138, allocations: 1.03 MB / 0.5884 GB, free: 4.555 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002227/0.216, allocations: 1.78 MB / 0.5902 GB, free: 2.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003585/0.2196, allocations: 2.1 MB / 0.5922 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3504/0.57, allocations: 6.906 MB / 0.599 GB, free: 9.902 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.016e-05/0.57, allocations: 4.812 kB / 0.599 GB, free: 9.902 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.57, allocations: 3.906 kB / 0.599 GB, free: 9.902 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004046/0.5704, allocations: 0 / 0.599 GB, free: 9.902 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.01678/0.5872, allocations: 4.661 MB / 0.6035 GB, free: 7.934 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.15e-05/0.5873, allocations: 10.62 kB / 0.6035 GB, free: 7.934 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002921/0.5876, allocations: 102.2 kB / 0.6036 GB, free: 7.926 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002295/0.5899, allocations: 0.7654 MB / 0.6044 GB, free: 7.848 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0128/0.6027, allocations: 3.15 MB / 0.6075 GB, free: 7.535 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007573/0.6103, allocations: 2.349 MB / 0.6097 GB, free: 7.004 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002988/0.6106, allocations: 220.4 kB / 0.61 GB, free: 6.996 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001617/0.6122, allocations: 290.1 kB / 0.6102 GB, free: 6.988 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02287/0.635, allocations: 11.11 MB / 0.6211 GB, free: 3.871 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001561/0.6352, allocations: 31.05 kB / 0.6211 GB, free: 3.863 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006814/0.6359, allocations: 134.8 kB / 0.6212 GB, free: 3.812 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004503/0.6404, allocations: 2.625 MB / 0.6238 GB, free: 2.949 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02046/0.6608, allocations: 10.37 MB / 0.6339 GB, free: 13.67 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07239/0.7332, allocations: 36.56 MB / 0.6696 GB, free: 8.859 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01104/0.7443, allocations: 4.383 MB / 0.6739 GB, free: 4.246 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004186/0.7485, allocations: 2.213 MB / 0.6761 GB, free: 2.035 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0016/0.7501, allocations: 1.321 MB / 0.6774 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.943e-05/0.7501, allocations: 60.5 kB / 0.6774 GB, free: 444 kB / 494.1 MB Notification: Performance of pre-optimization done (n=242): time 6.692e-06/0.7501, allocations: 2.625 kB / 0.6774 GB, free: 444 kB / 494.1 MB Notification: Performance of matching and sorting (n=254): time 0.05114/0.8013, allocations: 17.64 MB / 0.6947 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.978e-05/0.8014, allocations: 77.41 kB / 0.6947 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007698/0.8091, allocations: 2.742 MB / 0.6974 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0008538/0.8099, allocations: 59.53 kB / 0.6975 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003035/0.813, allocations: 2.888 MB / 0.7003 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002258/0.8152, allocations: 0.9637 MB / 0.7012 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004355/0.8196, allocations: 1.075 MB / 0.7023 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002021/0.8198, allocations: 303.1 kB / 0.7026 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005062/0.8248, allocations: 2.313 MB / 0.7048 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008357/0.8332, allocations: 5.209 MB / 0.7099 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01414/0.8473, allocations: 8.253 MB / 0.718 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001311/0.8475, allocations: 36 kB / 0.718 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02246/0.8699, allocations: 8.273 MB / 0.7261 GB, free: 12.63 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002018/0.8701, allocations: 48 kB / 0.7261 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003099/0.8704, allocations: 100 kB / 0.7262 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003567/0.874, allocations: 0.9438 MB / 0.7272 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005496/0.8795, allocations: 1.216 MB / 0.7283 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008935/0.8884, allocations: 5.145 MB / 0.7334 GB, free: 5.059 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00518/0.8936, allocations: 298.3 kB / 0.7336 GB, free: 4.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001652/0.8953, allocations: 304 kB / 0.7339 GB, free: 4.473 MB / 0.545 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.008985/0.9042, allocations: 2.147 MB / 0.736 GB, free: 2.316 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00111/0.9054, allocations: 300.6 kB / 0.7363 GB, free: 2.023 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0111/0.9165, allocations: 5.12 MB / 0.7413 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.645e-05/0.9165, allocations: 43.98 kB / 0.7414 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/0.9165, allocations: 4 kB / 0.7414 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-05/0.9166, allocations: 7.969 kB / 0.7414 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02593/0.9425, allocations: 11.87 MB / 0.753 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.346e-05/0.9425, allocations: 8 kB / 0.753 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001885/0.9444, allocations: 406.9 kB / 0.7534 GB, free: 408 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002754/0.9472, allocations: 0.7696 MB / 0.7541 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003159/0.9475, allocations: 58.02 kB / 0.7542 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00692/0.9544, allocations: 4.379 MB / 0.7584 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.762e-05/0.9544, allocations: 15.94 kB / 0.7585 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01402/0.9684, allocations: 7.632 MB / 0.7659 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009094/0.9693, allocations: 343.2 kB / 0.7662 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005844/0.9699, allocations: 54.17 kB / 0.7663 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001435/0.9714, allocations: 139.8 kB / 0.7664 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000443/0.9718, allocations: 152.9 kB / 0.7666 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002492/0.972, allocations: 78.64 kB / 0.7666 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002905/0.975, allocations: 1.685 MB / 0.7683 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.975, allocations: 0 / 0.7683 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004687/0.9796, allocations: 0.9609 MB / 0.7692 GB, free: 15.84 MB / 0.5919 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.01366/0.9933, allocations: 8.293 MB / 0.7773 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01005/1.003, allocations: 5.418 MB / 0.7826 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.391e-05/1.003, allocations: 4.312 kB / 0.7826 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003597/1.007, allocations: 2.003 MB / 0.7846 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002467/1.009, allocations: 398.8 kB / 0.785 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07722/1.087, allocations: 42.24 MB / 0.8262 GB, free: 0.8828 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005936/1.093, allocations: 3.378 MB / 0.8295 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.004949/1.098, allocations: 1.986 MB / 0.8315 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004125/1.102, allocations: 1.827 MB / 0.8332 GB, free: 9.648 MB / 0.6544 GB Notification: Performance of SimCode: time 1.673e-06/1.102, allocations: 0 / 0.8332 GB, free: 9.648 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3756/1.477, allocations: 60.07 MB / 0.8919 GB, free: 215.5 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.3/24.78, allocations: 28.84 kB / 0.8919 GB, free: 215.5 MB / 0.6544 GB " [Timeout remaining time 635] (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.129284796013962]