Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 116.8 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001956/0.001956, allocations: 189.2 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 225.6 MB / 249.8 MB, free: 3.594 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2244/0.2244, allocations: 44.91 MB / 349.6 MB, free: 1.695 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 73.28 kB / 491.8 MB, free: 30.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1215, allocations: 64.26 MB / 0.543 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01652/0.138, allocations: 13.62 MB / 0.5563 GB, free: 6.398 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009136/0.1472, allocations: 4.182 MB / 0.5604 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00204/0.1492, allocations: 67.88 kB / 0.5605 GB, free: 2.137 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004195/0.1534, allocations: 1.845 MB / 0.5623 GB, free: 292 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004829/0.1582, allocations: 1.88 MB / 0.5641 GB, free: 14.39 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001586/0.1598, allocations: 0.5614 MB / 0.5646 GB, free: 13.83 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005363/0.1652, allocations: 3.867 MB / 0.5684 GB, free: 9.961 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003295/0.1685, allocations: 2.322 MB / 0.5707 GB, free: 7.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002211/0.1707, allocations: 1.39 MB / 0.572 GB, free: 6.195 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002906/0.1736, allocations: 2.134 MB / 0.5741 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000645/0.1742, allocations: 292 kB / 0.5744 GB, free: 3.77 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00221/0.1764, allocations: 1.041 MB / 0.5754 GB, free: 2.727 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001856/0.1783, allocations: 1.803 MB / 0.5772 GB, free: 0.918 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002608/0.1809, allocations: 2.12 MB / 0.5793 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008633/0.1895, allocations: 6.99 MB / 0.5861 GB, free: 7.766 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1895, allocations: 0 / 0.5861 GB, free: 7.766 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1895, allocations: 0 / 0.5861 GB, free: 7.766 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001496/0.1897, allocations: 4 kB / 0.5861 GB, free: 7.762 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.009429/0.1991, allocations: 4.687 MB / 0.5907 GB, free: 2.996 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001277/0.1992, allocations: 12.03 kB / 0.5907 GB, free: 2.984 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001551/0.2008, allocations: 0.7658 MB / 0.5914 GB, free: 2.207 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01105/0.2118, allocations: 3.149 MB / 0.5945 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007228/0.2191, allocations: 2.46 MB / 0.5969 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002623/0.2193, allocations: 225.5 kB / 0.5971 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001513/0.2208, allocations: 283.8 kB / 0.5974 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02236/0.2432, allocations: 11.11 MB / 0.6082 GB, free: 476 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001261/0.2433, allocations: 23.77 kB / 0.6083 GB, free: 452 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005828/0.2439, allocations: 131.8 kB / 0.6084 GB, free: 320 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2557/0.4996, allocations: 2.623 MB / 0.6109 GB, free: 55.45 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02617/0.5258, allocations: 10.38 MB / 0.6211 GB, free: 52.62 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0535/0.5793, allocations: 36.56 MB / 0.6568 GB, free: 23.87 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007173/0.5865, allocations: 4.391 MB / 0.6611 GB, free: 19.25 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002316/0.5888, allocations: 2.22 MB / 0.6632 GB, free: 17.03 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000854/0.5897, allocations: 1.322 MB / 0.6645 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.5897, allocations: 52.56 kB / 0.6646 GB, free: 15.44 MB / 462.1 MB Notification: Performance of pre-optimization done (n=242): time 3.887e-06/0.5897, allocations: 0 / 0.6646 GB, free: 15.44 MB / 462.1 MB Notification: Performance of matching and sorting (n=254): time 0.03288/0.6226, allocations: 17.65 MB / 0.6818 GB, free: 13.96 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.27e-05/0.6227, allocations: 73.41 kB / 0.6819 GB, free: 13.88 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003925/0.6266, allocations: 2.76 MB / 0.6846 GB, free: 11.16 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003122/0.6269, allocations: 57.45 kB / 0.6846 GB, free: 11.1 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002232/0.6291, allocations: 2.89 MB / 0.6875 GB, free: 8.277 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001113/0.6302, allocations: 0.954 MB / 0.6884 GB, free: 7.336 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00155/0.6318, allocations: 1.076 MB / 0.6894 GB, free: 6.254 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.6319, allocations: 301.1 kB / 0.6897 GB, free: 5.957 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003584/0.6355, allocations: 2.306 MB / 0.692 GB, free: 3.645 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006325/0.6418, allocations: 5.216 MB / 0.6971 GB, free: 13.01 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01115/0.653, allocations: 8.253 MB / 0.7051 GB, free: 3.336 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.439e-05/0.6531, allocations: 32 kB / 0.7052 GB, free: 3.305 MB / 494.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01665/0.6697, allocations: 8.27 MB / 0.7132 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.516e-05/0.6698, allocations: 48 kB / 0.7133 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001415/0.6699, allocations: 103.9 kB / 0.7134 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002714/0.6727, allocations: 0.945 MB / 0.7143 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004094/0.6768, allocations: 1.22 MB / 0.7155 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007247/0.684, allocations: 5.144 MB / 0.7205 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003308/0.6873, allocations: 298 kB / 0.7208 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000522/0.6878, allocations: 300 kB / 0.7211 GB, free: 2.848 MB / 0.4981 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.003592/0.6914, allocations: 2.156 MB / 0.7232 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004912/0.6919, allocations: 290 kB / 0.7235 GB, free: 404 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009049/0.701, allocations: 5.131 MB / 0.7285 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-05/0.701, allocations: 47.98 kB / 0.7285 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.701, allocations: 4.875 kB / 0.7285 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.828e-05/0.7011, allocations: 7.969 kB / 0.7285 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02256/0.7236, allocations: 11.88 MB / 0.7401 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.817e-05/0.7236, allocations: 8 kB / 0.7402 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001753/0.7254, allocations: 399.3 kB / 0.7405 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002457/0.7278, allocations: 0.7771 MB / 0.7413 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003253/0.7282, allocations: 44 kB / 0.7413 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006419/0.7346, allocations: 4.395 MB / 0.7456 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.197e-05/0.7346, allocations: 11.94 kB / 0.7456 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01275/0.7473, allocations: 7.628 MB / 0.7531 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009577/0.7483, allocations: 343.2 kB / 0.7534 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005229/0.7488, allocations: 48.05 kB / 0.7535 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0013/0.7501, allocations: 151.7 kB / 0.7536 GB, free: 1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003995/0.7505, allocations: 156.9 kB / 0.7538 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001669/0.7507, allocations: 68 kB / 0.7538 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00305/0.7537, allocations: 1.701 MB / 0.7555 GB, free: 15.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.7537, allocations: 0 / 0.7555 GB, free: 15.07 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004873/0.7586, allocations: 0.9843 MB / 0.7564 GB, free: 14.09 MB / 0.545 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.01271/0.7713, allocations: 8.293 MB / 0.7645 GB, free: 5.625 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009369/0.7807, allocations: 5.419 MB / 0.7698 GB, free: 216 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.32e-05/0.7807, allocations: 0 / 0.7698 GB, free: 216 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003482/0.7842, allocations: 1.993 MB / 0.7718 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00298/0.7872, allocations: 401 kB / 0.7722 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07622/0.8634, allocations: 42.26 MB / 0.8134 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004839/0.8682, allocations: 3.38 MB / 0.8167 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.004549/0.8728, allocations: 1.978 MB / 0.8187 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003085/0.8759, allocations: 1.843 MB / 0.8205 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of SimCode: time 1.172e-06/0.8759, allocations: 0 / 0.8205 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3714/1.247, allocations: 60.13 MB / 0.8792 GB, free: 204.4 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.24/23.49, allocations: 7.5 kB / 0.8792 GB, free: 204.4 MB / 0.6231 GB " [Timeout remaining time 636] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Cylindrical_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 27.159017812926322]