Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_PreLoad",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.00142/0.00142, allocations: 109.3 kB / 17.73 MB, free: 5.32 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.001354/0.001354, allocations: 192.2 kB / 18.67 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.594/1.594, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002288/0.002288, allocations: 51.92 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1059, allocations: 46.62 MB / 374.6 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005921/0.1118, allocations: 3.508 MB / 378.2 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002285/0.1142, allocations: 0.9159 MB / 379.1 MB, free: 0.625 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005367/0.1147, allocations: 11.94 kB / 379.1 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003748/0.1152, allocations: 79.22 kB / 379.2 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006189/0.1158, allocations: 142.6 kB / 379.3 MB, free: 404 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000655/0.1165, allocations: 159.7 kB / 379.5 MB, free: 244 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.214/0.3305, allocations: 0.5901 MB / 380 MB, free: 9.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003702/0.3309, allocations: 190 kB / 380.2 MB, free: 9.246 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004098/0.3313, allocations: 238.7 kB / 380.5 MB, free: 9.23 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002997/0.3317, allocations: 277.3 kB / 380.7 MB, free: 9.176 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.1e-05/0.3317, allocations: 50.88 kB / 380.8 MB, free: 9.176 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.094e-05/0.3318, allocations: 51.56 kB / 380.8 MB, free: 9.176 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.472e-05/0.3319, allocations: 117.7 kB / 381 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002364/0.3322, allocations: 271.8 kB / 381.2 MB, free: 9.082 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008221/0.333, allocations: 0.6025 MB / 381.8 MB, free: 8.984 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.333, allocations: 1.375 kB / 381.8 MB, free: 8.984 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.333, allocations: 0 / 381.8 MB, free: 8.984 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.3331, allocations: 3.656 kB / 381.8 MB, free: 8.984 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001754/0.3348, allocations: 0.8536 MB / 382.7 MB, free: 8.461 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.3349, allocations: 10.81 kB / 382.7 MB, free: 8.461 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001167/0.335, allocations: 85.88 kB / 382.8 MB, free: 8.422 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.3351, allocations: 58.28 kB / 382.8 MB, free: 8.395 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004979/0.3356, allocations: 330.1 kB / 383.2 MB, free: 8.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.022e-05/0.3357, allocations: 33.78 kB / 383.2 MB, free: 8.156 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.311e-05/0.3358, allocations: 54.11 kB / 383.2 MB, free: 8.152 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009654/0.3368, allocations: 462.7 kB / 383.7 MB, free: 8.102 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.622e-05/0.3368, allocations: 1.656 kB / 383.7 MB, free: 8.102 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.146e-05/0.3368, allocations: 17.25 kB / 383.7 MB, free: 8.102 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.3369, allocations: 11.25 kB / 383.7 MB, free: 8.102 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/0.3379, allocations: 453.5 kB / 384.2 MB, free: 8.098 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002291/0.3402, allocations: 1.385 MB / 385.5 MB, free: 7.484 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009453/0.3412, allocations: 0.5445 MB / 386.1 MB, free: 7.258 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000806/0.342, allocations: 376.4 kB / 386.5 MB, free: 7.137 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.058e-05/0.3421, allocations: 12.58 kB / 386.5 MB, free: 7.137 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.3421, allocations: 43.62 kB / 386.5 MB, free: 7.094 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 3.206e-06/0.3421, allocations: 0 / 386.5 MB, free: 7.094 MB / 318.1 MB Notification: Performance of matching and sorting (n=103): time 0.007588/0.3497, allocations: 3.146 MB / 389.7 MB, free: 5.68 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.3498, allocations: 67.91 kB / 389.7 MB, free: 5.613 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002765/0.3501, allocations: 255.8 kB / 390 MB, free: 5.469 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.885e-05/0.3501, allocations: 40.11 kB / 390 MB, free: 5.426 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.3503, allocations: 202.2 kB / 390.2 MB, free: 5.258 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002198/0.3505, allocations: 366.1 kB / 390.6 MB, free: 4.973 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002212/0.3507, allocations: 145.5 kB / 390.7 MB, free: 4.895 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.889e-05/0.3508, allocations: 359.6 kB / 391.1 MB, free: 4.562 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005674/0.3514, allocations: 276.5 kB / 391.3 MB, free: 4.473 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006516/0.3521, allocations: 345 kB / 391.7 MB, free: 4.344 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/0.3533, allocations: 0.624 MB / 392.3 MB, free: 4.066 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.3533, allocations: 3.938 kB / 392.3 MB, free: 4.062 MB / 318.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001516/0.3548, allocations: 0.7893 MB / 393.1 MB, free: 3.758 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.3548, allocations: 5.625 kB / 393.1 MB, free: 3.758 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.3548, allocations: 1.031 kB / 393.1 MB, free: 3.758 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/0.3549, allocations: 7.5 kB / 393.1 MB, free: 3.754 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007935/0.3557, allocations: 206.4 kB / 393.3 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.3557, allocations: 8.438 kB / 393.3 MB, free: 3.746 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004065/0.3561, allocations: 47.03 kB / 393.4 MB, free: 3.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.067e-05/0.3562, allocations: 29.66 kB / 393.4 MB, free: 3.723 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (outerContactB.contact,outerContactA.contact,innerContactB.contact,innerContactA.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002385/0.3564, allocations: 189.5 kB / 393.6 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.741e-05/0.3565, allocations: 60.58 kB / 393.6 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001513/0.3567, allocations: 76.45 kB / 393.7 MB, free: 3.461 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.3567, allocations: 14.75 kB / 393.7 MB, free: 3.457 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.986e-05/0.3567, allocations: 0 / 393.7 MB, free: 3.457 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.3567, allocations: 8.719 kB / 393.7 MB, free: 3.457 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002857/0.3596, allocations: 1.981 MB / 395.7 MB, free: 2.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.3596, allocations: 4.906 kB / 395.7 MB, free: 2.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007708/0.3604, allocations: 204.1 kB / 395.9 MB, free: 2.422 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-05/0.3604, allocations: 8.25 kB / 395.9 MB, free: 2.422 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.093e-05/0.3605, allocations: 33.89 kB / 396 MB, free: 2.402 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.131e-05/0.3605, allocations: 11.44 kB / 396 MB, free: 2.402 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.3605, allocations: 10.16 kB / 396 MB, free: 2.402 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002173/0.3627, allocations: 1.365 MB / 397.3 MB, free: 1.676 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000184/0.3629, allocations: 134.4 kB / 397.5 MB, free: 1.547 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.455e-05/0.363, allocations: 26.83 kB / 397.5 MB, free: 1.531 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003984/0.3634, allocations: 49.78 kB / 397.5 MB, free: 1.516 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/0.3636, allocations: 76.14 kB / 397.6 MB, free: 1.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.143e-05/0.3636, allocations: 34.02 kB / 397.7 MB, free: 1.492 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001796/0.3638, allocations: 178.8 kB / 397.8 MB, free: 1.387 MB / 318.1 MB Notification: Performance of sort global known variables: time 9.21e-07/0.3638, allocations: 0 / 397.8 MB, free: 1.387 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005986/0.3644, allocations: 158.9 kB / 398 MB, free: 1.355 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (outerContactA.s_rel,outerContactA.v_rel,outerContactB.s_rel,outerContactB.v_rel,friction.s_rel,friction.v_rel) * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002447/0.3669, allocations: 1.93 MB / 399.9 MB, free: 96 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001667/0.3686, allocations: 0.7377 MB / 400.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.3686, allocations: 0 / 400.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008607/0.3694, allocations: 448 kB / 401.1 MB, free: 15.76 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008988/0.3704, allocations: 128.7 kB / 401.2 MB, free: 15.71 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008721/0.3791, allocations: 5.279 MB / 406.5 MB, free: 12.55 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004722/0.3796, allocations: 0.8678 MB / 407.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003711/0.38, allocations: 76.05 kB / 407.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000302/0.3803, allocations: 194.6 kB / 407.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of SimCode: time 6.42e-07/0.3803, allocations: 0 / 407.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04035/0.4206, allocations: 11.6 MB / 419.2 MB, free: 1.566 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.232/9.653, allocations: 11.92 kB / 419.2 MB, free: 1.555 MB / 334.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_PreLoad.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches