Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008524/0.0008524, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008458/0.0008458, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8711/0.8711, allocations: 158.6 MB / 185 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1363/0.1363, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 406.8 MB, free: 13.51 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.153e-05/2.344e-05, allocations: 9.453 kB / 406.9 MB, free: 13.5 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.0113/0.01132, allocations: 12.15 MB / 419 MB, free: 1.297 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006054/0.01737, allocations: 4.026 MB / 423 MB, free: 13.25 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001059/0.01843, allocations: 75.75 kB / 423.1 MB, free: 13.18 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002212/0.02065, allocations: 1.891 MB / 425 MB, free: 11.28 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002216/0.02286, allocations: 1.983 MB / 427 MB, free: 9.289 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007014/0.02356, allocations: 0.608 MB / 427.6 MB, free: 8.68 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00272/0.02628, allocations: 4.303 MB / 431.9 MB, free: 4.367 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001778/0.02806, allocations: 2.582 MB / 434.5 MB, free: 1.734 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1675/0.1956, allocations: 2.18 MB / 436.7 MB, free: 18.02 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003862/0.1994, allocations: 2.168 MB / 438.8 MB, free: 18.02 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008695/0.2003, allocations: 299.1 kB / 439.1 MB, free: 18.02 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001819/0.2021, allocations: 0.9776 MB / 440.1 MB, free: 18.02 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001632/0.2038, allocations: 1.928 MB / 442 MB, free: 18.02 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001628/0.2054, allocations: 1.19 MB / 443.2 MB, free: 18.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005788/0.2112, allocations: 7.089 MB / 450.3 MB, free: 17.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2112, allocations: 0 / 450.3 MB, free: 17.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.2112, allocations: 0 / 450.3 MB, free: 17.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.613e-05/0.2112, allocations: 0 / 450.3 MB, free: 17.36 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1684 * Number of variables: 1684 Notification: Performance of Generate backend data structure: time 0.005316/0.2166, allocations: 4.707 MB / 455 MB, free: 14.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.2166, allocations: 10 kB / 455 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006206/0.2172, allocations: 0.7866 MB / 455.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005367/0.2226, allocations: 3.23 MB / 459 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002287/0.2249, allocations: 2.321 MB / 461.4 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.808e-05/0.225, allocations: 223.4 kB / 461.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003691/0.2253, allocations: 299.4 kB / 461.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008387/0.2337, allocations: 11.32 MB / 473.2 MB, free: 4.477 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.583e-05/0.2338, allocations: 36.59 kB / 473.2 MB, free: 4.453 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002735/0.234, allocations: 136.2 kB / 473.4 MB, free: 4.367 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002177/0.2362, allocations: 2.698 MB / 476.1 MB, free: 1.695 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01077/0.247, allocations: 10.45 MB / 486.5 MB, free: 7.355 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03131/0.2783, allocations: 35.68 MB / 0.5099 GB, free: 3.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004862/0.2832, allocations: 3.583 MB / 0.5134 GB, free: 15.74 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001875/0.285, allocations: 2.217 MB / 0.5156 GB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005144/0.2856, allocations: 448.3 kB / 0.516 GB, free: 13.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.2856, allocations: 52.56 kB / 0.5161 GB, free: 13.03 MB / 426.7 MB Notification: Performance of pre-optimization done (n=242): time 3.997e-06/0.2856, allocations: 0 / 0.5161 GB, free: 13.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=254): time 0.02537/0.311, allocations: 18.1 MB / 0.5338 GB, free: 10.96 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/0.311, allocations: 77.34 kB / 0.5338 GB, free: 10.88 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002995/0.314, allocations: 3.179 MB / 0.5369 GB, free: 7.684 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001079/0.3141, allocations: 53.7 kB / 0.537 GB, free: 7.625 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001186/0.3153, allocations: 2.958 MB / 0.5399 GB, free: 4.672 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005423/0.3158, allocations: 0.9363 MB / 0.5408 GB, free: 3.746 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009812/0.3168, allocations: 1.076 MB / 0.5418 GB, free: 2.664 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.711e-05/0.3169, allocations: 308.4 kB / 0.5421 GB, free: 2.363 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002181/0.3191, allocations: 2.326 MB / 0.5444 GB, free: 32 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00346/0.3225, allocations: 5.298 MB / 0.5496 GB, free: 9.328 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006037/0.3286, allocations: 8.37 MB / 0.5578 GB, free: 15.82 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.69e-05/0.3286, allocations: 28 kB / 0.5578 GB, free: 15.79 MB / 474.7 MB Notification: Performance of matching and sorting (n=726) (initialization): time 0.008678/0.3373, allocations: 8.375 MB / 0.566 GB, free: 7.41 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.124e-05/0.3373, allocations: 51.94 kB / 0.566 GB, free: 7.359 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.252e-05/0.3374, allocations: 104 kB / 0.5661 GB, free: 7.258 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001564/0.339, allocations: 0.9456 MB / 0.567 GB, free: 6.309 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002141/0.3411, allocations: 1.244 MB / 0.5683 GB, free: 5.062 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004625/0.3458, allocations: 5.003 MB / 0.5731 GB, free: 15.94 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002279/0.348, allocations: 339.7 kB / 0.5735 GB, free: 15.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002986/0.3483, allocations: 314.2 kB / 0.5738 GB, free: 15.31 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 471 * Number of states: 0 () * Number of discrete variables: 33 (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 (665): * Single equations (assignments): 658 * 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.003059/0.3514, allocations: 2.187 MB / 0.5759 GB, free: 13.11 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002788/0.3517, allocations: 294 kB / 0.5762 GB, free: 12.82 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005465/0.3571, allocations: 5.127 MB / 0.5812 GB, free: 7.672 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.653e-05/0.3572, allocations: 54.89 kB / 0.5812 GB, free: 7.621 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3572, allocations: 0 / 0.5812 GB, free: 7.621 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.3572, allocations: 11.95 kB / 0.5813 GB, free: 7.609 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01539/0.3726, allocations: 11.59 MB / 0.5926 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/0.3726, allocations: 8 kB / 0.5926 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009126/0.3735, allocations: 403.3 kB / 0.593 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001261/0.3748, allocations: 0.7776 MB / 0.5937 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001247/0.3749, allocations: 48 kB / 0.5938 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003516/0.3784, allocations: 4.263 MB / 0.5979 GB, free: 6.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.253e-06/0.3784, allocations: 15.94 kB / 0.5979 GB, free: 6.254 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007171/0.3856, allocations: 7.617 MB / 0.6054 GB, free: 14.47 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001427/0.387, allocations: 0.6579 MB / 0.606 GB, free: 13.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002481/0.3873, allocations: 47.98 kB / 0.6061 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008248/0.3881, allocations: 181.8 kB / 0.6062 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002322/0.3883, allocations: 160.8 kB / 0.6064 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001095/0.3884, allocations: 73.33 kB / 0.6065 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001956/0.3904, allocations: 1.882 MB / 0.6083 GB, free: 11.47 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2e-07/0.3904, allocations: 0 / 0.6083 GB, free: 11.47 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002925/0.3933, allocations: 1.073 MB / 0.6094 GB, free: 10.4 MB / 0.5105 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.007526/0.4008, allocations: 8.302 MB / 0.6175 GB, free: 1.934 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.1611/0.5619, allocations: 5.455 MB / 0.6228 GB, free: 185.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.597e-05/0.5619, allocations: 1.188 kB / 0.6228 GB, free: 185.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002643/0.5646, allocations: 2.005 MB / 0.6247 GB, free: 185.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002113/0.5667, allocations: 392.2 kB / 0.6251 GB, free: 185.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03808/0.6048, allocations: 43.57 MB / 0.6677 GB, free: 149.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002079/0.6068, allocations: 2.899 MB / 0.6705 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002257/0.6091, allocations: 2.006 MB / 0.6725 GB, free: 144.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001329/0.6104, allocations: 1.887 MB / 0.6743 GB, free: 142.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.483e-06/0.6104, allocations: 4 kB / 0.6743 GB, free: 142.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05615/0.6666, allocations: 62.34 MB / 0.7352 GB, free: 79.81 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.655/10.32, allocations: 7.703 kB / 0.7352 GB, free: 79.81 MB / 0.5105 GB " [Timeout remaining time 650] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 12.425652522593737]