Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.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.001177/0.001177, 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.001463/0.001463, allocations: 173.9 kB / 23.21 MB, free: 1.348 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.9442/0.9442, allocations: 158.6 MB / 185 MB, free: 3.027 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.1391/0.1391, allocations: 32.36 MB / 269.6 MB, free: 14.98 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.Revolute,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 406.8 MB, free: 2.246 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.406e-05/2.629e-05, allocations: 2.281 kB / 406.8 MB, free: 2.242 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.009565/0.009591, allocations: 11.08 MB / 417.9 MB, free: 7.113 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.007053/0.01664, allocations: 3.789 MB / 421.7 MB, free: 3.312 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002369/0.01901, allocations: 71.75 kB / 421.8 MB, free: 3.242 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002873/0.02188, allocations: 1.354 MB / 423.1 MB, free: 1.883 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004303/0.02619, allocations: 1.906 MB / 425 MB, free: 15.96 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.02722, allocations: 0.5221 MB / 425.6 MB, free: 15.45 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004222/0.03144, allocations: 3.995 MB / 429.6 MB, free: 11.44 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002179/0.03362, allocations: 2.132 MB / 431.7 MB, free: 9.266 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002336/0.03596, allocations: 1.902 MB / 433.6 MB, free: 7.359 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002537/0.03849, allocations: 1.968 MB / 435.6 MB, free: 5.387 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004106/0.0389, allocations: 244 kB / 435.8 MB, free: 5.148 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001456/0.04036, allocations: 0.9203 MB / 436.7 MB, free: 4.227 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001158/0.04152, allocations: 1.753 MB / 438.5 MB, free: 2.469 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001076/0.04259, allocations: 1.039 MB / 439.5 MB, free: 1.426 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005757/0.04835, allocations: 6.365 MB / 445.9 MB, free: 11.04 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.04836, allocations: 3.938 kB / 445.9 MB, free: 11.04 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.04836, allocations: 0 / 445.9 MB, free: 11.04 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001869/0.04855, allocations: 0 / 445.9 MB, free: 11.04 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.006305/0.05485, allocations: 4.307 MB / 450.2 MB, free: 6.668 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.0549, allocations: 8.031 kB / 450.2 MB, free: 6.66 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007198/0.05562, allocations: 0.7289 MB / 450.9 MB, free: 5.918 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005907/0.06153, allocations: 3.188 MB / 454.1 MB, free: 2.723 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003783/0.06531, allocations: 2.081 MB / 456.2 MB, free: 0.6094 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/0.06542, allocations: 189.2 kB / 456.4 MB, free: 432 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006221/0.06604, allocations: 256.2 kB / 456.6 MB, free: 176 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01268/0.07872, allocations: 10.7 MB / 467.3 MB, free: 5 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.976e-05/0.07879, allocations: 19.81 kB / 467.3 MB, free: 4.98 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003852/0.07917, allocations: 123.8 kB / 467.5 MB, free: 4.859 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002884/0.08206, allocations: 2.631 MB / 470.1 MB, free: 2.219 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1939/0.2759, allocations: 9.991 MB / 480.1 MB, free: 91.42 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03347/0.3094, allocations: 33.71 MB / 0.5018 GB, free: 71.11 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006303/0.3157, allocations: 4.154 MB / 0.5058 GB, free: 70.07 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002369/0.3181, allocations: 2.119 MB / 0.5079 GB, free: 69.32 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007392/0.3188, allocations: 0.5545 MB / 0.5084 GB, free: 69.23 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.3188, allocations: 52.45 kB / 0.5085 GB, free: 69.18 MB / 442.7 MB Notification: Performance of pre-optimization done (n=229): time 5.16e-06/0.3188, allocations: 1.375 kB / 0.5085 GB, free: 69.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=235): time 0.02022/0.3391, allocations: 14.48 MB / 0.5226 GB, free: 61.06 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.3391, allocations: 73.34 kB / 0.5227 GB, free: 60.98 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002463/0.3416, allocations: 3.062 MB / 0.5257 GB, free: 58.46 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001231/0.3417, allocations: 61.45 kB / 0.5257 GB, free: 58.4 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007843/0.3425, allocations: 2.798 MB / 0.5285 GB, free: 55.88 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004346/0.3429, allocations: 0.8811 MB / 0.5293 GB, free: 55.09 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000722/0.3436, allocations: 1.035 MB / 0.5303 GB, free: 54.13 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.014e-05/0.3437, allocations: 310.8 kB / 0.5306 GB, free: 53.82 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001642/0.3453, allocations: 2.209 MB / 0.5328 GB, free: 51.79 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002213/0.3475, allocations: 5.13 MB / 0.5378 GB, free: 45.22 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004498/0.352, allocations: 8.047 MB / 0.5457 GB, free: 35.74 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-05/0.3521, allocations: 28 kB / 0.5457 GB, free: 35.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=700) (initialization): time 0.006992/0.359, allocations: 7.935 MB / 0.5534 GB, free: 27.77 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.165e-05/0.3591, allocations: 48 kB / 0.5535 GB, free: 27.72 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.404e-05/0.3592, allocations: 100 kB / 0.5536 GB, free: 27.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/0.3603, allocations: 0.8083 MB / 0.5544 GB, free: 26.81 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001829/0.3621, allocations: 1.197 MB / 0.5555 GB, free: 25.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003147/0.3653, allocations: 4.399 MB / 0.5598 GB, free: 21.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002425/0.3677, allocations: 327.7 kB / 0.5601 GB, free: 20.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002849/0.368, allocations: 310.2 kB / 0.5604 GB, free: 20.48 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 463 * Number of states: 0 () * Number of discrete variables: 27 (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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (640): * Single equations (assignments): 633 * 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 {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002205/0.3702, allocations: 2.045 MB / 0.5624 GB, free: 18.43 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003233/0.3705, allocations: 282.1 kB / 0.5627 GB, free: 18.15 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003748/0.3742, allocations: 4.724 MB / 0.5673 GB, free: 13.4 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.85e-05/0.3743, allocations: 43.27 kB / 0.5674 GB, free: 13.36 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.3743, allocations: 4 kB / 0.5674 GB, free: 13.36 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.3743, allocations: 7.969 kB / 0.5674 GB, free: 13.35 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008619/0.3829, allocations: 10.33 MB / 0.5775 GB, free: 2.918 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.747e-06/0.3829, allocations: 8 kB / 0.5775 GB, free: 2.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007839/0.3837, allocations: 363.4 kB / 0.5778 GB, free: 2.555 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000971/0.3847, allocations: 0.65 MB / 0.5784 GB, free: 1.902 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.237e-05/0.3848, allocations: 47.98 kB / 0.5785 GB, free: 1.855 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002938/0.3877, allocations: 3.79 MB / 0.5822 GB, free: 13.96 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.3877, allocations: 8 kB / 0.5822 GB, free: 13.95 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006981/0.3947, allocations: 7.141 MB / 0.5892 GB, free: 6.699 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001175/0.3959, allocations: 0.6151 MB / 0.5898 GB, free: 6.082 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002346/0.3961, allocations: 47.92 kB / 0.5898 GB, free: 6.035 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007771/0.3969, allocations: 175.7 kB / 0.59 GB, free: 5.863 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002709/0.3971, allocations: 141 kB / 0.5901 GB, free: 5.73 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.972e-05/0.3972, allocations: 67.98 kB / 0.5902 GB, free: 5.664 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001934/0.3992, allocations: 1.801 MB / 0.5919 GB, free: 3.855 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3992, allocations: 4 kB / 0.5919 GB, free: 3.852 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003137/0.4023, allocations: 1.035 MB / 0.593 GB, free: 2.816 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.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 (178): * Single equations (assignments): 171 * 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 {(1,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.007354/0.4097, allocations: 7.801 MB / 0.6006 GB, free: 10.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005836/0.4155, allocations: 5.18 MB / 0.6056 GB, free: 5.734 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/0.4155, allocations: 3.938 kB / 0.6056 GB, free: 5.73 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001858/0.4174, allocations: 1.883 MB / 0.6075 GB, free: 3.84 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001875/0.4193, allocations: 359.2 kB / 0.6078 GB, free: 3.504 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04297/0.4622, allocations: 40.86 MB / 0.6477 GB, free: 6.199 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002409/0.4646, allocations: 2.693 MB / 0.6504 GB, free: 3.469 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002753/0.4674, allocations: 1.974 MB / 0.6523 GB, free: 1.488 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1526/0.6199, allocations: 1.759 MB / 0.654 GB, free: 161 MB / 0.5105 GB Notification: Performance of SimCode: time 9.51e-07/0.6199, allocations: 0.9688 kB / 0.654 GB, free: 161 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06843/0.6884, allocations: 56.89 MB / 0.7096 GB, free: 138.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.612/9.3, allocations: 8.703 kB / 0.7096 GB, free: 138.9 MB / 0.5105 GB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute_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_Revolute.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.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: 11.58705367334187]