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.001299/0.001299, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001466/0.001466, allocations: 213.7 kB / 23.74 MB, free: 4.688 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.454/1.454, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.2362/0.2362, allocations: 46.93 MB / 360.9 MB, free: 4.281 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 63.89 kB / 0.4962 GB, free: 7.914 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3504, allocations: 66.03 MB / 0.5607 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01552/0.3659, allocations: 12.34 MB / 0.5727 GB, free: 8.086 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009724/0.3756, allocations: 3.906 MB / 0.5765 GB, free: 4.168 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002775/0.3784, allocations: 67.75 kB / 0.5766 GB, free: 4.102 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003651/0.382, allocations: 1.339 MB / 0.5779 GB, free: 2.758 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005403/0.3875, allocations: 1.771 MB / 0.5796 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001672/0.3891, allocations: 419.2 kB / 0.58 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006254/0.3954, allocations: 3.61 MB / 0.5835 GB, free: 12.96 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00323/0.3986, allocations: 1.838 MB / 0.5853 GB, free: 11.08 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002614/0.4012, allocations: 1.218 MB / 0.5865 GB, free: 9.859 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003611/0.4048, allocations: 1.919 MB / 0.5884 GB, free: 7.934 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009699/0.4058, allocations: 240 kB / 0.5886 GB, free: 7.699 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002453/0.4083, allocations: 0.8385 MB / 0.5895 GB, free: 6.859 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00234/0.4106, allocations: 1.604 MB / 0.591 GB, free: 5.25 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00326/0.4139, allocations: 1.875 MB / 0.5928 GB, free: 3.363 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009031/0.4229, allocations: 6.103 MB / 0.5988 GB, free: 13.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.4229, allocations: 0 / 0.5988 GB, free: 13.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4229, allocations: 0 / 0.5988 GB, free: 13.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002189/0.4231, allocations: 0 / 0.5988 GB, free: 13.23 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.009265/0.4324, allocations: 4.076 MB / 0.6028 GB, free: 9.102 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.4324, allocations: 8.031 kB / 0.6028 GB, free: 9.094 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00152/0.4339, allocations: 0.7001 MB / 0.6035 GB, free: 8.383 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01113/0.4451, allocations: 3.11 MB / 0.6065 GB, free: 5.266 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005341/0.4504, allocations: 2.068 MB / 0.6085 GB, free: 3.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001985/0.4506, allocations: 188.8 kB / 0.6087 GB, free: 2.973 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009775/0.4516, allocations: 247.8 kB / 0.609 GB, free: 2.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02006/0.4717, allocations: 10.18 MB / 0.6189 GB, free: 8.121 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001294/0.4718, allocations: 23.81 kB / 0.6189 GB, free: 8.098 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009769/0.4728, allocations: 119.8 kB / 0.619 GB, free: 7.98 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004459/0.4772, allocations: 2.467 MB / 0.6214 GB, free: 5.512 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02117/0.4984, allocations: 9.349 MB / 0.6306 GB, free: 12.15 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0559/0.5543, allocations: 31.42 MB / 0.6612 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006083/0.5604, allocations: 2.34 MB / 0.6635 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001754/0.5621, allocations: 0.986 MB / 0.6645 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009167/0.563, allocations: 450.6 kB / 0.6649 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/0.5631, allocations: 43.88 kB / 0.665 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=185): time 4.548e-06/0.5631, allocations: 0 / 0.665 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of matching and sorting (n=191): time 0.02276/0.5858, allocations: 8.936 MB / 0.6737 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.07e-05/0.5859, allocations: 68.72 kB / 0.6738 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004444/0.5904, allocations: 2.623 MB / 0.6763 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002928/0.5907, allocations: 49.69 kB / 0.6764 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002424/0.5931, allocations: 2.776 MB / 0.6791 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001023/0.5941, allocations: 0.7286 MB / 0.6798 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001899/0.596, allocations: 0.973 MB / 0.6807 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.5962, allocations: 305.1 kB / 0.681 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00284/0.599, allocations: 1.548 MB / 0.6825 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005593/0.6046, allocations: 4.371 MB / 0.6868 GB, free: 176 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009149/0.6137, allocations: 6.552 MB / 0.6932 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000111/0.6138, allocations: 28 kB / 0.6932 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01193/0.6258, allocations: 5.852 MB / 0.699 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.777e-05/0.6259, allocations: 51.98 kB / 0.699 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001527/0.626, allocations: 100 kB / 0.6991 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003999/0.6264, allocations: 172.9 kB / 0.6993 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003802/0.6302, allocations: 1.072 MB / 0.7003 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002095/0.6323, allocations: 1.689 MB / 0.702 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00305/0.6354, allocations: 207.9 kB / 0.7022 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008551/0.6362, allocations: 288 kB / 0.7024 GB, free: 14.65 MB / 0.545 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.004125/0.6404, allocations: 1.989 MB / 0.7044 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005274/0.6409, allocations: 262.2 kB / 0.7046 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004878/0.6458, allocations: 2.53 MB / 0.7071 GB, free: 9.832 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.895e-05/0.6458, allocations: 23.98 kB / 0.7071 GB, free: 9.809 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.6458, allocations: 4 kB / 0.7071 GB, free: 9.805 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.299e-05/0.6458, allocations: 7.969 kB / 0.7071 GB, free: 9.797 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01754/0.6634, allocations: 7.914 MB / 0.7149 GB, free: 1.699 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.019e-05/0.6634, allocations: 12 kB / 0.7149 GB, free: 1.688 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/0.6645, allocations: 247.6 kB / 0.7151 GB, free: 1.445 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002014/0.6647, allocations: 60.95 kB / 0.7152 GB, free: 1.383 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001778/0.6649, allocations: 43.98 kB / 0.7152 GB, free: 1.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00165/0.6666, allocations: 1.522 MB / 0.7167 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.339e-05/0.6666, allocations: 15.94 kB / 0.7167 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006603/0.6732, allocations: 4.025 MB / 0.7206 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008062/0.674, allocations: 238.3 kB / 0.7209 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004809/0.6745, allocations: 39.98 kB / 0.7209 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/0.6755, allocations: 59.94 kB / 0.721 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002967/0.6758, allocations: 124.5 kB / 0.7211 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001423/0.6759, allocations: 64.17 kB / 0.7211 GB, free: 11 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003087/0.679, allocations: 1.603 MB / 0.7227 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.679, allocations: 0 / 0.7227 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004314/0.6833, allocations: 0.7773 MB / 0.7235 GB, free: 8.609 MB / 0.5606 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.007637/0.691, allocations: 4.711 MB / 0.7281 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007352/0.6983, allocations: 3.712 MB / 0.7317 GB, free: 32 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.62e-05/0.6984, allocations: 4 kB / 0.7317 GB, free: 28 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.2935/0.9918, allocations: 1.161 MB / 0.7328 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002334/0.9942, allocations: 350.3 kB / 0.7332 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04038/1.035, allocations: 33.45 MB / 0.7658 GB, free: 130.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004812/1.039, allocations: 3.133 MB / 0.7689 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003852/1.043, allocations: 1.71 MB / 0.7706 GB, free: 125.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002762/1.046, allocations: 1.694 MB / 0.7722 GB, free: 123.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.804e-06/1.046, allocations: 0 / 0.7722 GB, free: 123.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09869/1.145, allocations: 49.96 MB / 0.821 GB, free: 74.09 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.37/20.52, allocations: 13.48 kB / 0.821 GB, free: 74.09 MB / 0.5606 GB " [Timeout remaining time 639] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_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.csv","/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: 23.657384972000727]