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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 104.2 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001825/0.001825, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 242.3 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2053/0.2053, allocations: 44.18 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 60.62 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1252, allocations: 60.82 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01312/0.1384, allocations: 12.3 MB / 481.7 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008326/0.1467, allocations: 3.851 MB / 485.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00194/0.1487, allocations: 63.88 kB / 485.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002747/0.1515, allocations: 1.327 MB / 486.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004298/0.1559, allocations: 1.744 MB / 488.6 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.1569, allocations: 427.2 kB / 489.1 MB, free: 10.49 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005044/0.162, allocations: 3.575 MB / 492.6 MB, free: 6.906 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002999/0.165, allocations: 2.009 MB / 494.6 MB, free: 4.855 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001837/0.1669, allocations: 1.203 MB / 495.8 MB, free: 3.648 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002522/0.1694, allocations: 1.733 MB / 497.6 MB, free: 1.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005104/0.1699, allocations: 240 kB / 497.8 MB, free: 1.676 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001688/0.1716, allocations: 0.8385 MB / 498.7 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001399/0.173, allocations: 1.589 MB / 0.4885 GB, free: 15.24 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001924/0.175, allocations: 1.902 MB / 0.4904 GB, free: 13.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006257/0.1812, allocations: 5.852 MB / 0.4961 GB, free: 7.457 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.1813, allocations: 0 / 0.4961 GB, free: 7.457 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1813, allocations: 0 / 0.4961 GB, free: 7.457 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001306/0.1814, allocations: 0 / 0.4961 GB, free: 7.457 MB / 382.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.007045/0.1885, allocations: 4.081 MB / 0.5001 GB, free: 3.309 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.825e-05/0.1885, allocations: 12.03 kB / 0.5001 GB, free: 3.297 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007815/0.1893, allocations: 0.6962 MB / 0.5008 GB, free: 2.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2479/0.4372, allocations: 3.077 MB / 0.5038 GB, free: 45.87 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00708/0.4443, allocations: 2.213 MB / 0.5059 GB, free: 45.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002974/0.4447, allocations: 188.2 kB / 0.5061 GB, free: 45.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001325/0.446, allocations: 251.3 kB / 0.5064 GB, free: 45.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0244/0.4705, allocations: 10.18 MB / 0.5163 GB, free: 41.13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001069/0.4706, allocations: 29.48 kB / 0.5163 GB, free: 41.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000453/0.4711, allocations: 117.7 kB / 0.5164 GB, free: 41.06 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004212/0.4753, allocations: 2.464 MB / 0.5188 GB, free: 40.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01686/0.4922, allocations: 9.364 MB / 0.528 GB, free: 34.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03729/0.5295, allocations: 31.66 MB / 0.5589 GB, free: 2.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005297/0.5349, allocations: 3.346 MB / 0.5622 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001752/0.5366, allocations: 1.073 MB / 0.5632 GB, free: 13.54 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001559/0.5382, allocations: 1.313 MB / 0.5645 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.923e-05/0.5383, allocations: 52.36 kB / 0.5646 GB, free: 11.94 MB / 398.1 MB Notification: Performance of pre-optimization done (n=185): time 4.919e-06/0.5383, allocations: 0 / 0.5646 GB, free: 11.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=191): time 0.02143/0.5597, allocations: 9.096 MB / 0.5734 GB, free: 2.75 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.5598, allocations: 80.59 kB / 0.5735 GB, free: 2.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003535/0.5634, allocations: 2.615 MB / 0.5761 GB, free: 24 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002333/0.5636, allocations: 45.7 kB / 0.5761 GB, free: 15.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001749/0.5654, allocations: 2.672 MB / 0.5787 GB, free: 13.26 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007025/0.5661, allocations: 0.7016 MB / 0.5794 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001122/0.5672, allocations: 0.9645 MB / 0.5803 GB, free: 11.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.5673, allocations: 305.1 kB / 0.5806 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002238/0.5696, allocations: 1.544 MB / 0.5821 GB, free: 9.723 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004754/0.5744, allocations: 4.375 MB / 0.5864 GB, free: 3.941 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008178/0.5826, allocations: 6.553 MB / 0.5928 GB, free: 11.99 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001114/0.5827, allocations: 32 kB / 0.5928 GB, free: 11.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01069/0.5934, allocations: 5.827 MB / 0.5985 GB, free: 6.121 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001028/0.5936, allocations: 48.22 kB / 0.5986 GB, free: 6.074 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001588/0.5937, allocations: 104 kB / 0.5987 GB, free: 5.973 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003812/0.5941, allocations: 180.8 kB / 0.5989 GB, free: 5.793 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003415/0.5976, allocations: 1.064 MB / 0.5999 GB, free: 4.727 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001789/0.5994, allocations: 1.789 MB / 0.6016 GB, free: 2.793 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003192/0.6026, allocations: 204 kB / 0.6018 GB, free: 2.594 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008171/0.6034, allocations: 296 kB / 0.6021 GB, free: 2.305 MB / 430.1 MB 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.004399/0.6078, allocations: 2.001 MB / 0.6041 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006685/0.6085, allocations: 248.7 kB / 0.6043 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00462/0.6131, allocations: 2.534 MB / 0.6068 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.863e-05/0.6132, allocations: 23.94 kB / 0.6068 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.6132, allocations: 0 / 0.6068 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.661e-05/0.6133, allocations: 7.969 kB / 0.6068 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01573/0.629, allocations: 7.957 MB / 0.6146 GB, free: 5.305 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-05/0.6291, allocations: 11.94 kB / 0.6146 GB, free: 5.293 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001118/0.6302, allocations: 251.6 kB / 0.6148 GB, free: 5.047 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001796/0.6304, allocations: 56.83 kB / 0.6149 GB, free: 4.988 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001946/0.6306, allocations: 40.45 kB / 0.6149 GB, free: 4.949 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001498/0.6321, allocations: 1.637 MB / 0.6165 GB, free: 3.176 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.029e-05/0.6321, allocations: 15.94 kB / 0.6165 GB, free: 3.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005612/0.6378, allocations: 4.019 MB / 0.6205 GB, free: 14.99 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008349/0.6387, allocations: 297.9 kB / 0.6207 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005311/0.6392, allocations: 39.98 kB / 0.6208 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/0.6403, allocations: 51.95 kB / 0.6208 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002333/0.6406, allocations: 120.7 kB / 0.621 GB, free: 14.47 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001261/0.6407, allocations: 63.91 kB / 0.621 GB, free: 14.41 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003444/0.6442, allocations: 1.608 MB / 0.6226 GB, free: 12.79 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6442, allocations: 4 kB / 0.6226 GB, free: 12.79 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004945/0.6491, allocations: 0.7981 MB / 0.6234 GB, free: 12 MB / 462.1 MB 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.006726/0.6559, allocations: 4.685 MB / 0.6279 GB, free: 7.148 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009044/0.6649, allocations: 5.501 MB / 0.6333 GB, free: 1.68 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.469e-05/0.665, allocations: 4 kB / 0.6333 GB, free: 1.676 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001868/0.6669, allocations: 1.229 MB / 0.6345 GB, free: 448 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002596/0.6695, allocations: 353.9 kB / 0.6349 GB, free: 104 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05725/0.7268, allocations: 35.74 MB / 0.6698 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004907/0.7317, allocations: 3.141 MB / 0.6728 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004037/0.7358, allocations: 1.71 MB / 0.6745 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002373/0.7382, allocations: 1.702 MB / 0.6762 GB, free: 320 kB / 0.4981 GB Notification: Performance of SimCode: time 1.022e-06/0.7382, allocations: 0 / 0.6762 GB, free: 320 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2929/1.031, allocations: 48.47 MB / 0.7235 GB, free: 162.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.77, allocations: 7.922 kB / 0.7235 GB, free: 162.5 MB / 0.5137 GB (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.00044 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) 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) Reference file matches