Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001431/0.001431, allocations: 120.1 kB / 18.49 MB, free: 4.586 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.0015/0.0015, allocations: 215 kB / 21.45 MB, free: 1.641 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.572/1.572, allocations: 230.6 MB / 254.8 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2602/0.2602, allocations: 46.92 MB / 357.8 MB, free: 10.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002307/0.002307, allocations: 67.91 kB / 0.4916 GB, free: 7.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1426, allocations: 65.99 MB / 0.5561 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01706/0.1597, allocations: 12.31 MB / 0.5681 GB, free: 9.469 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009394/0.1691, allocations: 3.882 MB / 0.5719 GB, free: 5.57 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002207/0.1713, allocations: 71.75 kB / 0.5719 GB, free: 5.5 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003865/0.1751, allocations: 1.339 MB / 0.5733 GB, free: 4.156 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005573/0.1807, allocations: 1.759 MB / 0.575 GB, free: 2.391 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.1821, allocations: 427.2 kB / 0.5754 GB, free: 1.973 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006524/0.1886, allocations: 3.595 MB / 0.5789 GB, free: 14.37 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003669/0.1923, allocations: 1.771 MB / 0.5806 GB, free: 12.56 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002858/0.1952, allocations: 1.214 MB / 0.5818 GB, free: 11.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003523/0.1987, allocations: 1.916 MB / 0.5837 GB, free: 9.422 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00105/0.1997, allocations: 240 kB / 0.5839 GB, free: 9.188 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002542/0.2023, allocations: 0.8463 MB / 0.5847 GB, free: 8.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002662/0.205, allocations: 1.597 MB / 0.5863 GB, free: 6.738 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0037/0.2087, allocations: 1.882 MB / 0.5881 GB, free: 4.844 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2938/0.5025, allocations: 6.093 MB / 0.5941 GB, free: 11.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.343e-06/0.5025, allocations: 0 / 0.5941 GB, free: 11.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.5025, allocations: 0.6562 kB / 0.5941 GB, free: 11.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002587/0.5028, allocations: 2.281 kB / 0.5941 GB, free: 11.98 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.01193/0.5147, allocations: 4.141 MB / 0.5981 GB, free: 10.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.5147, allocations: 9.094 kB / 0.5981 GB, free: 10.16 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000209/0.515, allocations: 91.3 kB / 0.5982 GB, free: 10.16 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001931/0.5169, allocations: 0.7031 MB / 0.5989 GB, free: 10.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01256/0.5294, allocations: 3.108 MB / 0.6019 GB, free: 9.797 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006195/0.5356, allocations: 2.136 MB / 0.604 GB, free: 9.285 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002882/0.5359, allocations: 186.4 kB / 0.6042 GB, free: 9.277 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001412/0.5373, allocations: 256.8 kB / 0.6045 GB, free: 9.273 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0205/0.5578, allocations: 10.18 MB / 0.6144 GB, free: 7.176 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001415/0.558, allocations: 23.97 kB / 0.6144 GB, free: 7.176 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009802/0.559, allocations: 115.2 kB / 0.6145 GB, free: 7.137 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004411/0.5634, allocations: 2.462 MB / 0.6169 GB, free: 6.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01864/0.582, allocations: 9.363 MB / 0.6261 GB, free: 3.91 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05793/0.6399, allocations: 31.52 MB / 0.6569 GB, free: 5.586 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007451/0.6474, allocations: 3.248 MB / 0.66 GB, free: 2.113 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001974/0.6494, allocations: 1.002 MB / 0.661 GB, free: 1.113 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001589/0.651, allocations: 1.304 MB / 0.6623 GB, free: 15.6 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.539e-05/0.651, allocations: 51.81 kB / 0.6623 GB, free: 15.54 MB / 494.1 MB Notification: Performance of pre-optimization done (n=185): time 6.242e-06/0.651, allocations: 0 / 0.6623 GB, free: 15.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=191): time 0.02602/0.677, allocations: 9.167 MB / 0.6713 GB, free: 6.316 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.088e-05/0.6771, allocations: 72.72 kB / 0.6713 GB, free: 6.23 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00501/0.6821, allocations: 2.613 MB / 0.6739 GB, free: 3.598 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003571/0.6825, allocations: 47.12 kB / 0.6739 GB, free: 3.547 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00278/0.6853, allocations: 2.781 MB / 0.6767 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001186/0.6864, allocations: 0.7289 MB / 0.6774 GB, free: 68 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001938/0.6884, allocations: 0.9759 MB / 0.6783 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.6885, allocations: 305.1 kB / 0.6786 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00301/0.6916, allocations: 1.544 MB / 0.6801 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006474/0.698, allocations: 4.377 MB / 0.6844 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01033/0.7084, allocations: 6.544 MB / 0.6908 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001208/0.7085, allocations: 32 kB / 0.6908 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01374/0.7222, allocations: 5.848 MB / 0.6965 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.000113/0.7223, allocations: 48.19 kB / 0.6966 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001756/0.7225, allocations: 104 kB / 0.6967 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004684/0.723, allocations: 174.8 kB / 0.6968 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003977/0.727, allocations: 1.064 MB / 0.6979 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002241/0.7292, allocations: 1.795 MB / 0.6996 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003738/0.7329, allocations: 212.6 kB / 0.6998 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001148/0.7341, allocations: 290 kB / 0.7001 GB, free: 6.707 MB / 0.5137 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.005082/0.7392, allocations: 1.986 MB / 0.7021 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007667/0.7399, allocations: 262.2 kB / 0.7023 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005573/0.7455, allocations: 2.526 MB / 0.7048 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-05/0.7456, allocations: 26.89 kB / 0.7048 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.7456, allocations: 7.938 kB / 0.7048 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.722e-05/0.7456, allocations: 7.969 kB / 0.7048 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01968/0.7653, allocations: 7.94 MB / 0.7126 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.734e-05/0.7653, allocations: 8 kB / 0.7126 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001285/0.7666, allocations: 247.6 kB / 0.7128 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002251/0.7668, allocations: 56.83 kB / 0.7129 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002216/0.767, allocations: 40 kB / 0.7129 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001916/0.7689, allocations: 1.63 MB / 0.7145 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.22e-05/0.769, allocations: 12.12 kB / 0.7145 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007397/0.7764, allocations: 4.033 MB / 0.7184 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009175/0.7773, allocations: 307.3 kB / 0.7187 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006458/0.7779, allocations: 50.41 kB / 0.7188 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/0.7792, allocations: 51.95 kB / 0.7188 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003784/0.7795, allocations: 124.6 kB / 0.719 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001574/0.7797, allocations: 66.09 kB / 0.719 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00349/0.7832, allocations: 1.6 MB / 0.7206 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7832, allocations: 3.938 kB / 0.7206 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005394/0.7886, allocations: 0.7797 MB / 0.7213 GB, free: 468 kB / 0.5294 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.007565/0.7961, allocations: 4.708 MB / 0.7259 GB, free: 11.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007145/0.8033, allocations: 3.714 MB / 0.7296 GB, free: 7.902 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.706e-05/0.8033, allocations: 7.281 kB / 0.7296 GB, free: 7.898 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00221/0.8055, allocations: 1.157 MB / 0.7307 GB, free: 6.73 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002499/0.808, allocations: 350.5 kB / 0.731 GB, free: 6.398 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06865/0.8767, allocations: 33.34 MB / 0.7636 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006531/0.8832, allocations: 3.133 MB / 0.7667 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00462/0.8878, allocations: 1.714 MB / 0.7683 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003576/0.8914, allocations: 1.698 MB / 0.77 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of SimCode: time 1.302e-06/0.8914, allocations: 0 / 0.77 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09995/0.9913, allocations: 46.03 MB / 0.8149 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.66/18.66, allocations: 8.062 kB / 0.815 GB, free: 12.5 MB / 0.6387 GB " [Timeout remaining time 641] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Prismatic_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 22.773953015974257]