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.001427/0.001427, allocations: 109.8 kB / 17.78 MB, free: 5.266 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.001554/0.001554, allocations: 183.9 kB / 18.71 MB, free: 4.34 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.436/1.436, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2292/0.2292, allocations: 44.19 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 67.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3298, allocations: 60.83 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01351/0.3433, allocations: 12.31 MB / 0.5305 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008877/0.3523, allocations: 3.86 MB / 0.5342 GB, free: 7.703 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002217/0.3545, allocations: 61.59 kB / 0.5343 GB, free: 7.695 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003525/0.3581, allocations: 1.306 MB / 0.5356 GB, free: 6.801 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00519/0.3633, allocations: 1.758 MB / 0.5373 GB, free: 5.605 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001388/0.3647, allocations: 425.6 kB / 0.5377 GB, free: 5.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00609/0.3709, allocations: 3.572 MB / 0.5412 GB, free: 3.426 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003782/0.3747, allocations: 2.012 MB / 0.5431 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002701/0.3774, allocations: 1.198 MB / 0.5443 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00341/0.3809, allocations: 1.745 MB / 0.546 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009711/0.3819, allocations: 240 kB / 0.5462 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002635/0.3845, allocations: 0.8347 MB / 0.547 GB, free: 14.69 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002613/0.3872, allocations: 1.593 MB / 0.5486 GB, free: 13.09 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004464/0.3917, allocations: 1.894 MB / 0.5505 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01153/0.4032, allocations: 6.176 MB / 0.5565 GB, free: 4.984 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.4033, allocations: 0 / 0.5565 GB, free: 4.984 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.4033, allocations: 0 / 0.5565 GB, free: 4.984 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002616/0.4036, allocations: 0 / 0.5565 GB, free: 4.984 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.00997/0.4136, allocations: 4.19 MB / 0.5606 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/0.4136, allocations: 8.031 kB / 0.5606 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001316/0.415, allocations: 0.7001 MB / 0.5613 GB, free: 0 / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01149/0.4265, allocations: 3.109 MB / 0.5643 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00517/0.4317, allocations: 2.241 MB / 0.5665 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002107/0.4319, allocations: 186.2 kB / 0.5667 GB, free: 10.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001044/0.433, allocations: 255.7 kB / 0.5669 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01997/0.453, allocations: 10.18 MB / 0.5769 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000112/0.4531, allocations: 27.75 kB / 0.5769 GB, free: 15.52 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006404/0.4538, allocations: 119.8 kB / 0.577 GB, free: 15.4 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004559/0.4584, allocations: 2.467 MB / 0.5794 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02111/0.4795, allocations: 9.357 MB / 0.5885 GB, free: 3.566 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05434/0.5339, allocations: 31.51 MB / 0.6193 GB, free: 3.238 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006744/0.5407, allocations: 3.359 MB / 0.6226 GB, free: 15.65 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001844/0.5426, allocations: 1.074 MB / 0.6236 GB, free: 14.58 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001468/0.5441, allocations: 1.307 MB / 0.6249 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.09e-05/0.5441, allocations: 47.81 kB / 0.625 GB, free: 13 MB / 494.1 MB Notification: Performance of pre-optimization done (n=185): time 4.538e-06/0.5442, allocations: 0 / 0.625 GB, free: 13 MB / 494.1 MB Notification: Performance of matching and sorting (n=191): time 0.02308/0.5672, allocations: 9.173 MB / 0.6339 GB, free: 3.727 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.747e-05/0.5674, allocations: 72.66 kB / 0.634 GB, free: 3.641 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004283/0.5717, allocations: 2.612 MB / 0.6365 GB, free: 1.008 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002291/0.5719, allocations: 49.69 kB / 0.6366 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002791/0.5747, allocations: 2.784 MB / 0.6393 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001031/0.5758, allocations: 0.7324 MB / 0.64 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001657/0.5774, allocations: 0.977 MB / 0.641 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.5776, allocations: 301.1 kB / 0.6413 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002826/0.5804, allocations: 1.544 MB / 0.6428 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006049/0.5865, allocations: 4.367 MB / 0.647 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009589/0.5962, allocations: 6.559 MB / 0.6534 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001109/0.5963, allocations: 31.94 kB / 0.6535 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.0119/0.6082, allocations: 5.844 MB / 0.6592 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001032/0.6084, allocations: 48 kB / 0.6592 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001562/0.6085, allocations: 104 kB / 0.6593 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004252/0.609, allocations: 172.8 kB / 0.6595 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003771/0.6128, allocations: 1.064 MB / 0.6605 GB, free: 5.562 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002169/0.615, allocations: 1.797 MB / 0.6623 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00326/0.6182, allocations: 203.9 kB / 0.6625 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008044/0.6191, allocations: 300 kB / 0.6628 GB, free: 3.137 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.004432/0.6235, allocations: 1.985 MB / 0.6647 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005432/0.6241, allocations: 254.3 kB / 0.6649 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004696/0.6288, allocations: 2.538 MB / 0.6674 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.797e-05/0.6289, allocations: 31.91 kB / 0.6675 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.6289, allocations: 3.984 kB / 0.6675 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-05/0.6289, allocations: 3.984 kB / 0.6675 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01635/0.6453, allocations: 7.937 MB / 0.6752 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-05/0.6454, allocations: 12 kB / 0.6752 GB, free: 6.145 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/0.6465, allocations: 248.5 kB / 0.6755 GB, free: 5.902 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000212/0.6467, allocations: 64.77 kB / 0.6755 GB, free: 5.836 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001744/0.6469, allocations: 47.97 kB / 0.6756 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001852/0.6487, allocations: 1.621 MB / 0.6772 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.391e-05/0.6488, allocations: 15.94 kB / 0.6772 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006619/0.6554, allocations: 4.032 MB / 0.6811 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007913/0.6562, allocations: 307.3 kB / 0.6814 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004347/0.6567, allocations: 40.09 kB / 0.6814 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009134/0.6576, allocations: 55.95 kB / 0.6815 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002558/0.6579, allocations: 120.7 kB / 0.6816 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001301/0.658, allocations: 63.98 kB / 0.6817 GB, free: 15.23 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002876/0.6609, allocations: 1.608 MB / 0.6832 GB, free: 13.62 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.6e-07/0.6609, allocations: 4 kB / 0.6832 GB, free: 13.61 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003932/0.6649, allocations: 0.7967 MB / 0.684 GB, free: 12.82 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.007044/0.6719, allocations: 4.707 MB / 0.6886 GB, free: 7.953 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007056/0.679, allocations: 3.869 MB / 0.6924 GB, free: 4.094 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.31e-05/0.6791, allocations: 4 kB / 0.6924 GB, free: 4.09 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002497/0.6816, allocations: 1.241 MB / 0.6936 GB, free: 2.836 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002265/0.6839, allocations: 344.1 kB / 0.6939 GB, free: 2.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3128/0.9967, allocations: 33.38 MB / 0.7265 GB, free: 184.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005307/1.002, allocations: 3.132 MB / 0.7296 GB, free: 183.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003511/1.006, allocations: 1.708 MB / 0.7313 GB, free: 183.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00221/1.008, allocations: 1.699 MB / 0.7329 GB, free: 182.8 MB / 0.5762 GB Notification: Performance of SimCode: time 1.322e-06/1.008, allocations: 3.938 kB / 0.7329 GB, free: 182.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08306/1.091, allocations: 45.74 MB / 0.7776 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.27/18.36, allocations: 11.73 kB / 0.7776 GB, free: 149.5 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