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.001611/0.001611, allocations: 115.6 kB / 20.44 MB, free: 1.465 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.001692/0.001692, allocations: 212.6 kB / 23.74 MB, free: 4.691 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.496/1.496, allocations: 230.6 MB / 257.5 MB, free: 7.977 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.2388/0.2388, allocations: 44.91 MB / 358.8 MB, free: 6.273 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.00202/0.00202, allocations: 67.89 kB / 0.4931 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3872/0.3892, allocations: 65.48 MB / 0.557 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01477/0.404, allocations: 12.34 MB / 0.5691 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008949/0.4129, allocations: 3.902 MB / 0.5729 GB, free: 7.461 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00201/0.4149, allocations: 67.75 kB / 0.573 GB, free: 7.395 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00315/0.4181, allocations: 1.346 MB / 0.5743 GB, free: 6.043 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004767/0.4228, allocations: 1.771 MB / 0.576 GB, free: 4.266 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001446/0.4243, allocations: 423.2 kB / 0.5764 GB, free: 3.852 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005984/0.4303, allocations: 3.598 MB / 0.5799 GB, free: 256 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003397/0.4337, allocations: 1.842 MB / 0.5817 GB, free: 14.37 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002378/0.436, allocations: 1.21 MB / 0.5829 GB, free: 13.16 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003436/0.4395, allocations: 1.919 MB / 0.5848 GB, free: 11.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009153/0.4404, allocations: 240 kB / 0.585 GB, free: 11 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002105/0.4425, allocations: 0.8386 MB / 0.5858 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00214/0.4446, allocations: 1.604 MB / 0.5874 GB, free: 8.547 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002973/0.4476, allocations: 1.871 MB / 0.5892 GB, free: 6.664 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00881/0.4564, allocations: 6.095 MB / 0.5952 GB, free: 0.543 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.4564, allocations: 0 / 0.5952 GB, free: 0.543 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4564, allocations: 0 / 0.5952 GB, free: 0.543 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000231/0.4567, allocations: 4 kB / 0.5952 GB, free: 0.5391 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.009278/0.4659, allocations: 4.08 MB / 0.5992 GB, free: 12.4 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/0.466, allocations: 8.031 kB / 0.5992 GB, free: 12.39 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001281/0.4673, allocations: 0.7079 MB / 0.5999 GB, free: 11.67 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01076/0.478, allocations: 3.11 MB / 0.6029 GB, free: 8.555 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005717/0.4838, allocations: 2.064 MB / 0.6049 GB, free: 6.453 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001942/0.4839, allocations: 192.8 kB / 0.6051 GB, free: 6.262 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008218/0.4848, allocations: 239.8 kB / 0.6053 GB, free: 6.027 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02071/0.5055, allocations: 10.19 MB / 0.6153 GB, free: 11.41 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001768/0.5057, allocations: 23.81 kB / 0.6153 GB, free: 11.39 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001201/0.5069, allocations: 119.8 kB / 0.6154 GB, free: 11.27 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004879/0.5117, allocations: 2.467 MB / 0.6178 GB, free: 8.801 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02074/0.5325, allocations: 9.352 MB / 0.6269 GB, free: 15.44 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05066/0.5831, allocations: 31.41 MB / 0.6576 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00602/0.5892, allocations: 2.344 MB / 0.6599 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001694/0.5909, allocations: 0.986 MB / 0.6609 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009241/0.5918, allocations: 442.5 kB / 0.6613 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.632e-05/0.5918, allocations: 55.81 kB / 0.6613 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=185): time 4.359e-06/0.5918, allocations: 0 / 0.6613 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=191): time 0.02083/0.6127, allocations: 8.94 MB / 0.6701 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.6127, allocations: 64.72 kB / 0.6701 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004012/0.6167, allocations: 2.623 MB / 0.6727 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001184/0.6169, allocations: 49.7 kB / 0.6727 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002062/0.6189, allocations: 2.78 MB / 0.6755 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006858/0.6196, allocations: 0.7325 MB / 0.6762 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001253/0.6209, allocations: 0.973 MB / 0.6771 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.621, allocations: 305.1 kB / 0.6774 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002459/0.6234, allocations: 1.536 MB / 0.6789 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004745/0.6282, allocations: 4.383 MB / 0.6832 GB, free: 3.453 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00791/0.6361, allocations: 6.548 MB / 0.6896 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.97e-05/0.6362, allocations: 28 kB / 0.6896 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.009293/0.6454, allocations: 5.844 MB / 0.6953 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.839e-05/0.6455, allocations: 48 kB / 0.6954 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001065/0.6456, allocations: 100 kB / 0.6955 GB, free: 5.484 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003274/0.6459, allocations: 177.6 kB / 0.6956 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003203/0.6491, allocations: 1.068 MB / 0.6967 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00172/0.6509, allocations: 1.697 MB / 0.6983 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002403/0.6533, allocations: 215.9 kB / 0.6985 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000418/0.6537, allocations: 284 kB / 0.6988 GB, free: 1.934 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.003048/0.6567, allocations: 1.995 MB / 0.7008 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003944/0.6571, allocations: 262.2 kB / 0.701 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003957/0.6611, allocations: 2.53 MB / 0.7035 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.013e-05/0.6611, allocations: 20 kB / 0.7035 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.6611, allocations: 0 / 0.7035 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.798e-05/0.6611, allocations: 7.969 kB / 0.7035 GB, free: 13.08 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01269/0.6738, allocations: 7.918 MB / 0.7112 GB, free: 4.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-05/0.6739, allocations: 16.25 kB / 0.7113 GB, free: 4.965 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/0.6749, allocations: 247.5 kB / 0.7115 GB, free: 4.723 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001659/0.675, allocations: 56.83 kB / 0.7115 GB, free: 4.664 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/0.6751, allocations: 43.97 kB / 0.7116 GB, free: 4.621 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001455/0.6766, allocations: 1.522 MB / 0.7131 GB, free: 2.98 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.317e-05/0.6766, allocations: 19.94 kB / 0.7131 GB, free: 2.961 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005607/0.6822, allocations: 4.028 MB / 0.717 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006018/0.6828, allocations: 234.2 kB / 0.7172 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003176/0.6831, allocations: 32 kB / 0.7173 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007746/0.6839, allocations: 67.88 kB / 0.7173 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002176/0.6841, allocations: 132.5 kB / 0.7175 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001227/0.6842, allocations: 67.98 kB / 0.7175 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002491/0.6867, allocations: 1.603 MB / 0.7191 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6867, allocations: 0 / 0.7191 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003519/0.6903, allocations: 0.7771 MB / 0.7199 GB, free: 11.88 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.005824/0.6961, allocations: 4.703 MB / 0.7245 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006225/0.7023, allocations: 3.709 MB / 0.7281 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/0.7023, allocations: 4.188 kB / 0.7281 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001821/0.7041, allocations: 1.166 MB / 0.7292 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00226/0.7064, allocations: 355.7 kB / 0.7296 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3283/1.035, allocations: 33.44 MB / 0.7622 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005962/1.041, allocations: 3.134 MB / 0.7653 GB, free: 133.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003714/1.044, allocations: 1.706 MB / 0.7669 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002532/1.047, allocations: 1.698 MB / 0.7686 GB, free: 129.8 MB / 0.5606 GB Notification: Performance of SimCode: time 1.603e-06/1.047, allocations: 0 / 0.7686 GB, free: 129.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1021/1.149, allocations: 49.96 MB / 0.8174 GB, free: 80.22 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.48/19.63, allocations: 0 / 0.8174 GB, free: 80.22 MB / 0.5606 GB " [Timeout remaining time 640] (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: 22.841168777995335]