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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001209/0.001209, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001321/0.001321, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2197/0.2197, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001523, allocations: 80.92 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1222, allocations: 62.44 MB / 480.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01336/0.1356, allocations: 12.27 MB / 492.4 MB, free: 8.848 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007969/0.1436, allocations: 3.859 MB / 496.3 MB, free: 4.977 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001885/0.1455, allocations: 63.88 kB / 496.3 MB, free: 4.914 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002923/0.1485, allocations: 1.319 MB / 497.6 MB, free: 3.59 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004522/0.1531, allocations: 1.716 MB / 499.4 MB, free: 1.867 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.1543, allocations: 427.2 kB / 499.8 MB, free: 1.449 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004539/0.1589, allocations: 3.587 MB / 0.4916 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002865/0.1617, allocations: 2.005 MB / 0.4935 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002495/0.1642, allocations: 1.187 MB / 0.4947 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002676/0.1669, allocations: 1.74 MB / 0.4964 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008082/0.1678, allocations: 236 kB / 0.4966 GB, free: 8.645 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00219/0.17, allocations: 0.8113 MB / 0.4974 GB, free: 7.832 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001879/0.1719, allocations: 1.57 MB / 0.4989 GB, free: 6.258 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003104/0.175, allocations: 1.871 MB / 0.5008 GB, free: 4.375 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.233/0.408, allocations: 5.778 MB / 0.5064 GB, free: 18.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.408, allocations: 0 / 0.5064 GB, free: 18.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.408, allocations: 0.9375 kB / 0.5064 GB, free: 18.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000205/0.4082, allocations: 0 / 0.5064 GB, free: 18.43 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.008703/0.417, allocations: 4.033 MB / 0.5103 GB, free: 16.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/0.417, allocations: 10.22 kB / 0.5103 GB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001591/0.4186, allocations: 0.7082 MB / 0.511 GB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01214/0.4308, allocations: 3.083 MB / 0.514 GB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006286/0.4371, allocations: 2.115 MB / 0.5161 GB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003043/0.4375, allocations: 186.2 kB / 0.5163 GB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001915/0.4394, allocations: 253 kB / 0.5165 GB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02095/0.4604, allocations: 10.17 MB / 0.5265 GB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001271/0.4606, allocations: 24.66 kB / 0.5265 GB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008149/0.4614, allocations: 126.2 kB / 0.5266 GB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005704/0.4671, allocations: 2.461 MB / 0.529 GB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02687/0.494, allocations: 9.354 MB / 0.5381 GB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06337/0.5575, allocations: 31.66 MB / 0.5691 GB, free: 8.039 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009073/0.5666, allocations: 3.353 MB / 0.5723 GB, free: 4.461 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002335/0.5689, allocations: 1.078 MB / 0.5734 GB, free: 3.383 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001684/0.5707, allocations: 1.304 MB / 0.5747 GB, free: 1.867 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.756e-05/0.5707, allocations: 43.88 kB / 0.5747 GB, free: 1.816 MB / 414.1 MB Notification: Performance of pre-optimization done (n=185): time 5.67e-06/0.5707, allocations: 0 / 0.5747 GB, free: 1.816 MB / 414.1 MB Notification: Performance of matching and sorting (n=191): time 0.02847/0.5992, allocations: 9.103 MB / 0.5836 GB, free: 8.648 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.5993, allocations: 68.72 kB / 0.5837 GB, free: 8.566 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004482/0.6038, allocations: 2.605 MB / 0.5862 GB, free: 5.941 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001679/0.604, allocations: 52.52 kB / 0.5863 GB, free: 5.887 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002108/0.6061, allocations: 2.661 MB / 0.5889 GB, free: 3.234 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007772/0.6069, allocations: 0.7061 MB / 0.5895 GB, free: 2.535 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001639/0.6086, allocations: 0.9621 MB / 0.5905 GB, free: 1.562 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.6087, allocations: 313 kB / 0.5908 GB, free: 1.254 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002603/0.6113, allocations: 1.536 MB / 0.5923 GB, free: 15.71 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00492/0.6163, allocations: 4.377 MB / 0.5966 GB, free: 9.977 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008231/0.6245, allocations: 6.556 MB / 0.603 GB, free: 2.438 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001198/0.6247, allocations: 28 kB / 0.603 GB, free: 2.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01044/0.6351, allocations: 5.825 MB / 0.6087 GB, free: 12.96 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.581e-05/0.6353, allocations: 51.94 kB / 0.6087 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001287/0.6354, allocations: 96 kB / 0.6088 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003839/0.6358, allocations: 176.8 kB / 0.609 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003159/0.639, allocations: 1.068 MB / 0.61 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001579/0.6406, allocations: 1.794 MB / 0.6118 GB, free: 9.641 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002608/0.6432, allocations: 208 kB / 0.612 GB, free: 9.438 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005526/0.6438, allocations: 300.5 kB / 0.6123 GB, free: 9.148 MB / 462.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.003019/0.6468, allocations: 1.992 MB / 0.6142 GB, free: 7.148 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000567/0.6474, allocations: 240.8 kB / 0.6144 GB, free: 6.91 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003842/0.6512, allocations: 2.537 MB / 0.6169 GB, free: 4.344 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.173e-05/0.6513, allocations: 26.44 kB / 0.6169 GB, free: 4.324 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.6513, allocations: 4 kB / 0.6169 GB, free: 4.32 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/0.6513, allocations: 7.969 kB / 0.617 GB, free: 4.312 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01383/0.6651, allocations: 7.963 MB / 0.6247 GB, free: 12.19 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.779e-05/0.6652, allocations: 19.92 kB / 0.6247 GB, free: 12.17 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/0.6662, allocations: 243.6 kB / 0.625 GB, free: 11.93 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001813/0.6664, allocations: 61.55 kB / 0.625 GB, free: 11.87 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001379/0.6666, allocations: 38.11 kB / 0.6251 GB, free: 11.83 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001479/0.6681, allocations: 1.625 MB / 0.6267 GB, free: 10.07 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.17e-05/0.6681, allocations: 17.36 kB / 0.6267 GB, free: 10.05 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005137/0.6732, allocations: 4.015 MB / 0.6306 GB, free: 5.895 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006399/0.6739, allocations: 301.8 kB / 0.6309 GB, free: 5.578 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004528/0.6744, allocations: 39.98 kB / 0.6309 GB, free: 5.539 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009588/0.6753, allocations: 63.08 kB / 0.631 GB, free: 5.48 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002219/0.6756, allocations: 116.7 kB / 0.6311 GB, free: 5.367 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001182/0.6757, allocations: 63.92 kB / 0.6312 GB, free: 5.305 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002926/0.6786, allocations: 1.611 MB / 0.6327 GB, free: 3.684 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6786, allocations: 0 / 0.6327 GB, free: 3.684 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004107/0.6828, allocations: 0.772 MB / 0.6335 GB, free: 2.914 MB / 478.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.006293/0.6891, allocations: 4.693 MB / 0.6381 GB, free: 14.06 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0096/0.6987, allocations: 5.482 MB / 0.6434 GB, free: 8.594 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.481e-05/0.6987, allocations: 1 kB / 0.6434 GB, free: 8.594 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002083/0.7008, allocations: 1.228 MB / 0.6446 GB, free: 7.359 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002889/0.7037, allocations: 345.5 kB / 0.645 GB, free: 7.023 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0633/0.7671, allocations: 35.7 MB / 0.6798 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004147/0.7713, allocations: 3.133 MB / 0.6829 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004035/0.7753, allocations: 1.71 MB / 0.6846 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002751/0.7781, allocations: 1.694 MB / 0.6862 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of SimCode: time 1.313e-06/0.7781, allocations: 0 / 0.6862 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3057/1.084, allocations: 48.4 MB / 0.7335 GB, free: 196.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/12.09, allocations: 9.391 kB / 0.7335 GB, free: 196.1 MB / 0.545 GB (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.00044 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches