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.001687/0.001687, allocations: 128.5 kB / 17.79 MB, free: 5.246 MB / 14.72 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.001989/0.001989, allocations: 211.2 kB / 20.75 MB, free: 2.293 MB / 14.72 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 1.547/1.547, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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.2232/0.2232, allocations: 44.9 MB / 355.1 MB, free: 12.32 MB / 286.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 71.89 kB / 499.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1455, allocations: 65.42 MB / 0.5518 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01476/0.1603, allocations: 12.32 MB / 0.5638 GB, free: 13.75 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009748/0.17, allocations: 3.886 MB / 0.5676 GB, free: 9.848 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002381/0.1724, allocations: 67.75 kB / 0.5677 GB, free: 9.781 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003621/0.176, allocations: 1.335 MB / 0.569 GB, free: 8.441 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005387/0.1814, allocations: 1.763 MB / 0.5707 GB, free: 6.672 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001542/0.1829, allocations: 427.2 kB / 0.5711 GB, free: 6.254 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006264/0.1892, allocations: 3.595 MB / 0.5746 GB, free: 2.652 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003547/0.1927, allocations: 1.775 MB / 0.5763 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002637/0.1954, allocations: 1.207 MB / 0.5775 GB, free: 15.63 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003275/0.1987, allocations: 1.927 MB / 0.5794 GB, free: 13.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009584/0.1996, allocations: 240 kB / 0.5796 GB, free: 13.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002312/0.2019, allocations: 0.8347 MB / 0.5804 GB, free: 12.62 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002409/0.2043, allocations: 1.612 MB / 0.582 GB, free: 11.01 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003556/0.2079, allocations: 1.871 MB / 0.5838 GB, free: 9.125 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009645/0.2175, allocations: 6.099 MB / 0.5898 GB, free: 3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.898e-06/0.2175, allocations: 0 / 0.5898 GB, free: 3 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.2176, allocations: 0 / 0.5898 GB, free: 3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002693/0.2178, allocations: 0 / 0.5898 GB, free: 3 MB / 446.1 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.3408/0.5586, allocations: 4.144 MB / 0.5938 GB, free: 36.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.882e-05/0.5587, allocations: 10.58 kB / 0.5938 GB, free: 36.5 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001676/0.5604, allocations: 0.6996 MB / 0.5945 GB, free: 36.4 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01167/0.5721, allocations: 3.105 MB / 0.5976 GB, free: 36.01 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004794/0.5768, allocations: 2.135 MB / 0.5996 GB, free: 35.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001794/0.577, allocations: 188.2 kB / 0.5998 GB, free: 35.15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008592/0.5779, allocations: 245.6 kB / 0.6001 GB, free: 35.11 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01888/0.5968, allocations: 10.17 MB / 0.61 GB, free: 30.96 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002039/0.597, allocations: 31.22 kB / 0.61 GB, free: 30.94 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001324/0.5983, allocations: 114.9 kB / 0.6101 GB, free: 30.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005114/0.6034, allocations: 2.471 MB / 0.6125 GB, free: 30.1 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02/0.6234, allocations: 9.356 MB / 0.6217 GB, free: 23.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04906/0.6725, allocations: 31.52 MB / 0.6525 GB, free: 7.383 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007312/0.6798, allocations: 3.245 MB / 0.6556 GB, free: 3.91 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002117/0.6819, allocations: 0.9951 MB / 0.6566 GB, free: 2.914 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001573/0.6835, allocations: 1.313 MB / 0.6579 GB, free: 1.383 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.82e-05/0.6835, allocations: 43.88 kB / 0.6579 GB, free: 1.332 MB / 462.1 MB Notification: Performance of pre-optimization done (n=185): time 6.332e-06/0.6835, allocations: 4 kB / 0.6579 GB, free: 1.328 MB / 462.1 MB Notification: Performance of matching and sorting (n=191): time 0.02527/0.7088, allocations: 9.171 MB / 0.6669 GB, free: 8.105 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.861e-05/0.7089, allocations: 69.38 kB / 0.667 GB, free: 8.023 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005581/0.7145, allocations: 2.612 MB / 0.6695 GB, free: 5.391 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003311/0.7148, allocations: 49.7 kB / 0.6696 GB, free: 5.336 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002882/0.7177, allocations: 2.78 MB / 0.6723 GB, free: 2.527 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001119/0.7188, allocations: 0.7286 MB / 0.673 GB, free: 1.793 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002453/0.7213, allocations: 0.9809 MB / 0.6739 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.7214, allocations: 305.1 kB / 0.6742 GB, free: 0.5 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003037/0.7245, allocations: 1.545 MB / 0.6757 GB, free: 14.95 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006481/0.7309, allocations: 4.371 MB / 0.68 GB, free: 9.172 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009656/0.7406, allocations: 6.558 MB / 0.6864 GB, free: 1.219 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001128/0.7407, allocations: 28 kB / 0.6864 GB, free: 1.191 MB / 494.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01256/0.7533, allocations: 5.844 MB / 0.6921 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001341/0.7534, allocations: 47.98 kB / 0.6922 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001846/0.7536, allocations: 100 kB / 0.6923 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004662/0.7541, allocations: 176.8 kB / 0.6925 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003852/0.7579, allocations: 1.064 MB / 0.6935 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002355/0.7603, allocations: 1.792 MB / 0.6952 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00313/0.7634, allocations: 212 kB / 0.6954 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000898/0.7643, allocations: 293 kB / 0.6957 GB, free: 7.531 MB / 0.4981 GB 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.004283/0.7686, allocations: 1.994 MB / 0.6977 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000608/0.7692, allocations: 266.2 kB / 0.6979 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005349/0.7745, allocations: 2.526 MB / 0.7004 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.822e-05/0.7746, allocations: 27.92 kB / 0.7004 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.7746, allocations: 0 / 0.7004 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-05/0.7746, allocations: 3.984 kB / 0.7004 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01663/0.7913, allocations: 7.933 MB / 0.7082 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-05/0.7913, allocations: 12.97 kB / 0.7082 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001173/0.7925, allocations: 251.6 kB / 0.7084 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002063/0.7927, allocations: 56.83 kB / 0.7085 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001745/0.7928, allocations: 50.42 kB / 0.7085 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00169/0.7945, allocations: 1.621 MB / 0.7101 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.348e-05/0.7945, allocations: 15.94 kB / 0.7101 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006252/0.8008, allocations: 4.028 MB / 0.7141 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006913/0.8015, allocations: 307.4 kB / 0.7144 GB, free: 3.918 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005122/0.802, allocations: 35.98 kB / 0.7144 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/0.803, allocations: 64.12 kB / 0.7144 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000275/0.8033, allocations: 120.7 kB / 0.7146 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000156/0.8035, allocations: 67.98 kB / 0.7146 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003062/0.8065, allocations: 1.607 MB / 0.7162 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.8065, allocations: 0 / 0.7162 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004042/0.8106, allocations: 0.7733 MB / 0.717 GB, free: 1.242 MB / 0.5137 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.006968/0.8175, allocations: 4.715 MB / 0.7216 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006595/0.8241, allocations: 3.716 MB / 0.7252 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/0.8241, allocations: 0.8125 kB / 0.7252 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001944/0.8261, allocations: 1.166 MB / 0.7263 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002317/0.8284, allocations: 337.6 kB / 0.7266 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06317/0.8916, allocations: 33.34 MB / 0.7592 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006663/0.8982, allocations: 3.129 MB / 0.7623 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004753/0.903, allocations: 1.717 MB / 0.7639 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003585/0.9066, allocations: 1.698 MB / 0.7656 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of SimCode: time 1.844e-06/0.9066, allocations: 0 / 0.7656 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1105/1.017, allocations: 45.99 MB / 0.8105 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.44/18.46, allocations: 7.859 kB / 0.8105 GB, free: 13.2 MB / 0.6231 GB " [Timeout remaining time 641] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins1/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: 21.74348956719041]