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.001159/0.001159, allocations: 117.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001285/0.001285, allocations: 199.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2192/0.2192, allocations: 46.12 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 79.81 kB / 480.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3727, allocations: 62.42 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01381/0.3866, allocations: 12.27 MB / 0.5425 GB, free: 3.801 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009026/0.3957, allocations: 3.858 MB / 0.5463 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002366/0.3981, allocations: 61.69 kB / 0.5463 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002768/0.4009, allocations: 1.307 MB / 0.5476 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004396/0.4053, allocations: 1.76 MB / 0.5493 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009738/0.4063, allocations: 419.2 kB / 0.5497 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00417/0.4104, allocations: 3.602 MB / 0.5532 GB, free: 10.47 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00205/0.4125, allocations: 2.005 MB / 0.5552 GB, free: 8.43 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001339/0.4139, allocations: 1.191 MB / 0.5564 GB, free: 7.234 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001804/0.4157, allocations: 1.74 MB / 0.5581 GB, free: 5.488 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003863/0.4161, allocations: 240 kB / 0.5583 GB, free: 5.254 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001445/0.4175, allocations: 0.8035 MB / 0.5591 GB, free: 4.449 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001279/0.4188, allocations: 1.57 MB / 0.5606 GB, free: 2.875 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001552/0.4204, allocations: 1.879 MB / 0.5624 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005918/0.4263, allocations: 6.095 MB / 0.5684 GB, free: 10.87 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.4263, allocations: 7.938 kB / 0.5684 GB, free: 10.86 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4264, allocations: 0 / 0.5684 GB, free: 10.86 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.283e-05/0.4265, allocations: 0 / 0.5684 GB, free: 10.86 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.006118/0.4326, allocations: 4.148 MB / 0.5725 GB, free: 6.637 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.4326, allocations: 8.031 kB / 0.5725 GB, free: 6.629 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007673/0.4334, allocations: 0.704 MB / 0.5732 GB, free: 5.914 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01027/0.4437, allocations: 3.11 MB / 0.5762 GB, free: 2.797 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004857/0.4486, allocations: 2.132 MB / 0.5783 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001382/0.4487, allocations: 188.8 kB / 0.5784 GB, free: 436 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005554/0.4493, allocations: 247.8 kB / 0.5787 GB, free: 188 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01478/0.4641, allocations: 10.18 MB / 0.5886 GB, free: 5.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.041e-05/0.4642, allocations: 27.75 kB / 0.5887 GB, free: 5.543 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003384/0.4646, allocations: 123.8 kB / 0.5888 GB, free: 5.422 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003957/0.4685, allocations: 2.46 MB / 0.5912 GB, free: 2.957 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01771/0.4863, allocations: 9.357 MB / 0.6003 GB, free: 9.59 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04277/0.5291, allocations: 31.52 MB / 0.6311 GB, free: 9.246 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00575/0.5349, allocations: 3.351 MB / 0.6344 GB, free: 5.672 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001392/0.5363, allocations: 1.072 MB / 0.6354 GB, free: 4.598 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001137/0.5375, allocations: 1.31 MB / 0.6367 GB, free: 3.066 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.5375, allocations: 47.88 kB / 0.6367 GB, free: 3.012 MB / 494.1 MB Notification: Performance of pre-optimization done (n=185): time 5.791e-06/0.5375, allocations: 0 / 0.6367 GB, free: 3.012 MB / 494.1 MB Notification: Performance of matching and sorting (n=191): time 0.01931/0.5568, allocations: 9.169 MB / 0.6457 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.5569, allocations: 76.7 kB / 0.6458 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00349/0.5604, allocations: 2.611 MB / 0.6483 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.5605, allocations: 45.7 kB / 0.6484 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001843/0.5624, allocations: 2.78 MB / 0.6511 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005803/0.563, allocations: 0.7325 MB / 0.6518 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001061/0.5641, allocations: 0.9692 MB / 0.6527 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.5642, allocations: 301.1 kB / 0.653 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002049/0.5662, allocations: 1.548 MB / 0.6545 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003889/0.5701, allocations: 4.371 MB / 0.6588 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006867/0.577, allocations: 6.555 MB / 0.6652 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.955e-05/0.5771, allocations: 32 kB / 0.6652 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.008338/0.5854, allocations: 5.848 MB / 0.6709 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.41e-05/0.5855, allocations: 48.19 kB / 0.671 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001039/0.5856, allocations: 100 kB / 0.6711 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003252/0.5859, allocations: 176.8 kB / 0.6713 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00299/0.5889, allocations: 1.068 MB / 0.6723 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001545/0.5905, allocations: 1.794 MB / 0.6741 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002561/0.5931, allocations: 200 kB / 0.6742 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003478/0.5934, allocations: 304 kB / 0.6745 GB, free: 9.168 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.002766/0.5962, allocations: 1.989 MB / 0.6765 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000335/0.5965, allocations: 258.2 kB / 0.6767 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003658/0.6002, allocations: 2.533 MB / 0.6792 GB, free: 4.352 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.493e-05/0.6003, allocations: 24 kB / 0.6792 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.6003, allocations: 4 kB / 0.6792 GB, free: 4.324 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.464e-05/0.6003, allocations: 7.969 kB / 0.6792 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01243/0.6127, allocations: 7.933 MB / 0.687 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.508e-05/0.6128, allocations: 8 kB / 0.687 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009674/0.6138, allocations: 251.6 kB / 0.6872 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001725/0.6139, allocations: 56.83 kB / 0.6873 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.885e-05/0.614, allocations: 39.98 kB / 0.6873 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001376/0.6154, allocations: 1.63 MB / 0.6889 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-05/0.6155, allocations: 15.98 kB / 0.6889 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004841/0.6203, allocations: 4.036 MB / 0.6929 GB, free: 5.863 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005642/0.6209, allocations: 311.3 kB / 0.6932 GB, free: 5.539 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002423/0.6211, allocations: 36 kB / 0.6932 GB, free: 5.504 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00075/0.6219, allocations: 59.88 kB / 0.6933 GB, free: 5.445 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001849/0.6221, allocations: 120.7 kB / 0.6934 GB, free: 5.328 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/0.6222, allocations: 63.98 kB / 0.6934 GB, free: 5.266 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002226/0.6244, allocations: 1.607 MB / 0.695 GB, free: 3.648 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6244, allocations: 0 / 0.695 GB, free: 3.648 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003311/0.6278, allocations: 0.7733 MB / 0.6958 GB, free: 2.875 MB / 0.545 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.005189/0.633, allocations: 4.703 MB / 0.7003 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005653/0.6386, allocations: 3.887 MB / 0.7041 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/0.6387, allocations: 0 / 0.7041 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001574/0.6403, allocations: 1.226 MB / 0.7053 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/0.6421, allocations: 361.5 kB / 0.7057 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3364/0.9786, allocations: 33.33 MB / 0.7382 GB, free: 174.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003405/0.9821, allocations: 3.132 MB / 0.7413 GB, free: 173 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003367/0.9854, allocations: 1.71 MB / 0.743 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001842/0.9873, allocations: 1.697 MB / 0.7446 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of SimCode: time 1.243e-06/0.9873, allocations: 0 / 0.7446 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06774/1.055, allocations: 45.65 MB / 0.7892 GB, free: 129.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.79/18.85, allocations: 8.938 kB / 0.7892 GB, free: 129.4 MB / 0.5762 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