Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.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.001201/0.001201, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001355/0.001355, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8744/0.8744, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2367/0.2367, allocations: 32.79 MB / 293.5 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Prismatic,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 439.6 MB, free: 4.242 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.005e-05/2.145e-05, allocations: 4.109 kB / 439.6 MB, free: 4.238 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.1695/0.1696, allocations: 10.72 MB / 450.3 MB, free: 40.7 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005258/0.1748, allocations: 3.684 MB / 454 MB, free: 38.59 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001241/0.1761, allocations: 69.22 kB / 454.1 MB, free: 38.57 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001531/0.1776, allocations: 1.342 MB / 455.4 MB, free: 38.03 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002374/0.18, allocations: 1.835 MB / 457.2 MB, free: 37.24 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005897/0.1806, allocations: 467.9 kB / 457.7 MB, free: 37.06 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00238/0.1829, allocations: 3.973 MB / 461.7 MB, free: 35.58 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001585/0.1845, allocations: 2.084 MB / 463.8 MB, free: 34.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001805/0.1863, allocations: 1.844 MB / 465.6 MB, free: 33.93 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001592/0.1879, allocations: 1.954 MB / 467.6 MB, free: 33.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003189/0.1882, allocations: 241.8 kB / 467.8 MB, free: 33.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001008/0.1892, allocations: 0.7809 MB / 468.6 MB, free: 33.3 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007763/0.19, allocations: 1.675 MB / 470.2 MB, free: 32.6 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007137/0.1907, allocations: 1.001 MB / 471.2 MB, free: 32.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003666/0.1944, allocations: 6.05 MB / 477.3 MB, free: 30 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.1944, allocations: 0 / 477.3 MB, free: 30 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.1944, allocations: 0.6562 kB / 477.3 MB, free: 30 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001344/0.1945, allocations: 0 / 477.3 MB, free: 30 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.006052/0.2006, allocations: 4.075 MB / 481.4 MB, free: 27.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.2006, allocations: 9.344 kB / 481.4 MB, free: 27.59 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009766/0.2016, allocations: 0.7023 MB / 482.1 MB, free: 27.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00655/0.2082, allocations: 3.157 MB / 485.2 MB, free: 26.85 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004024/0.2122, allocations: 1.921 MB / 487.2 MB, free: 25.87 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/0.2123, allocations: 194.7 kB / 487.4 MB, free: 25.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006425/0.213, allocations: 247.9 kB / 487.6 MB, free: 25.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01386/0.2268, allocations: 10.19 MB / 497.8 MB, free: 21.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.367e-05/0.2269, allocations: 22.55 kB / 497.8 MB, free: 21.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003051/0.2272, allocations: 119.2 kB / 497.9 MB, free: 21.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002557/0.2298, allocations: 2.465 MB / 0.4887 GB, free: 20.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01305/0.2428, allocations: 9.349 MB / 0.4978 GB, free: 14.14 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03041/0.2732, allocations: 30.12 MB / 0.5272 GB, free: 15.23 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003413/0.2766, allocations: 2.412 MB / 0.5296 GB, free: 12.8 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001232/0.2779, allocations: 0.9963 MB / 0.5305 GB, free: 11.8 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005097/0.2784, allocations: 447.6 kB / 0.531 GB, free: 11.38 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.2784, allocations: 44.94 kB / 0.531 GB, free: 11.32 MB / 442.7 MB Notification: Performance of pre-optimization done (n=185): time 4.359e-06/0.2784, allocations: 4 kB / 0.531 GB, free: 11.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=191): time 0.0128/0.2912, allocations: 9.228 MB / 0.54 GB, free: 2.055 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.2913, allocations: 68.72 kB / 0.5401 GB, free: 1.977 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002794/0.2941, allocations: 2.938 MB / 0.5429 GB, free: 15.02 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001096/0.2942, allocations: 53.64 kB / 0.543 GB, free: 14.96 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001475/0.2956, allocations: 2.756 MB / 0.5457 GB, free: 12.17 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000462/0.2961, allocations: 0.7247 MB / 0.5464 GB, free: 11.44 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008238/0.2969, allocations: 0.9497 MB / 0.5473 GB, free: 10.48 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.81e-05/0.297, allocations: 317 kB / 0.5476 GB, free: 10.17 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00152/0.2985, allocations: 1.54 MB / 0.5491 GB, free: 8.621 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003022/0.3015, allocations: 4.375 MB / 0.5534 GB, free: 2.84 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005356/0.3069, allocations: 6.552 MB / 0.5598 GB, free: 10.9 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.936e-05/0.307, allocations: 28 kB / 0.5598 GB, free: 10.87 MB / 474.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.007325/0.3143, allocations: 5.84 MB / 0.5655 GB, free: 5.02 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.507e-05/0.3143, allocations: 48 kB / 0.5656 GB, free: 4.973 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.4e-05/0.3144, allocations: 100 kB / 0.5657 GB, free: 4.875 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002699/0.3147, allocations: 177.5 kB / 0.5658 GB, free: 4.699 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001888/0.3166, allocations: 1.068 MB / 0.5669 GB, free: 3.629 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/0.3178, allocations: 1.688 MB / 0.5685 GB, free: 1.832 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001999/0.3198, allocations: 235.9 kB / 0.5688 GB, free: 1.602 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002688/0.3201, allocations: 292 kB / 0.569 GB, free: 1.316 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 453 * Number of states: 0 () * Number of discrete variables: 29 (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],prismatic.boxColor[3],prismatic.boxColor[2],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 (592): * Single equations (assignments): 585 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002937/0.323, allocations: 2.002 MB / 0.571 GB, free: 15.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003558/0.3234, allocations: 254.3 kB / 0.5712 GB, free: 15.05 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00243/0.3258, allocations: 2.526 MB / 0.5737 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.111e-05/0.3258, allocations: 23.94 kB / 0.5737 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3258, allocations: 4 kB / 0.5737 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.3258, allocations: 7.969 kB / 0.5737 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008512/0.3343, allocations: 7.78 MB / 0.5813 GB, free: 4.492 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.3344, allocations: 8 kB / 0.5813 GB, free: 4.484 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005519/0.3349, allocations: 251.5 kB / 0.5816 GB, free: 4.238 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001136/0.335, allocations: 56.77 kB / 0.5816 GB, free: 4.18 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.226e-05/0.3351, allocations: 44 kB / 0.5817 GB, free: 4.137 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009269/0.336, allocations: 1.518 MB / 0.5832 GB, free: 2.512 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.336, allocations: 20.06 kB / 0.5832 GB, free: 2.492 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003593/0.3396, allocations: 4.005 MB / 0.5871 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005492/0.3402, allocations: 262.2 kB / 0.5873 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001799/0.3403, allocations: 39.98 kB / 0.5874 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005155/0.3409, allocations: 75.91 kB / 0.5874 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/0.341, allocations: 124.6 kB / 0.5876 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.53e-05/0.3411, allocations: 63.94 kB / 0.5876 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001865/0.3429, allocations: 1.732 MB / 0.5893 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3429, allocations: 0 / 0.5893 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002638/0.3456, allocations: 0.828 MB / 0.5901 GB, free: 11.21 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 2 (prismatic.s,prismatic.v) * 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 (139): * Single equations (assignments): 132 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003978/0.3496, allocations: 4.703 MB / 0.5947 GB, free: 6.348 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004161/0.3537, allocations: 3.713 MB / 0.5983 GB, free: 2.641 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.3537, allocations: 4.188 kB / 0.5984 GB, free: 2.637 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.3547, allocations: 1.166 MB / 0.5995 GB, free: 1.461 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/0.356, allocations: 358 kB / 0.5998 GB, free: 1.129 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1912/0.5472, allocations: 33.76 MB / 0.6328 GB, free: 154.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002532/0.5497, allocations: 2.585 MB / 0.6353 GB, free: 153.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002285/0.552, allocations: 1.715 MB / 0.637 GB, free: 153.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001675/0.5537, allocations: 1.705 MB / 0.6387 GB, free: 152.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.603e-06/0.5537, allocations: 0 / 0.6387 GB, free: 152.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06702/0.6207, allocations: 46.54 MB / 0.6841 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.228/9.849, allocations: 7.719 kB / 0.6841 GB, free: 139.9 MB / 0.5261 GB " [Timeout remaining time 650] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic_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_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.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.946033374406397]