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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 109.8 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 183.1 kB / 18.71 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2442/0.2442, allocations: 44.18 MB / 336.8 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 67.89 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4048/0.4064, allocations: 60.81 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.0157/0.4221, allocations: 13.56 MB / 0.5317 GB, free: 9.668 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01035/0.4325, allocations: 4.157 MB / 0.5357 GB, free: 6.484 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003125/0.4357, allocations: 68 kB / 0.5358 GB, free: 6.477 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004181/0.4399, allocations: 1.827 MB / 0.5376 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005637/0.4456, allocations: 1.876 MB / 0.5394 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001689/0.4473, allocations: 0.5547 MB / 0.5399 GB, free: 3.582 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007523/0.4548, allocations: 3.87 MB / 0.5437 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00535/0.4602, allocations: 2.703 MB / 0.5464 GB, free: 15.4 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003219/0.4635, allocations: 1.382 MB / 0.5477 GB, free: 14.01 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003635/0.4671, allocations: 1.955 MB / 0.5496 GB, free: 12.05 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001301/0.4685, allocations: 292 kB / 0.5499 GB, free: 11.77 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003109/0.4716, allocations: 1.01 MB / 0.5509 GB, free: 10.75 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002683/0.4743, allocations: 1.765 MB / 0.5526 GB, free: 8.984 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003629/0.478, allocations: 2.124 MB / 0.5547 GB, free: 6.848 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008357/0.4863, allocations: 6.984 MB / 0.5615 GB, free: 15.83 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.4864, allocations: 0 / 0.5615 GB, free: 15.83 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.4864, allocations: 0 / 0.5615 GB, free: 15.83 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001893/0.4866, allocations: 0 / 0.5615 GB, free: 15.83 MB / 430.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.00922/0.4958, allocations: 4.683 MB / 0.5661 GB, free: 11.07 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.4959, allocations: 8.031 kB / 0.5661 GB, free: 11.07 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009535/0.4968, allocations: 0.7658 MB / 0.5668 GB, free: 10.29 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01023/0.5071, allocations: 3.157 MB / 0.5699 GB, free: 7.125 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00507/0.5122, allocations: 2.464 MB / 0.5723 GB, free: 4.609 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002042/0.5124, allocations: 217.6 kB / 0.5725 GB, free: 4.395 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008819/0.5133, allocations: 287.8 kB / 0.5728 GB, free: 4.113 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01815/0.5314, allocations: 11.12 MB / 0.5837 GB, free: 8.527 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001516/0.5316, allocations: 27.77 kB / 0.5837 GB, free: 8.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007884/0.5324, allocations: 135.8 kB / 0.5838 GB, free: 8.367 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004593/0.537, allocations: 2.628 MB / 0.5864 GB, free: 5.734 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02058/0.5576, allocations: 10.37 MB / 0.5965 GB, free: 11.34 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05676/0.6144, allocations: 36.54 MB / 0.6322 GB, free: 5.895 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00881/0.6233, allocations: 4.571 MB / 0.6367 GB, free: 1.09 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003128/0.6264, allocations: 2.396 MB / 0.639 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001146/0.6276, allocations: 1.327 MB / 0.6403 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.045e-05/0.6277, allocations: 52.56 kB / 0.6403 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=242): time 4.709e-06/0.6277, allocations: 0 / 0.6403 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=254): time 0.04134/0.669, allocations: 17.67 MB / 0.6576 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.393e-05/0.6691, allocations: 73.41 kB / 0.6577 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00507/0.6742, allocations: 2.752 MB / 0.6604 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003155/0.6745, allocations: 61.7 kB / 0.6604 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002196/0.6767, allocations: 2.886 MB / 0.6632 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.00122/0.678, allocations: 0.9532 MB / 0.6642 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002266/0.6803, allocations: 1.076 MB / 0.6652 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.6804, allocations: 301.1 kB / 0.6655 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003615/0.684, allocations: 2.31 MB / 0.6678 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006018/0.69, allocations: 5.221 MB / 0.6729 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01037/0.7004, allocations: 8.253 MB / 0.6809 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001195/0.7006, allocations: 28 kB / 0.6809 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01513/0.7157, allocations: 8.286 MB / 0.689 GB, free: 8.223 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001055/0.7158, allocations: 49 kB / 0.6891 GB, free: 8.176 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001769/0.716, allocations: 100 kB / 0.6892 GB, free: 8.078 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002818/0.7189, allocations: 0.9372 MB / 0.6901 GB, free: 7.137 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003906/0.7228, allocations: 1.224 MB / 0.6913 GB, free: 5.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00712/0.7299, allocations: 5.14 MB / 0.6963 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005929/0.7359, allocations: 299.8 kB / 0.6966 GB, free: 352 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0011/0.737, allocations: 304 kB / 0.6969 GB, free: 48 kB / 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.005904/0.7429, allocations: 2.154 MB / 0.699 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001041/0.744, allocations: 297.9 kB / 0.6993 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01085/0.7548, allocations: 5.125 MB / 0.7043 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.623e-05/0.7549, allocations: 47.98 kB / 0.7043 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-05/0.755, allocations: 4 kB / 0.7043 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.624e-05/0.755, allocations: 11.91 kB / 0.7043 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02404/0.7791, allocations: 11.88 MB / 0.7159 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.36e-05/0.7792, allocations: 9 kB / 0.7159 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001833/0.781, allocations: 399.3 kB / 0.7163 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002583/0.7836, allocations: 0.777 MB / 0.7171 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003174/0.7839, allocations: 47.94 kB / 0.7171 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006243/0.7902, allocations: 4.394 MB / 0.7214 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.489e-05/0.7902, allocations: 19.92 kB / 0.7214 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3091/1.099, allocations: 7.639 MB / 0.7289 GB, free: 180.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008403/1.1, allocations: 340.7 kB / 0.7292 GB, free: 180.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005871/1.101, allocations: 49.34 kB / 0.7293 GB, free: 180.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001385/1.102, allocations: 143.2 kB / 0.7294 GB, free: 180.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004306/1.103, allocations: 153.5 kB / 0.7296 GB, free: 180.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001935/1.103, allocations: 79.72 kB / 0.7296 GB, free: 180.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002903/1.106, allocations: 1.692 MB / 0.7313 GB, free: 180.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/1.106, allocations: 0 / 0.7313 GB, free: 180.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0049/1.111, allocations: 0.9847 MB / 0.7322 GB, free: 180.3 MB / 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.01316/1.124, allocations: 8.292 MB / 0.7403 GB, free: 177 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008424/1.132, allocations: 5.676 MB / 0.7459 GB, free: 175.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.488e-05/1.132, allocations: 3.812 kB / 0.7459 GB, free: 175.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002304/1.135, allocations: 2.151 MB / 0.748 GB, free: 174.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002105/1.137, allocations: 397.3 kB / 0.7484 GB, free: 174.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04873/1.186, allocations: 42.29 MB / 0.7897 GB, free: 136.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00313/1.189, allocations: 3.379 MB / 0.793 GB, free: 133.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003473/1.192, allocations: 1.982 MB / 0.7949 GB, free: 131.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001927/1.194, allocations: 1.835 MB / 0.7967 GB, free: 129.6 MB / 0.5762 GB Notification: Performance of SimCode: time 1.192e-06/1.194, allocations: 0 / 0.7967 GB, free: 129.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09033/1.284, allocations: 59.69 MB / 0.855 GB, free: 70.29 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.47/24.75, allocations: 15.88 kB / 0.855 GB, free: 70.28 MB / 0.5762 GB (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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.00044 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches