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.001247/0.001247, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001221/0.001221, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.349/1.349, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.218/0.218, allocations: 44.19 MB / 336.8 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 67.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/0.3897, allocations: 60.83 MB / 0.5184 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01342/0.4032, allocations: 12.3 MB / 0.5304 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009643/0.4129, allocations: 3.849 MB / 0.5342 GB, free: 7.707 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002806/0.4157, allocations: 62.09 kB / 0.5343 GB, free: 7.699 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003388/0.4191, allocations: 1.317 MB / 0.5355 GB, free: 6.793 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005022/0.4242, allocations: 1.799 MB / 0.5373 GB, free: 5.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001381/0.4256, allocations: 421.5 kB / 0.5377 GB, free: 5.309 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005546/0.4312, allocations: 3.575 MB / 0.5412 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003552/0.4348, allocations: 2.016 MB / 0.5432 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003055/0.4379, allocations: 1.2 MB / 0.5443 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003275/0.4412, allocations: 1.751 MB / 0.546 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001021/0.4423, allocations: 240 kB / 0.5463 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00246/0.4448, allocations: 0.8307 MB / 0.5471 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002494/0.4473, allocations: 1.585 MB / 0.5486 GB, free: 13.05 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003799/0.4511, allocations: 1.902 MB / 0.5505 GB, free: 11.13 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009378/0.4605, allocations: 6.168 MB / 0.5565 GB, free: 4.941 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.013e-05/0.4606, allocations: 0 / 0.5565 GB, free: 4.941 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.4606, allocations: 4 kB / 0.5565 GB, free: 4.938 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002505/0.4609, allocations: 0 / 0.5565 GB, free: 4.938 MB / 414.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.01079/0.4717, allocations: 4.19 MB / 0.5606 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.117e-05/0.4718, allocations: 16.03 kB / 0.5606 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001931/0.4737, allocations: 0.7002 MB / 0.5613 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01123/0.4849, allocations: 3.106 MB / 0.5643 GB, free: 12.83 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005442/0.4904, allocations: 2.233 MB / 0.5665 GB, free: 10.55 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001738/0.4906, allocations: 196.8 kB / 0.5667 GB, free: 10.35 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007931/0.4914, allocations: 243.8 kB / 0.5669 GB, free: 10.11 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01678/0.5082, allocations: 10.19 MB / 0.5769 GB, free: 15.49 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001004/0.5084, allocations: 31.75 kB / 0.5769 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005914/0.509, allocations: 119.8 kB / 0.577 GB, free: 15.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004235/0.5132, allocations: 2.46 MB / 0.5794 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01912/0.5324, allocations: 9.353 MB / 0.5886 GB, free: 3.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04895/0.5814, allocations: 31.51 MB / 0.6193 GB, free: 3.195 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006549/0.588, allocations: 3.351 MB / 0.6226 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001903/0.59, allocations: 1.078 MB / 0.6237 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001391/0.5914, allocations: 1.307 MB / 0.625 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.012e-05/0.5915, allocations: 51.81 kB / 0.625 GB, free: 12.95 MB / 494.1 MB Notification: Performance of pre-optimization done (n=185): time 7.063e-06/0.5915, allocations: 0 / 0.625 GB, free: 12.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=191): time 0.02231/0.6138, allocations: 9.169 MB / 0.634 GB, free: 3.688 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/0.6139, allocations: 68.72 kB / 0.634 GB, free: 3.605 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003475/0.6174, allocations: 2.632 MB / 0.6366 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002317/0.6177, allocations: 49.7 kB / 0.6366 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001822/0.6195, allocations: 2.78 MB / 0.6394 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007568/0.6203, allocations: 0.7402 MB / 0.6401 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001197/0.6215, allocations: 0.9652 MB / 0.641 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.6216, allocations: 301.1 kB / 0.6413 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002305/0.6239, allocations: 1.544 MB / 0.6428 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004394/0.6283, allocations: 4.379 MB / 0.6471 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007216/0.6356, allocations: 6.548 MB / 0.6535 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.016e-05/0.6357, allocations: 35.94 kB / 0.6535 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01011/0.6458, allocations: 5.845 MB / 0.6592 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.58e-05/0.646, allocations: 48 kB / 0.6593 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001476/0.6461, allocations: 104 kB / 0.6594 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003681/0.6465, allocations: 176.9 kB / 0.6595 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003476/0.65, allocations: 1.064 MB / 0.6606 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001665/0.6517, allocations: 1.792 MB / 0.6623 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00293/0.6546, allocations: 208.1 kB / 0.6625 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006513/0.6553, allocations: 304 kB / 0.6628 GB, free: 3.074 MB / 0.5137 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.003528/0.6589, allocations: 1.985 MB / 0.6648 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005327/0.6594, allocations: 258.3 kB / 0.665 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004406/0.6638, allocations: 2.53 MB / 0.6675 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.071e-05/0.6639, allocations: 23.98 kB / 0.6675 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.6639, allocations: 8 kB / 0.6675 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.908e-05/0.664, allocations: 7.969 kB / 0.6675 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0142/0.6782, allocations: 7.93 MB / 0.6753 GB, free: 6.105 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.417e-05/0.6782, allocations: 12 kB / 0.6753 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/0.6793, allocations: 251.5 kB / 0.6755 GB, free: 5.848 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001961/0.6795, allocations: 60.83 kB / 0.6756 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001299/0.6797, allocations: 36 kB / 0.6756 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001536/0.6812, allocations: 1.633 MB / 0.6772 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.074e-05/0.6813, allocations: 11.94 kB / 0.6772 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005585/0.6869, allocations: 4.032 MB / 0.6811 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007998/0.6877, allocations: 319.4 kB / 0.6814 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004069/0.6881, allocations: 35.98 kB / 0.6815 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009338/0.6891, allocations: 59.95 kB / 0.6815 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000245/0.6893, allocations: 120.6 kB / 0.6817 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001367/0.6895, allocations: 67.89 kB / 0.6817 GB, free: 15.17 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002772/0.6923, allocations: 1.604 MB / 0.6833 GB, free: 13.56 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.2e-07/0.6923, allocations: 0 / 0.6833 GB, free: 13.56 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004052/0.6963, allocations: 0.7968 MB / 0.6841 GB, free: 12.76 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.006197/0.7026, allocations: 4.715 MB / 0.6887 GB, free: 7.891 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006281/0.7089, allocations: 3.868 MB / 0.6924 GB, free: 4.031 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-05/0.709, allocations: 0 / 0.6924 GB, free: 4.031 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001925/0.7109, allocations: 1.245 MB / 0.6937 GB, free: 2.773 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00232/0.7132, allocations: 344.5 kB / 0.694 GB, free: 2.438 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3001/1.013, allocations: 33.36 MB / 0.7266 GB, free: 186.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005082/1.019, allocations: 3.134 MB / 0.7296 GB, free: 185.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003823/1.022, allocations: 1.715 MB / 0.7313 GB, free: 185.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00231/1.025, allocations: 1.699 MB / 0.733 GB, free: 184.6 MB / 0.5762 GB Notification: Performance of SimCode: time 1.433e-06/1.025, allocations: 2.812 kB / 0.733 GB, free: 184.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08782/1.113, allocations: 45.75 MB / 0.7776 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.83/17.94, allocations: 11.97 kB / 0.7776 GB, free: 151.8 MB / 0.5762 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