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.001294/0.001294, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001428/0.001428, allocations: 210.9 kB / 23.73 MB, free: 4.41 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.43/1.43, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2428/0.2428, allocations: 46.96 MB / 360.9 MB, free: 4.066 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.002034/0.002034, allocations: 71.88 kB / 0.4961 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3653, allocations: 66.03 MB / 0.5606 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01464/0.3799, allocations: 10.71 MB / 0.5711 GB, free: 9.492 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008601/0.3885, allocations: 3.68 MB / 0.5746 GB, free: 5.801 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001828/0.3904, allocations: 75.75 kB / 0.5747 GB, free: 5.727 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002978/0.3933, allocations: 1.296 MB / 0.576 GB, free: 4.426 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004573/0.3979, allocations: 1.771 MB / 0.5777 GB, free: 2.648 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.399, allocations: 423.2 kB / 0.5781 GB, free: 2.234 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005077/0.4041, allocations: 3.594 MB / 0.5816 GB, free: 14.64 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003402/0.4075, allocations: 1.834 MB / 0.5834 GB, free: 12.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002645/0.4101, allocations: 1.218 MB / 0.5846 GB, free: 11.54 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003165/0.4133, allocations: 1.845 MB / 0.5864 GB, free: 9.691 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007786/0.4141, allocations: 236 kB / 0.5866 GB, free: 9.461 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001931/0.416, allocations: 0.7137 MB / 0.5873 GB, free: 8.746 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001933/0.4179, allocations: 1.604 MB / 0.5889 GB, free: 7.137 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00197/0.4199, allocations: 1.339 MB / 0.5902 GB, free: 5.789 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008353/0.4283, allocations: 6.126 MB / 0.5962 GB, free: 15.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.4283, allocations: 4 kB / 0.5962 GB, free: 15.63 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.4283, allocations: 0 / 0.5962 GB, free: 15.63 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002238/0.4285, allocations: 0 / 0.5962 GB, free: 15.63 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.00891/0.4374, allocations: 4.073 MB / 0.6002 GB, free: 11.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.4375, allocations: 12.03 kB / 0.6002 GB, free: 11.49 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00144/0.4389, allocations: 0.704 MB / 0.6009 GB, free: 10.78 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01112/0.45, allocations: 3.11 MB / 0.6039 GB, free: 7.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005973/0.456, allocations: 2.083 MB / 0.6059 GB, free: 5.539 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002327/0.4562, allocations: 196.8 kB / 0.6061 GB, free: 5.344 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0011/0.4573, allocations: 247.8 kB / 0.6064 GB, free: 5.102 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02291/0.4803, allocations: 10.18 MB / 0.6163 GB, free: 10.49 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001526/0.4804, allocations: 19.81 kB / 0.6163 GB, free: 10.47 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008177/0.4812, allocations: 119.8 kB / 0.6164 GB, free: 10.36 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007387/0.4886, allocations: 2.467 MB / 0.6188 GB, free: 7.887 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03133/0.5199, allocations: 9.333 MB / 0.628 GB, free: 14.54 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0811/0.601, allocations: 29.89 MB / 0.6572 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009814/0.6109, allocations: 2.333 MB / 0.6594 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002744/0.6136, allocations: 0.9977 MB / 0.6604 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001496/0.6151, allocations: 434.6 kB / 0.6608 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.11e-05/0.6152, allocations: 47.88 kB / 0.6609 GB, free: 12 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=185): time 7.193e-06/0.6152, allocations: 4 kB / 0.6609 GB, free: 12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=191): time 0.03672/0.6519, allocations: 8.943 MB / 0.6696 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.021e-05/0.652, allocations: 64.72 kB / 0.6697 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006991/0.659, allocations: 2.786 MB / 0.6724 GB, free: 140 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000365/0.6593, allocations: 49.7 kB / 0.6724 GB, free: 84 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003576/0.6629, allocations: 2.772 MB / 0.6751 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001351/0.6643, allocations: 0.7402 MB / 0.6759 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002409/0.6667, allocations: 0.9652 MB / 0.6768 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001957/0.6669, allocations: 305.1 kB / 0.6771 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004702/0.6716, allocations: 1.548 MB / 0.6786 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008931/0.6805, allocations: 4.371 MB / 0.6829 GB, free: 3.926 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01519/0.6957, allocations: 6.552 MB / 0.6893 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001381/0.6958, allocations: 28 kB / 0.6893 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01914/0.715, allocations: 5.848 MB / 0.695 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001298/0.7151, allocations: 50.5 kB / 0.6951 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002163/0.7153, allocations: 96 kB / 0.6952 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005628/0.7159, allocations: 180.9 kB / 0.6953 GB, free: 5.773 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006519/0.7224, allocations: 1.057 MB / 0.6964 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003074/0.7255, allocations: 1.693 MB / 0.698 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005842/0.7313, allocations: 211.8 kB / 0.6982 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001062/0.7324, allocations: 296 kB / 0.6985 GB, free: 2.402 MB / 0.5294 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.006255/0.7386, allocations: 1.989 MB / 0.7004 GB, free: 412 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008515/0.7395, allocations: 258.3 kB / 0.7007 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006996/0.7465, allocations: 2.541 MB / 0.7032 GB, free: 13.58 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.775e-05/0.7465, allocations: 20 kB / 0.7032 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.7465, allocations: 4 kB / 0.7032 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.136e-05/0.7466, allocations: 3.984 kB / 0.7032 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02408/0.7706, allocations: 7.72 MB / 0.7107 GB, free: 5.652 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.839e-05/0.7707, allocations: 16.23 kB / 0.7107 GB, free: 5.637 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001868/0.7725, allocations: 247.6 kB / 0.711 GB, free: 5.395 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002713/0.7728, allocations: 60.83 kB / 0.711 GB, free: 5.332 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001604/0.773, allocations: 36 kB / 0.7111 GB, free: 5.297 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00245/0.7754, allocations: 1.518 MB / 0.7126 GB, free: 3.66 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.382e-05/0.7755, allocations: 15.94 kB / 0.7126 GB, free: 3.645 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009748/0.7852, allocations: 4.032 MB / 0.7165 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001238/0.7864, allocations: 234.2 kB / 0.7167 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004008/0.7868, allocations: 44.05 kB / 0.7168 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001327/0.7882, allocations: 55.95 kB / 0.7168 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003841/0.7886, allocations: 124.5 kB / 0.7169 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002019/0.7888, allocations: 67.89 kB / 0.717 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004098/0.7929, allocations: 1.603 MB / 0.7186 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7929, allocations: 0 / 0.7186 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006291/0.7991, allocations: 0.7695 MB / 0.7193 GB, free: 12.57 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.01071/0.8099, allocations: 4.713 MB / 0.7239 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01083/0.8207, allocations: 3.712 MB / 0.7276 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.382e-05/0.8207, allocations: 0.9375 kB / 0.7276 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003127/0.8238, allocations: 1.174 MB / 0.7287 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003312/0.8271, allocations: 343.9 kB / 0.729 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3966/1.224, allocations: 33.45 MB / 0.7617 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004205/1.228, allocations: 2.587 MB / 0.7642 GB, free: 130.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004639/1.233, allocations: 1.71 MB / 0.7659 GB, free: 129.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003722/1.236, allocations: 1.694 MB / 0.7675 GB, free: 127.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.683e-06/1.236, allocations: 0 / 0.7675 GB, free: 127.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.123/1.359, allocations: 45.46 MB / 0.8119 GB, free: 82.73 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.93/16.29, allocations: 3.938 kB / 0.8119 GB, free: 82.73 MB / 0.5606 GB " [Timeout remaining time 644] (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: 19.41087202122435]