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.001128/0.001128, allocations: 114.4 kB / 17.78 MB, free: 5.258 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.001091/0.001091, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.375/1.375, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.2233/0.2233, allocations: 44.18 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001488, allocations: 63.89 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3459, allocations: 60.82 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01463/0.3606, allocations: 13.55 MB / 0.5317 GB, free: 9.668 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009035/0.3697, allocations: 4.16 MB / 0.5357 GB, free: 6.477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002329/0.372, allocations: 75.84 kB / 0.5358 GB, free: 6.461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003999/0.376, allocations: 1.811 MB / 0.5376 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00509/0.3812, allocations: 1.884 MB / 0.5394 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001523/0.3827, allocations: 0.5582 MB / 0.54 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006473/0.3892, allocations: 3.871 MB / 0.5437 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004438/0.3937, allocations: 2.696 MB / 0.5464 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002662/0.3964, allocations: 1.39 MB / 0.5477 GB, free: 13.99 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002981/0.3994, allocations: 1.951 MB / 0.5496 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000979/0.4004, allocations: 292 kB / 0.5499 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002583/0.403, allocations: 1.006 MB / 0.5509 GB, free: 10.74 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002226/0.4052, allocations: 1.765 MB / 0.5526 GB, free: 8.973 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003498/0.4087, allocations: 2.128 MB / 0.5547 GB, free: 6.832 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009069/0.4178, allocations: 6.987 MB / 0.5615 GB, free: 15.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.4179, allocations: 0 / 0.5615 GB, free: 15.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4179, allocations: 0 / 0.5615 GB, free: 15.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002504/0.4181, allocations: 0 / 0.5615 GB, free: 15.82 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.01072/0.4289, allocations: 4.683 MB / 0.5661 GB, free: 11.05 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.4289, allocations: 8.031 kB / 0.5661 GB, free: 11.05 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001812/0.4307, allocations: 0.7619 MB / 0.5668 GB, free: 10.27 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01124/0.442, allocations: 3.153 MB / 0.5699 GB, free: 7.113 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006342/0.4484, allocations: 2.468 MB / 0.5723 GB, free: 4.594 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002358/0.4487, allocations: 225.5 kB / 0.5725 GB, free: 4.371 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001379/0.4501, allocations: 283.8 kB / 0.5728 GB, free: 4.094 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02161/0.4717, allocations: 11.11 MB / 0.5837 GB, free: 8.512 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001658/0.4719, allocations: 27.77 kB / 0.5837 GB, free: 8.484 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001188/0.4731, allocations: 135.8 kB / 0.5838 GB, free: 8.352 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004753/0.4779, allocations: 2.628 MB / 0.5864 GB, free: 5.719 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02221/0.5001, allocations: 10.37 MB / 0.5965 GB, free: 11.33 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06181/0.562, allocations: 36.54 MB / 0.6322 GB, free: 5.883 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01033/0.5723, allocations: 4.571 MB / 0.6367 GB, free: 1.078 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003855/0.5762, allocations: 2.4 MB / 0.639 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001481/0.5778, allocations: 1.319 MB / 0.6403 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.038e-05/0.5778, allocations: 56.56 kB / 0.6403 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=242): time 6.462e-06/0.5779, allocations: 0 / 0.6403 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=254): time 0.04422/0.6221, allocations: 17.67 MB / 0.6576 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/0.6222, allocations: 69.41 kB / 0.6577 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003858/0.6261, allocations: 2.752 MB / 0.6604 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002922/0.6264, allocations: 61.7 kB / 0.6604 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001935/0.6283, allocations: 2.89 MB / 0.6632 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001098/0.6294, allocations: 0.9571 MB / 0.6642 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001754/0.6312, allocations: 1.076 MB / 0.6652 GB, free: 3.457 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.6313, allocations: 301.1 kB / 0.6655 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0038/0.6352, allocations: 2.31 MB / 0.6678 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006648/0.6418, allocations: 5.217 MB / 0.6729 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01162/0.6535, allocations: 8.257 MB / 0.6809 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001359/0.6537, allocations: 28 kB / 0.681 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01745/0.6711, allocations: 8.294 MB / 0.6891 GB, free: 8.195 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001682/0.6714, allocations: 48 kB / 0.6891 GB, free: 8.148 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002023/0.6716, allocations: 104 kB / 0.6892 GB, free: 8.047 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003032/0.6746, allocations: 0.9416 MB / 0.6901 GB, free: 7.105 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004751/0.6794, allocations: 1.217 MB / 0.6913 GB, free: 5.887 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007775/0.6872, allocations: 5.129 MB / 0.6963 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004246/0.6915, allocations: 299.8 kB / 0.6966 GB, free: 332 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001232/0.6928, allocations: 311.9 kB / 0.6969 GB, free: 20 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.005419/0.6982, allocations: 2.15 MB / 0.699 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009727/0.6992, allocations: 297.9 kB / 0.6993 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01113/0.7103, allocations: 5.125 MB / 0.7043 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.26e-05/0.7105, allocations: 48 kB / 0.7043 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.809e-05/0.7105, allocations: 4 kB / 0.7043 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.51e-05/0.7105, allocations: 11.95 kB / 0.7043 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02699/0.7375, allocations: 11.88 MB / 0.7159 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-05/0.7376, allocations: 8 kB / 0.716 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002073/0.7397, allocations: 395.4 kB / 0.7163 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002661/0.7424, allocations: 0.7778 MB / 0.7171 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004903/0.7429, allocations: 47.98 kB / 0.7171 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006301/0.7492, allocations: 4.39 MB / 0.7214 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.538e-05/0.7493, allocations: 20 kB / 0.7214 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3019/1.051, allocations: 7.637 MB / 0.7289 GB, free: 180.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009546/1.052, allocations: 340.1 kB / 0.7292 GB, free: 180.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0012/1.053, allocations: 48.02 kB / 0.7293 GB, free: 180.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002436/1.056, allocations: 145.2 kB / 0.7294 GB, free: 180.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008883/1.057, allocations: 160.6 kB / 0.7296 GB, free: 180.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004961/1.057, allocations: 71.64 kB / 0.7296 GB, free: 180.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004477/1.062, allocations: 1.695 MB / 0.7313 GB, free: 180.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.62e-07/1.062, allocations: 1.25 kB / 0.7313 GB, free: 180.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006279/1.068, allocations: 0.9844 MB / 0.7322 GB, free: 180.4 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.01538/1.084, allocations: 8.294 MB / 0.7403 GB, free: 177.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009722/1.093, allocations: 5.672 MB / 0.7459 GB, free: 175.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.611e-05/1.093, allocations: 2.438 kB / 0.7459 GB, free: 175.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00322/1.097, allocations: 2.154 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.003983/1.101, allocations: 403.5 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.06557/1.166, allocations: 42.27 MB / 0.7897 GB, free: 136.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005925/1.172, allocations: 3.379 MB / 0.793 GB, free: 133.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004634/1.177, allocations: 1.978 MB / 0.7949 GB, free: 131.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003512/1.18, allocations: 1.839 MB / 0.7967 GB, free: 129.6 MB / 0.5762 GB Notification: Performance of SimCode: time 1.302e-06/1.181, allocations: 0 / 0.7967 GB, free: 129.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.097/1.278, allocations: 59.7 MB / 0.855 GB, free: 70.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.29/23.56, allocations: 12.97 kB / 0.855 GB, free: 70.29 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