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.001648/0.001648, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.002126/0.002126, allocations: 207.5 kB / 20.75 MB, free: 2.312 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.616/1.616, allocations: 230.4 MB / 254 MB, free: 15.01 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.2426/0.2426, allocations: 46.91 MB / 357 MB, free: 10.2 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.002489/0.002489, allocations: 79.88 kB / 0.491 GB, free: 7.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1398, allocations: 66.05 MB / 0.5555 GB, free: 5.543 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.0174/0.1572, allocations: 13.56 MB / 0.5687 GB, free: 7.914 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01118/0.1683, allocations: 4.194 MB / 0.5728 GB, free: 3.703 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003431/0.1718, allocations: 83.69 kB / 0.5729 GB, free: 3.621 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004273/0.176, allocations: 1.833 MB / 0.5747 GB, free: 1.781 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005313/0.1814, allocations: 1.856 MB / 0.5765 GB, free: 15.92 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001612/0.183, allocations: 0.5537 MB / 0.577 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005943/0.1889, allocations: 3.9 MB / 0.5808 GB, free: 11.46 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003431/0.1923, allocations: 2.31 MB / 0.5831 GB, free: 9.098 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002536/0.1949, allocations: 1.398 MB / 0.5845 GB, free: 7.695 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003188/0.1981, allocations: 2.13 MB / 0.5865 GB, free: 5.559 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007902/0.1989, allocations: 292 kB / 0.5868 GB, free: 5.273 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002217/0.2011, allocations: 1.03 MB / 0.5878 GB, free: 4.242 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001971/0.203, allocations: 1.784 MB / 0.5896 GB, free: 2.453 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002761/0.2058, allocations: 2.096 MB / 0.5916 GB, free: 352 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3544/0.5602, allocations: 6.914 MB / 0.5984 GB, free: 9.887 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.048e-05/0.5602, allocations: 4.906 kB / 0.5984 GB, free: 9.887 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.5602, allocations: 0.5 kB / 0.5984 GB, free: 9.887 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004128/0.5606, allocations: 0.8125 kB / 0.5984 GB, free: 9.887 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.01778/0.5784, allocations: 4.657 MB / 0.6029 GB, free: 7.918 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/0.5785, allocations: 9.281 kB / 0.6029 GB, free: 7.918 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003277/0.5817, allocations: 0.7665 MB / 0.6037 GB, free: 7.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01298/0.5947, allocations: 3.157 MB / 0.6068 GB, free: 7.527 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007368/0.6021, allocations: 2.35 MB / 0.6091 GB, free: 6.996 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000313/0.6024, allocations: 215.9 kB / 0.6093 GB, free: 6.988 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002381/0.6048, allocations: 293 kB / 0.6095 GB, free: 6.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02608/0.6309, allocations: 11.11 MB / 0.6204 GB, free: 3.992 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001452/0.631, allocations: 27.95 kB / 0.6204 GB, free: 3.988 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007194/0.6317, allocations: 135.7 kB / 0.6205 GB, free: 3.938 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004656/0.6364, allocations: 2.623 MB / 0.6231 GB, free: 3.098 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02234/0.6587, allocations: 10.38 MB / 0.6332 GB, free: 13.9 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06647/0.7252, allocations: 36.55 MB / 0.6689 GB, free: 9.09 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01012/0.7353, allocations: 4.386 MB / 0.6732 GB, free: 4.48 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003813/0.7391, allocations: 2.219 MB / 0.6754 GB, free: 2.266 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001564/0.7407, allocations: 1.323 MB / 0.6767 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.049e-05/0.7407, allocations: 62 kB / 0.6767 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of pre-optimization done (n=242): time 5.951e-06/0.7408, allocations: 0 / 0.6767 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of matching and sorting (n=254): time 0.04471/0.7855, allocations: 17.64 MB / 0.694 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.96e-05/0.7855, allocations: 73.41 kB / 0.694 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00469/0.7902, allocations: 2.753 MB / 0.6967 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005196/0.7907, allocations: 53.7 kB / 0.6968 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00249/0.7932, allocations: 2.894 MB / 0.6996 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001781/0.795, allocations: 0.9576 MB / 0.7005 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002212/0.7972, allocations: 1.076 MB / 0.7016 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.7974, allocations: 305.1 kB / 0.7019 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004097/0.8015, allocations: 2.31 MB / 0.7041 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007504/0.809, allocations: 5.208 MB / 0.7092 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01187/0.8209, allocations: 8.253 MB / 0.7173 GB, free: 4.762 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.929e-05/0.8209, allocations: 32 kB / 0.7173 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01841/0.8394, allocations: 8.281 MB / 0.7254 GB, free: 12.87 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.309e-05/0.8394, allocations: 52.95 kB / 0.7254 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000154/0.8396, allocations: 103.4 kB / 0.7255 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003097/0.8427, allocations: 0.9411 MB / 0.7265 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004844/0.8475, allocations: 1.216 MB / 0.7277 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008318/0.8559, allocations: 5.144 MB / 0.7327 GB, free: 5.293 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004764/0.8606, allocations: 301.7 kB / 0.733 GB, free: 5.004 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001331/0.862, allocations: 300 kB / 0.7332 GB, free: 4.711 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.006522/0.8685, allocations: 2.147 MB / 0.7353 GB, free: 2.551 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009983/0.8695, allocations: 297.9 kB / 0.7356 GB, free: 2.258 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01106/0.8805, allocations: 5.115 MB / 0.7406 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.42e-05/0.8806, allocations: 46.33 kB / 0.7407 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.8806, allocations: 0 / 0.7407 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.327e-05/0.8806, allocations: 11.95 kB / 0.7407 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02521/0.9059, allocations: 11.86 MB / 0.7523 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.219e-05/0.9059, allocations: 16.94 kB / 0.7523 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002109/0.908, allocations: 399.3 kB / 0.7527 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002757/0.9108, allocations: 0.7743 MB / 0.7534 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000475/0.9112, allocations: 56.81 kB / 0.7535 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006644/0.9179, allocations: 4.388 MB / 0.7578 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.381e-05/0.9179, allocations: 15.94 kB / 0.7578 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01366/0.9316, allocations: 7.632 MB / 0.7652 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009933/0.9325, allocations: 339.2 kB / 0.7655 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005837/0.9331, allocations: 50.11 kB / 0.7656 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00138/0.9345, allocations: 143.8 kB / 0.7657 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004061/0.9349, allocations: 156.9 kB / 0.7659 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002197/0.9351, allocations: 70.97 kB / 0.766 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00308/0.9382, allocations: 1.693 MB / 0.7676 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9382, allocations: 0 / 0.7676 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005028/0.9432, allocations: 0.9609 MB / 0.7685 GB, free: 68 kB / 0.5762 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.01374/0.957, allocations: 8.297 MB / 0.7766 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01186/0.9688, allocations: 5.411 MB / 0.7819 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.424e-05/0.9689, allocations: 0 / 0.7819 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004208/0.9731, allocations: 1.996 MB / 0.7839 GB, free: 208 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00285/0.9759, allocations: 399.2 kB / 0.7843 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07632/1.052, allocations: 42.25 MB / 0.8255 GB, free: 1.117 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006064/1.058, allocations: 3.377 MB / 0.8288 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.004628/1.063, allocations: 1.978 MB / 0.8308 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00354/1.066, allocations: 1.839 MB / 0.8325 GB, free: 9.883 MB / 0.6544 GB Notification: Performance of SimCode: time 1.884e-06/1.066, allocations: 0 / 0.8325 GB, free: 9.883 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4242/1.491, allocations: 60.02 MB / 0.8912 GB, free: 215.5 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.06/24.55, allocations: 11.55 kB / 0.8912 GB, free: 215.4 MB / 0.6544 GB " [Timeout remaining time 635] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 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.csv","/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: 28.019552011974156]