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.001474/0.001474, 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.001801/0.001801, allocations: 211.4 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.417/1.417, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2153/0.2153, allocations: 44.94 MB / 358.8 MB, free: 6.062 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.002148/0.002148, allocations: 67.89 kB / 0.493 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3306, allocations: 65.47 MB / 0.557 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01371/0.3443, allocations: 10.7 MB / 0.5674 GB, free: 12.77 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008147/0.3525, allocations: 3.684 MB / 0.571 GB, free: 9.078 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001667/0.3542, allocations: 67.75 kB / 0.5711 GB, free: 9.012 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002775/0.3569, allocations: 1.296 MB / 0.5724 GB, free: 7.711 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004346/0.3613, allocations: 1.775 MB / 0.5741 GB, free: 5.93 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.3624, allocations: 419.2 kB / 0.5745 GB, free: 5.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005192/0.3676, allocations: 3.61 MB / 0.578 GB, free: 1.902 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002478/0.3701, allocations: 1.826 MB / 0.5798 GB, free: 40 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001878/0.372, allocations: 1.214 MB / 0.581 GB, free: 14.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002674/0.3746, allocations: 1.841 MB / 0.5828 GB, free: 12.97 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005856/0.3752, allocations: 240 kB / 0.583 GB, free: 12.74 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001612/0.3768, allocations: 0.7137 MB / 0.5837 GB, free: 12.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001966/0.3788, allocations: 1.601 MB / 0.5853 GB, free: 10.42 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00202/0.3808, allocations: 1.346 MB / 0.5866 GB, free: 9.062 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007902/0.3887, allocations: 6.126 MB / 0.5926 GB, free: 2.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.3887, allocations: 0 / 0.5926 GB, free: 2.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.3887, allocations: 0 / 0.5926 GB, free: 2.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001931/0.3889, allocations: 0 / 0.5926 GB, free: 2.91 MB / 430.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.008456/0.3974, allocations: 4.08 MB / 0.5966 GB, free: 14.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.3974, allocations: 8.031 kB / 0.5966 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001136/0.3986, allocations: 0.7001 MB / 0.5972 GB, free: 14.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01084/0.4094, allocations: 3.106 MB / 0.6003 GB, free: 10.94 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005582/0.415, allocations: 2.091 MB / 0.6023 GB, free: 8.812 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002208/0.4152, allocations: 188.8 kB / 0.6025 GB, free: 8.625 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009983/0.4162, allocations: 247.8 kB / 0.6027 GB, free: 8.383 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0175/0.4337, allocations: 10.18 MB / 0.6127 GB, free: 13.77 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001079/0.4338, allocations: 23.81 kB / 0.6127 GB, free: 13.75 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004797/0.4343, allocations: 127.8 kB / 0.6128 GB, free: 13.62 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004303/0.4386, allocations: 2.459 MB / 0.6152 GB, free: 11.16 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02038/0.459, allocations: 9.325 MB / 0.6243 GB, free: 1.824 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05118/0.5101, allocations: 29.9 MB / 0.6535 GB, free: 3.086 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006101/0.5163, allocations: 2.333 MB / 0.6558 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001735/0.518, allocations: 0.9929 MB / 0.6568 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008971/0.5189, allocations: 434.6 kB / 0.6572 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.837e-05/0.5189, allocations: 55.86 kB / 0.6573 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=185): time 5.51e-06/0.5189, allocations: 0 / 0.6573 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=191): time 0.02202/0.541, allocations: 8.936 MB / 0.666 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.053e-05/0.541, allocations: 68.72 kB / 0.666 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004812/0.5458, allocations: 2.785 MB / 0.6688 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000302/0.5461, allocations: 49.7 kB / 0.6688 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002629/0.5488, allocations: 2.776 MB / 0.6715 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00102/0.5498, allocations: 0.7326 MB / 0.6722 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002296/0.5521, allocations: 0.9769 MB / 0.6732 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.5523, allocations: 305.1 kB / 0.6735 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002959/0.5552, allocations: 1.54 MB / 0.675 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005587/0.5608, allocations: 4.375 MB / 0.6793 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00976/0.5706, allocations: 6.552 MB / 0.6857 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001583/0.5707, allocations: 32 kB / 0.6857 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01148/0.5822, allocations: 5.844 MB / 0.6914 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001124/0.5823, allocations: 48 kB / 0.6914 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001742/0.5825, allocations: 100 kB / 0.6915 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003931/0.5829, allocations: 177.6 kB / 0.6917 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0035/0.5864, allocations: 1.068 MB / 0.6927 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001944/0.5883, allocations: 1.689 MB / 0.6944 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002841/0.5912, allocations: 211.9 kB / 0.6946 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007221/0.5919, allocations: 284 kB / 0.6949 GB, free: 5.672 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.003703/0.5956, allocations: 1.993 MB / 0.6968 GB, free: 3.672 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005332/0.5961, allocations: 258.3 kB / 0.6971 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004719/0.6008, allocations: 2.533 MB / 0.6995 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.076e-05/0.6009, allocations: 20 kB / 0.6996 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.6009, allocations: 3.938 kB / 0.6996 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.041e-05/0.6009, allocations: 7.969 kB / 0.6996 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01629/0.6172, allocations: 7.716 MB / 0.7071 GB, free: 8.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.82e-05/0.6172, allocations: 16.03 kB / 0.7071 GB, free: 8.914 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/0.6183, allocations: 247.6 kB / 0.7074 GB, free: 8.672 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002022/0.6185, allocations: 52.83 kB / 0.7074 GB, free: 8.617 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001815/0.6187, allocations: 51.97 kB / 0.7075 GB, free: 8.566 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001633/0.6204, allocations: 1.522 MB / 0.7089 GB, free: 6.926 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.397e-05/0.6204, allocations: 23.94 kB / 0.709 GB, free: 6.902 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006151/0.6265, allocations: 4.017 MB / 0.7129 GB, free: 2.742 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008305/0.6274, allocations: 238.3 kB / 0.7131 GB, free: 2.508 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005847/0.6279, allocations: 36 kB / 0.7131 GB, free: 2.473 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/0.6291, allocations: 67.86 kB / 0.7132 GB, free: 2.406 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002987/0.6294, allocations: 120.6 kB / 0.7133 GB, free: 2.285 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001567/0.6295, allocations: 63.98 kB / 0.7134 GB, free: 2.223 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003316/0.6328, allocations: 1.607 MB / 0.715 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6328, allocations: 7.875 kB / 0.715 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004663/0.6375, allocations: 0.7734 MB / 0.7157 GB, free: 15.82 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.00714/0.6446, allocations: 4.703 MB / 0.7203 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007342/0.652, allocations: 3.705 MB / 0.7239 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.891e-05/0.652, allocations: 4 kB / 0.7239 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002312/0.6543, allocations: 1.174 MB / 0.7251 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002988/0.6573, allocations: 349.9 kB / 0.7254 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2903/0.9476, allocations: 33.45 MB / 0.7581 GB, free: 139 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002579/0.9502, allocations: 2.589 MB / 0.7606 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002966/0.9532, allocations: 1.706 MB / 0.7623 GB, free: 134.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001593/0.9548, allocations: 1.694 MB / 0.7639 GB, free: 133 MB / 0.5606 GB Notification: Performance of SimCode: time 8.51e-07/0.9548, allocations: 0 / 0.7639 GB, free: 133 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08625/1.041, allocations: 45.44 MB / 0.8083 GB, free: 88.25 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.72/15.76, allocations: 18.12 kB / 0.8083 GB, free: 88.23 MB / 0.5606 GB " [Timeout remaining time 644] (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: 18.79349168203771]