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.00179/0.00179, 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.002277/0.002277, allocations: 207.5 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.479/1.479, allocations: 230.5 MB / 257.4 MB, free: 7.738 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.2303/0.2303, allocations: 46.95 MB / 360.8 MB, free: 3.898 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.002631/0.002631, allocations: 95.78 kB / 0.4962 GB, free: 7.508 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.343, allocations: 66.09 MB / 0.5607 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.0152/0.3582, allocations: 11.78 MB / 0.5722 GB, free: 8.141 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009227/0.3675, allocations: 3.989 MB / 0.5761 GB, free: 4.141 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002229/0.3697, allocations: 79.69 kB / 0.5762 GB, free: 4.062 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003855/0.3735, allocations: 1.787 MB / 0.5779 GB, free: 2.27 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004615/0.3782, allocations: 1.871 MB / 0.5797 GB, free: 404 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0014/0.3796, allocations: 0.5459 MB / 0.5803 GB, free: 15.85 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005263/0.3848, allocations: 3.894 MB / 0.5841 GB, free: 11.95 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003314/0.3881, allocations: 2.274 MB / 0.5863 GB, free: 9.617 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002302/0.3904, allocations: 1.39 MB / 0.5877 GB, free: 8.223 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003052/0.3935, allocations: 2.036 MB / 0.5897 GB, free: 6.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007006/0.3942, allocations: 292 kB / 0.5899 GB, free: 5.895 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001913/0.3961, allocations: 0.8893 MB / 0.5908 GB, free: 5.004 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001925/0.398, allocations: 1.792 MB / 0.5925 GB, free: 3.207 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002239/0.4003, allocations: 1.51 MB / 0.594 GB, free: 1.688 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008396/0.4087, allocations: 6.952 MB / 0.6008 GB, free: 10.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.4087, allocations: 0 / 0.6008 GB, free: 10.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4087, allocations: 0 / 0.6008 GB, free: 10.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001882/0.4089, allocations: 0 / 0.6008 GB, free: 10.71 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.009475/0.4183, allocations: 4.581 MB / 0.6053 GB, free: 6.066 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.4184, allocations: 8.031 kB / 0.6053 GB, free: 6.059 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001432/0.4198, allocations: 0.7658 MB / 0.606 GB, free: 5.281 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0109/0.4307, allocations: 3.153 MB / 0.6091 GB, free: 2.121 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005935/0.4366, allocations: 2.298 MB / 0.6114 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002155/0.4369, allocations: 221.6 kB / 0.6116 GB, free: 15.57 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001157/0.438, allocations: 287.8 kB / 0.6118 GB, free: 15.29 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0204/0.4584, allocations: 11.11 MB / 0.6227 GB, free: 3.703 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001126/0.4585, allocations: 31.77 kB / 0.6227 GB, free: 3.672 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004335/0.459, allocations: 127.8 kB / 0.6229 GB, free: 3.547 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004575/0.4635, allocations: 2.624 MB / 0.6254 GB, free: 0.918 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0215/0.485, allocations: 10.34 MB / 0.6355 GB, free: 6.555 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05675/0.5418, allocations: 34.64 MB / 0.6693 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008812/0.5506, allocations: 3.477 MB / 0.6727 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003587/0.5542, allocations: 2.22 MB / 0.6749 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008921/0.5551, allocations: 445.1 kB / 0.6753 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.737e-05/0.5551, allocations: 56.56 kB / 0.6754 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=242): time 4.819e-06/0.5551, allocations: 0 / 0.6754 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=254): time 0.03986/0.595, allocations: 17.48 MB / 0.6925 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.123e-05/0.5951, allocations: 73.41 kB / 0.6925 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005314/0.6004, allocations: 2.913 MB / 0.6954 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007257/0.6011, allocations: 61.69 kB / 0.6954 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002634/0.6037, allocations: 2.882 MB / 0.6983 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001343/0.6051, allocations: 0.961 MB / 0.6992 GB, free: 4.355 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001656/0.6067, allocations: 1.073 MB / 0.7002 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.6069, allocations: 305.1 kB / 0.7005 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003648/0.6105, allocations: 2.31 MB / 0.7028 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00662/0.6171, allocations: 5.21 MB / 0.7079 GB, free: 10.03 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01181/0.6289, allocations: 8.261 MB / 0.7159 GB, free: 352 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001345/0.6291, allocations: 28 kB / 0.716 GB, free: 324 kB / 0.545 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01617/0.6452, allocations: 8.275 MB / 0.724 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.748e-05/0.6453, allocations: 48 kB / 0.7241 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001298/0.6455, allocations: 100 kB / 0.7242 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0028/0.6483, allocations: 0.9455 MB / 0.7251 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004315/0.6526, allocations: 1.216 MB / 0.7263 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007346/0.6599, allocations: 4.998 MB / 0.7312 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003686/0.6636, allocations: 295.8 kB / 0.7315 GB, free: 320 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008111/0.6644, allocations: 304 kB / 0.7318 GB, free: 16 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.2578/0.9222, allocations: 2.15 MB / 0.7339 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006727/0.9229, allocations: 292.6 kB / 0.7341 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007515/0.9304, allocations: 5.122 MB / 0.7391 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.485e-05/0.9305, allocations: 46.02 kB / 0.7392 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/0.9305, allocations: 7.781 kB / 0.7392 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.301e-05/0.9305, allocations: 11.58 kB / 0.7392 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01668/0.9472, allocations: 11.42 MB / 0.7503 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-05/0.9472, allocations: 11.75 kB / 0.7504 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001558/0.9488, allocations: 395.6 kB / 0.7507 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002069/0.9508, allocations: 0.7772 MB / 0.7515 GB, free: 145 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002924/0.9511, allocations: 51.33 kB / 0.7515 GB, free: 145 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004314/0.9554, allocations: 4.24 MB / 0.7557 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/0.9554, allocations: 15.94 kB / 0.7557 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008697/0.9641, allocations: 7.634 MB / 0.7632 GB, free: 133.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007279/0.9649, allocations: 272.2 kB / 0.7634 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003667/0.9652, allocations: 47.94 kB / 0.7635 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/0.9664, allocations: 149.8 kB / 0.7636 GB, free: 133.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000305/0.9667, allocations: 163.5 kB / 0.7638 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001394/0.9668, allocations: 74.3 kB / 0.7638 GB, free: 133.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001922/0.9687, allocations: 1.689 MB / 0.7655 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9687, allocations: 0 / 0.7655 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003907/0.9726, allocations: 0.9649 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.009078/0.9817, allocations: 8.288 MB / 0.7745 GB, free: 122.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006729/0.9884, allocations: 5.422 MB / 0.7798 GB, free: 117 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.471e-05/0.9885, allocations: 0 / 0.7798 GB, free: 117 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002236/0.9907, allocations: 2.004 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.002435/0.9931, allocations: 398.6 kB / 0.7821 GB, free: 114.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04759/1.041, allocations: 42.37 MB / 0.8235 GB, free: 67.85 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003058/1.044, allocations: 2.836 MB / 0.8263 GB, free: 64.97 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003569/1.047, allocations: 1.978 MB / 0.8282 GB, free: 62.99 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002267/1.05, allocations: 1.827 MB / 0.83 GB, free: 61.16 MB / 0.5606 GB Notification: Performance of SimCode: time 1.914e-06/1.05, allocations: 0 / 0.83 GB, free: 61.16 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09643/1.146, allocations: 60.02 MB / 0.8886 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.66/16.8, allocations: 14.25 kB / 0.8886 GB, free: 1.621 MB / 0.5606 GB " [Timeout remaining time 643] (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: 19.98751703929156]