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.001833/0.001833, allocations: 118.8 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.002407/0.002407, allocations: 198 kB / 18.73 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.454/1.454, 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.2318/0.2318, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 75.88 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.3713, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01467/0.386, allocations: 12.27 MB / 0.5425 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01018/0.3963, allocations: 3.854 MB / 0.5463 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003018/0.3993, allocations: 62 kB / 0.5463 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003793/0.4032, allocations: 1.319 MB / 0.5476 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005544/0.4088, allocations: 1.76 MB / 0.5493 GB, free: 14.47 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.4102, allocations: 423.2 kB / 0.5497 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005713/0.416, allocations: 3.605 MB / 0.5533 GB, free: 10.44 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003437/0.4194, allocations: 1.997 MB / 0.5552 GB, free: 8.41 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002495/0.422, allocations: 1.191 MB / 0.5564 GB, free: 7.215 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002906/0.4249, allocations: 1.74 MB / 0.5581 GB, free: 5.469 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009976/0.4259, allocations: 240 kB / 0.5583 GB, free: 5.234 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002375/0.4283, allocations: 0.8035 MB / 0.5591 GB, free: 4.43 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00232/0.4307, allocations: 1.574 MB / 0.5606 GB, free: 2.852 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003621/0.4343, allocations: 1.871 MB / 0.5624 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009207/0.4436, allocations: 6.099 MB / 0.5684 GB, free: 10.85 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/0.4436, allocations: 0 / 0.5684 GB, free: 10.85 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.4436, allocations: 0 / 0.5684 GB, free: 10.85 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002372/0.4439, allocations: 0 / 0.5684 GB, free: 10.85 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.009923/0.4538, allocations: 4.156 MB / 0.5725 GB, free: 6.617 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.4539, allocations: 8.031 kB / 0.5725 GB, free: 6.609 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001585/0.4555, allocations: 0.704 MB / 0.5732 GB, free: 5.895 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01016/0.4657, allocations: 3.102 MB / 0.5762 GB, free: 2.785 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004421/0.4701, allocations: 2.136 MB / 0.5783 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001696/0.4703, allocations: 192.7 kB / 0.5785 GB, free: 416 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007483/0.4711, allocations: 243.8 kB / 0.5787 GB, free: 172 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01635/0.4874, allocations: 10.19 MB / 0.5886 GB, free: 5.547 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.32e-05/0.4876, allocations: 23.81 kB / 0.5887 GB, free: 5.523 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004363/0.488, allocations: 115.8 kB / 0.5888 GB, free: 5.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004019/0.492, allocations: 2.463 MB / 0.5912 GB, free: 2.941 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02008/0.5122, allocations: 9.353 MB / 0.6003 GB, free: 9.578 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05021/0.5624, allocations: 31.53 MB / 0.6311 GB, free: 9.23 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006047/0.5685, allocations: 3.34 MB / 0.6344 GB, free: 5.668 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001782/0.5704, allocations: 1.081 MB / 0.6354 GB, free: 4.586 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001361/0.5717, allocations: 1.31 MB / 0.6367 GB, free: 3.055 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.238e-05/0.5718, allocations: 47.81 kB / 0.6367 GB, free: 3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=185): time 4.489e-06/0.5718, allocations: 0 / 0.6367 GB, free: 3 MB / 494.1 MB Notification: Performance of matching and sorting (n=191): time 0.02142/0.5932, allocations: 9.169 MB / 0.6457 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.065e-05/0.5934, allocations: 72.59 kB / 0.6458 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004664/0.598, allocations: 2.619 MB / 0.6483 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000346/0.5984, allocations: 49.64 kB / 0.6484 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0027/0.6011, allocations: 2.784 MB / 0.6511 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001209/0.6024, allocations: 0.7286 MB / 0.6518 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00147/0.6039, allocations: 0.973 MB / 0.6527 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.604, allocations: 301.1 kB / 0.653 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002771/0.6068, allocations: 1.548 MB / 0.6545 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006057/0.6129, allocations: 4.371 MB / 0.6588 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00943/0.6224, allocations: 6.555 MB / 0.6652 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001147/0.6226, allocations: 28 kB / 0.6652 GB, free: 2.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01186/0.6345, allocations: 5.841 MB / 0.6709 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001285/0.6346, allocations: 56.05 kB / 0.671 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001691/0.6348, allocations: 100 kB / 0.6711 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004509/0.6353, allocations: 176.8 kB / 0.6713 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003697/0.639, allocations: 1.064 MB / 0.6723 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001966/0.641, allocations: 1.79 MB / 0.674 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0033/0.6443, allocations: 215.9 kB / 0.6743 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009237/0.6453, allocations: 292 kB / 0.6745 GB, free: 9.152 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.004227/0.6495, allocations: 1.985 MB / 0.6765 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006194/0.6501, allocations: 266.2 kB / 0.6767 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004774/0.6549, allocations: 2.53 MB / 0.6792 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.082e-05/0.655, allocations: 27.98 kB / 0.6792 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.655, allocations: 0 / 0.6792 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/0.655, allocations: 3.984 kB / 0.6792 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01598/0.671, allocations: 7.937 MB / 0.687 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.581e-05/0.6711, allocations: 8.125 kB / 0.687 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/0.6722, allocations: 255.6 kB / 0.6872 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001799/0.6724, allocations: 52.83 kB / 0.6873 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001607/0.6726, allocations: 44.52 kB / 0.6873 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001677/0.6742, allocations: 1.625 MB / 0.6889 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.349e-05/0.6743, allocations: 20 kB / 0.6889 GB, free: 10.03 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006091/0.6804, allocations: 4.032 MB / 0.6929 GB, free: 5.848 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009318/0.6814, allocations: 307.4 kB / 0.6932 GB, free: 5.527 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005635/0.6819, allocations: 35.98 kB / 0.6932 GB, free: 5.492 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/0.683, allocations: 56.14 kB / 0.6932 GB, free: 5.438 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002826/0.6833, allocations: 124.6 kB / 0.6934 GB, free: 5.316 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001527/0.6835, allocations: 71.97 kB / 0.6934 GB, free: 5.246 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003491/0.687, allocations: 1.603 MB / 0.695 GB, free: 3.633 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.11e-07/0.687, allocations: 0 / 0.695 GB, free: 3.633 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005233/0.6923, allocations: 0.7772 MB / 0.6958 GB, free: 2.855 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.007178/0.6995, allocations: 4.71 MB / 0.7004 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006785/0.7063, allocations: 3.875 MB / 0.7041 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-05/0.7064, allocations: 4 kB / 0.7041 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002031/0.7084, allocations: 1.233 MB / 0.7054 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002853/0.7113, allocations: 358.8 kB / 0.7057 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3301/1.041, allocations: 33.32 MB / 0.7382 GB, free: 174.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005789/1.047, allocations: 3.13 MB / 0.7413 GB, free: 173 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004235/1.052, allocations: 1.717 MB / 0.743 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002711/1.054, allocations: 1.695 MB / 0.7446 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of SimCode: time 1.112e-06/1.054, allocations: 0 / 0.7446 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08667/1.141, allocations: 45.65 MB / 0.7892 GB, free: 129.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.63/17.78, allocations: 16.86 kB / 0.7892 GB, free: 129.5 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