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.001723/0.001723, allocations: 121 kB / 18.5 MB, free: 4.562 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.001893/0.001893, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.514/1.514, allocations: 230.6 MB / 254.8 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.2374/0.2374, allocations: 44.91 MB / 355.8 MB, free: 12.31 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="cs",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.002218/0.002218, allocations: 63.91 kB / 0.4886 GB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1524, allocations: 65.42 MB / 0.5524 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01657/0.1689, allocations: 12.32 MB / 0.5645 GB, free: 13.75 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01008/0.179, allocations: 3.882 MB / 0.5683 GB, free: 9.852 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002356/0.1814, allocations: 71.75 kB / 0.5683 GB, free: 9.781 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003009/0.1844, allocations: 1.331 MB / 0.5696 GB, free: 8.445 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004045/0.1884, allocations: 1.759 MB / 0.5714 GB, free: 6.68 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009621/0.1894, allocations: 427.2 kB / 0.5718 GB, free: 6.262 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004598/0.194, allocations: 3.6 MB / 0.5753 GB, free: 2.656 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002287/0.1963, allocations: 1.775 MB / 0.577 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001788/0.1981, allocations: 1.211 MB / 0.5782 GB, free: 15.63 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002608/0.2007, allocations: 1.919 MB / 0.5801 GB, free: 13.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005613/0.2012, allocations: 240 kB / 0.5803 GB, free: 13.47 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001663/0.2029, allocations: 0.8385 MB / 0.5811 GB, free: 12.63 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001796/0.2047, allocations: 1.608 MB / 0.5827 GB, free: 11.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00213/0.2068, allocations: 1.867 MB / 0.5845 GB, free: 9.137 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007234/0.2141, allocations: 6.099 MB / 0.5905 GB, free: 3.012 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.2141, allocations: 3.938 kB / 0.5905 GB, free: 3.008 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2141, allocations: 0 / 0.5905 GB, free: 3.008 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001258/0.2142, allocations: 0 / 0.5905 GB, free: 3.008 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.2991/0.5133, allocations: 4.142 MB / 0.5945 GB, free: 36.47 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.145e-05/0.5134, allocations: 9.156 kB / 0.5945 GB, free: 36.47 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002361/0.5136, allocations: 91.14 kB / 0.5946 GB, free: 36.46 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001913/0.5155, allocations: 0.7044 MB / 0.5953 GB, free: 36.37 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01199/0.5275, allocations: 3.109 MB / 0.5983 GB, free: 35.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005073/0.5326, allocations: 2.133 MB / 0.6004 GB, free: 35.17 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002148/0.5328, allocations: 190.8 kB / 0.6006 GB, free: 35.12 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001021/0.5338, allocations: 239.2 kB / 0.6008 GB, free: 35.08 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01791/0.5517, allocations: 10.19 MB / 0.6108 GB, free: 30.92 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001019/0.5518, allocations: 27.53 kB / 0.6108 GB, free: 30.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004544/0.5523, allocations: 119.4 kB / 0.6109 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003843/0.5561, allocations: 2.464 MB / 0.6133 GB, free: 30.08 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01632/0.5724, allocations: 9.358 MB / 0.6225 GB, free: 23.35 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04003/0.6125, allocations: 31.52 MB / 0.6532 GB, free: 7.254 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006874/0.6193, allocations: 3.249 MB / 0.6564 GB, free: 3.777 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001881/0.6212, allocations: 0.9976 MB / 0.6574 GB, free: 2.777 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001444/0.6227, allocations: 1.305 MB / 0.6587 GB, free: 1.254 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.375e-05/0.6227, allocations: 52.94 kB / 0.6587 GB, free: 1.195 MB / 462.1 MB Notification: Performance of pre-optimization done (n=185): time 5.631e-06/0.6227, allocations: 0 / 0.6587 GB, free: 1.195 MB / 462.1 MB Notification: Performance of matching and sorting (n=191): time 0.02273/0.6454, allocations: 9.171 MB / 0.6677 GB, free: 7.973 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.299e-05/0.6455, allocations: 64.72 kB / 0.6677 GB, free: 7.895 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00435/0.6499, allocations: 2.616 MB / 0.6703 GB, free: 5.258 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002649/0.6501, allocations: 45.7 kB / 0.6703 GB, free: 5.207 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002455/0.6526, allocations: 2.784 MB / 0.673 GB, free: 2.395 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009209/0.6535, allocations: 0.7286 MB / 0.6738 GB, free: 1.66 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001445/0.655, allocations: 0.973 MB / 0.6747 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.6551, allocations: 309.1 kB / 0.675 GB, free: 380 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002725/0.6579, allocations: 1.54 MB / 0.6765 GB, free: 14.82 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005465/0.6633, allocations: 4.379 MB / 0.6808 GB, free: 9.039 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008942/0.6723, allocations: 6.554 MB / 0.6872 GB, free: 1.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-05/0.6723, allocations: 31.94 kB / 0.6872 GB, free: 1.059 MB / 494.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.0106/0.6829, allocations: 5.837 MB / 0.6929 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.48e-05/0.683, allocations: 50.19 kB / 0.693 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001461/0.6832, allocations: 100 kB / 0.6931 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003709/0.6835, allocations: 176.8 kB / 0.6932 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003362/0.6869, allocations: 1.064 MB / 0.6943 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001968/0.6889, allocations: 1.803 MB / 0.696 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002785/0.6916, allocations: 211.9 kB / 0.6962 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005194/0.6922, allocations: 288 kB / 0.6965 GB, free: 7.402 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.003287/0.6955, allocations: 1.991 MB / 0.6984 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000505/0.696, allocations: 262.2 kB / 0.6987 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004294/0.7003, allocations: 2.533 MB / 0.7012 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.821e-05/0.7003, allocations: 20 kB / 0.7012 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.7003, allocations: 4 kB / 0.7012 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.469e-05/0.7003, allocations: 7.969 kB / 0.7012 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01464/0.7149, allocations: 7.937 MB / 0.709 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-05/0.715, allocations: 8 kB / 0.709 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/0.716, allocations: 251.5 kB / 0.7092 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001788/0.7162, allocations: 57.55 kB / 0.7093 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.61e-05/0.7163, allocations: 44 kB / 0.7093 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001638/0.7179, allocations: 1.63 MB / 0.7109 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.354e-05/0.7179, allocations: 11.94 kB / 0.7109 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005927/0.7239, allocations: 4.036 MB / 0.7148 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007633/0.7246, allocations: 303.4 kB / 0.7151 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002539/0.7249, allocations: 43.98 kB / 0.7152 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000764/0.7256, allocations: 51.95 kB / 0.7152 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002402/0.7259, allocations: 120.7 kB / 0.7153 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001267/0.726, allocations: 67.97 kB / 0.7154 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002611/0.7286, allocations: 1.6 MB / 0.717 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.7286, allocations: 0 / 0.717 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003711/0.7323, allocations: 0.7811 MB / 0.7177 GB, free: 1.109 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.006745/0.7391, allocations: 4.715 MB / 0.7223 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006865/0.7459, allocations: 3.709 MB / 0.726 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-05/0.746, allocations: 4 kB / 0.726 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00198/0.7479, allocations: 1.161 MB / 0.7271 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002155/0.7501, allocations: 354.7 kB / 0.7274 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05537/0.8055, allocations: 33.34 MB / 0.76 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00381/0.8093, allocations: 3.129 MB / 0.763 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003742/0.813, allocations: 1.714 MB / 0.7647 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002259/0.8153, allocations: 1.694 MB / 0.7664 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of SimCode: time 1.633e-06/0.8153, allocations: 0 / 0.7664 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1/0.9153, allocations: 46.03 MB / 0.8113 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.52/18.44, allocations: 4.062 kB / 0.8113 GB, free: 13.05 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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.mat","/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: 22.282086505030748]