Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001716/0.001716, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001915/0.001915, allocations: 211.9 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 230.5 MB / 257.4 MB, free: 7.758 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2207/0.2207, allocations: 46.95 MB / 360.8 MB, free: 3.918 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002361/0.002361, allocations: 83.86 kB / 0.4962 GB, free: 7.531 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.349, allocations: 66.08 MB / 0.5607 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01426/0.3633, allocations: 10.72 MB / 0.5712 GB, free: 9.223 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008615/0.3719, allocations: 3.676 MB / 0.5748 GB, free: 5.535 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00234/0.3742, allocations: 67.75 kB / 0.5748 GB, free: 5.469 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00311/0.3773, allocations: 1.311 MB / 0.5761 GB, free: 4.152 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004526/0.3818, allocations: 1.771 MB / 0.5778 GB, free: 2.375 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.3829, allocations: 415.2 kB / 0.5782 GB, free: 1.969 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005018/0.388, allocations: 3.602 MB / 0.5817 GB, free: 14.36 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002732/0.3907, allocations: 1.834 MB / 0.5835 GB, free: 12.49 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00224/0.3929, allocations: 1.211 MB / 0.5847 GB, free: 11.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002902/0.3958, allocations: 1.841 MB / 0.5865 GB, free: 9.426 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006294/0.3965, allocations: 240 kB / 0.5867 GB, free: 9.191 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001632/0.3981, allocations: 0.7137 MB / 0.5874 GB, free: 8.477 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001684/0.3998, allocations: 1.601 MB / 0.589 GB, free: 6.871 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001707/0.4015, allocations: 1.346 MB / 0.5903 GB, free: 5.516 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007499/0.409, allocations: 6.122 MB / 0.5963 GB, free: 15.37 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.409, allocations: 3.938 kB / 0.5963 GB, free: 15.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.409, allocations: 4 kB / 0.5963 GB, free: 15.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001839/0.4092, allocations: 0 / 0.5963 GB, free: 15.36 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.008368/0.4175, allocations: 4.069 MB / 0.6003 GB, free: 11.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.4176, allocations: 8.031 kB / 0.6003 GB, free: 11.23 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001161/0.4188, allocations: 0.7079 MB / 0.601 GB, free: 10.51 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01082/0.4296, allocations: 3.102 MB / 0.604 GB, free: 7.398 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005277/0.4349, allocations: 2.095 MB / 0.606 GB, free: 5.266 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001985/0.4351, allocations: 188.8 kB / 0.6062 GB, free: 5.078 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007561/0.4358, allocations: 243.8 kB / 0.6065 GB, free: 4.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01718/0.453, allocations: 10.18 MB / 0.6164 GB, free: 10.23 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.331e-05/0.4531, allocations: 23.81 kB / 0.6164 GB, free: 10.2 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003671/0.4534, allocations: 119.8 kB / 0.6165 GB, free: 10.09 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004205/0.4576, allocations: 2.463 MB / 0.6189 GB, free: 7.621 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01868/0.4763, allocations: 9.333 MB / 0.6281 GB, free: 14.28 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04737/0.5237, allocations: 29.9 MB / 0.6573 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005568/0.5293, allocations: 2.335 MB / 0.6595 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001537/0.5308, allocations: 0.9976 MB / 0.6605 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008783/0.5317, allocations: 430.6 kB / 0.6609 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.309e-05/0.5317, allocations: 55.86 kB / 0.661 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=185): time 4.188e-06/0.5317, allocations: 0 / 0.661 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=191): time 0.01985/0.5516, allocations: 8.943 MB / 0.6697 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/0.5516, allocations: 68.72 kB / 0.6698 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004337/0.556, allocations: 2.785 MB / 0.6725 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001956/0.5562, allocations: 49.7 kB / 0.6725 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002155/0.5583, allocations: 2.776 MB / 0.6753 GB, free: 13 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.00075/0.5591, allocations: 0.7363 MB / 0.676 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001249/0.5603, allocations: 0.9691 MB / 0.6769 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.5605, allocations: 301.1 kB / 0.6772 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002358/0.5628, allocations: 1.54 MB / 0.6787 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005139/0.568, allocations: 4.379 MB / 0.683 GB, free: 3.652 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008872/0.5768, allocations: 6.552 MB / 0.6894 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.982e-05/0.5769, allocations: 28 kB / 0.6894 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01086/0.5878, allocations: 5.844 MB / 0.6951 GB, free: 5.824 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.39e-05/0.5879, allocations: 48 kB / 0.6952 GB, free: 5.777 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001223/0.588, allocations: 100 kB / 0.6953 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003743/0.5884, allocations: 176.8 kB / 0.6954 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003181/0.5916, allocations: 1.064 MB / 0.6965 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001849/0.5934, allocations: 1.686 MB / 0.6981 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002736/0.5961, allocations: 211.9 kB / 0.6983 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004711/0.5966, allocations: 292 kB / 0.6986 GB, free: 2.137 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.003371/0.6, allocations: 1.989 MB / 0.7005 GB, free: 140 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005488/0.6005, allocations: 258.5 kB / 0.7008 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004018/0.6045, allocations: 2.541 MB / 0.7033 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.94e-05/0.6046, allocations: 20 kB / 0.7033 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.6046, allocations: 0 / 0.7033 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.478e-05/0.6046, allocations: 7.969 kB / 0.7033 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01341/0.618, allocations: 7.716 MB / 0.7108 GB, free: 5.387 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.74e-05/0.618, allocations: 12 kB / 0.7108 GB, free: 5.375 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009857/0.619, allocations: 247.7 kB / 0.7111 GB, free: 5.133 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001618/0.6192, allocations: 56.83 kB / 0.7111 GB, free: 5.074 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001/0.6193, allocations: 43.98 kB / 0.7112 GB, free: 5.031 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00157/0.6208, allocations: 1.526 MB / 0.7127 GB, free: 3.387 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.279e-05/0.6209, allocations: 19.88 kB / 0.7127 GB, free: 3.367 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005622/0.6265, allocations: 4.025 MB / 0.7166 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007076/0.6272, allocations: 242.2 kB / 0.7168 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002458/0.6274, allocations: 32 kB / 0.7169 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007411/0.6282, allocations: 63.94 kB / 0.7169 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002426/0.6284, allocations: 124.6 kB / 0.7171 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001294/0.6285, allocations: 67.89 kB / 0.7171 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00243/0.631, allocations: 1.607 MB / 0.7187 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.631, allocations: 0 / 0.7187 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003494/0.6345, allocations: 0.7695 MB / 0.7194 GB, free: 12.29 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.005915/0.6404, allocations: 4.699 MB / 0.724 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006181/0.6466, allocations: 3.712 MB / 0.7277 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.672e-05/0.6466, allocations: 4 kB / 0.7277 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001739/0.6483, allocations: 1.171 MB / 0.7288 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001823/0.6501, allocations: 344.8 kB / 0.7291 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2875/0.9376, allocations: 33.45 MB / 0.7618 GB, free: 133.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003531/0.9411, allocations: 2.586 MB / 0.7643 GB, free: 130.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003008/0.9441, allocations: 1.711 MB / 0.766 GB, free: 128.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001784/0.9459, allocations: 1.698 MB / 0.7677 GB, free: 127.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.543e-06/0.9459, allocations: 0 / 0.7677 GB, free: 127.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08194/1.028, allocations: 45.43 MB / 0.812 GB, free: 82.32 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.06/16.09, allocations: 14.59 kB / 0.812 GB, free: 82.31 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.08725316915661]