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.001817/0.001817, allocations: 102.9 kB / 17.58 MB, free: 5.418 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.002402/0.002403, allocations: 191.9 kB / 18.51 MB, free: 4.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.648/3.648, allocations: 205.1 MB / 224.4 MB, free: 12.29 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.002415/0.002415, allocations: 48.14 kB / 280.7 MB, free: 3.09 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1896, allocations: 46.63 MB / 327.4 MB, free: 4.391 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.009422/0.1991, allocations: 3.509 MB / 330.9 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003655/0.2028, allocations: 0.92 MB / 331.8 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009204/0.2038, allocations: 11.94 kB / 331.8 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005055/0.2044, allocations: 79.22 kB / 331.9 MB, free: 15.83 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007691/0.2052, allocations: 146.6 kB / 332 MB, free: 15.68 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.2063, allocations: 151.7 kB / 332.2 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00116/0.2074, allocations: 0.5956 MB / 332.8 MB, free: 14.94 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005764/0.208, allocations: 189.8 kB / 333 MB, free: 14.76 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005464/0.2086, allocations: 239.2 kB / 333.2 MB, free: 14.52 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005627/0.2092, allocations: 274.9 kB / 333.5 MB, free: 14.25 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001317/0.2093, allocations: 52 kB / 333.5 MB, free: 14.2 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001506/0.2095, allocations: 48 kB / 333.6 MB, free: 14.16 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001849/0.2097, allocations: 119.6 kB / 333.7 MB, free: 14.04 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004518/0.2102, allocations: 270.7 kB / 333.9 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.2112, allocations: 0.5878 MB / 334.5 MB, free: 13.18 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.222e-05/0.2112, allocations: 0 / 334.5 MB, free: 13.18 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.2113, allocations: 11.88 kB / 334.5 MB, free: 13.17 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.2113, allocations: 4 kB / 334.6 MB, free: 13.17 MB / 286.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.003047/0.2144, allocations: 0.8303 MB / 335.4 MB, free: 12.29 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.168e-05/0.2145, allocations: 12.03 kB / 335.4 MB, free: 12.27 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001753/0.2146, allocations: 78.72 kB / 335.5 MB, free: 12.19 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002068/0.2149, allocations: 60.28 kB / 335.5 MB, free: 12.13 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007145/0.2156, allocations: 335.2 kB / 335.9 MB, free: 11.77 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.059e-05/0.2157, allocations: 33.38 kB / 335.9 MB, free: 11.73 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/0.2159, allocations: 48.36 kB / 335.9 MB, free: 11.69 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001747/0.2177, allocations: 462.4 kB / 336.4 MB, free: 11.23 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.089e-05/0.2177, allocations: 3.906 kB / 336.4 MB, free: 11.23 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.082e-05/0.2178, allocations: 16 kB / 336.4 MB, free: 11.21 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/0.2179, allocations: 16 kB / 336.4 MB, free: 11.2 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002072/0.2199, allocations: 451.7 kB / 336.9 MB, free: 10.75 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00452/0.2245, allocations: 1.386 MB / 338.2 MB, free: 9.301 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001856/0.2264, allocations: 0.536 MB / 338.8 MB, free: 8.754 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001555/0.228, allocations: 374.9 kB / 339.2 MB, free: 8.387 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.378e-05/0.2281, allocations: 12.55 kB / 339.2 MB, free: 8.375 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.253e-05/0.2281, allocations: 39.12 kB / 339.2 MB, free: 8.328 MB / 286.1 MB Notification: Performance of pre-optimization done (n=67): time 4.348e-06/0.2282, allocations: 3.938 kB / 339.2 MB, free: 8.324 MB / 286.1 MB Notification: Performance of matching and sorting (n=103): time 0.01554/0.2437, allocations: 3.143 MB / 342.3 MB, free: 5.094 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.901e-05/0.2439, allocations: 64.41 kB / 342.4 MB, free: 5.016 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005188/0.2444, allocations: 251 kB / 342.7 MB, free: 4.762 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.593e-05/0.2445, allocations: 45.7 kB / 342.7 MB, free: 4.711 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002322/0.2448, allocations: 193.2 kB / 342.9 MB, free: 4.516 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004824/0.2453, allocations: 346.9 kB / 343.2 MB, free: 4.172 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003562/0.2457, allocations: 146.6 kB / 343.4 MB, free: 4.023 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002665/0.2459, allocations: 362.8 kB / 343.7 MB, free: 3.66 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001279/0.2472, allocations: 277.8 kB / 344 MB, free: 3.391 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001362/0.2486, allocations: 345.4 kB / 344.3 MB, free: 3.043 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002607/0.2512, allocations: 0.6195 MB / 345 MB, free: 2.418 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.2513, allocations: 0 / 345 MB, free: 2.418 MB / 286.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.003097/0.2544, allocations: 0.7858 MB / 345.7 MB, free: 1.625 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.822e-05/0.2544, allocations: 8 kB / 345.7 MB, free: 1.617 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.2545, allocations: 3.938 kB / 345.8 MB, free: 1.613 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.317e-05/0.2545, allocations: 4 kB / 345.8 MB, free: 1.609 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001668/0.2562, allocations: 211.7 kB / 346 MB, free: 1.402 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.83e-05/0.2563, allocations: 8.062 kB / 346 MB, free: 1.395 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007697/0.257, allocations: 43.95 kB / 346 MB, free: 1.352 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.27e-05/0.2571, allocations: 28 kB / 346 MB, free: 1.324 MB / 286.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.0004884/0.2577, allocations: 193.6 kB / 346.2 MB, free: 1.125 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002061/0.2579, allocations: 55.34 kB / 346.3 MB, free: 1.07 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002856/0.2582, allocations: 77.33 kB / 346.4 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.735e-05/0.2582, allocations: 15.94 kB / 346.4 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.471e-05/0.2582, allocations: 0 / 346.4 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.694e-05/0.2583, allocations: 11.97 kB / 346.4 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006082/0.2644, allocations: 1.994 MB / 348.4 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.726e-05/0.2645, allocations: 4.062 kB / 348.4 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001677/0.2662, allocations: 211.7 kB / 348.6 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.182e-05/0.2662, allocations: 8 kB / 348.6 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.95e-05/0.2663, allocations: 27.92 kB / 348.6 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.531e-05/0.2664, allocations: 11.98 kB / 348.6 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.766e-05/0.2664, allocations: 11.94 kB / 348.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004682/0.2711, allocations: 1.376 MB / 350 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003351/0.2715, allocations: 124.4 kB / 350.1 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001638/0.2717, allocations: 36 kB / 350.2 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007749/0.2725, allocations: 43.97 kB / 350.2 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002563/0.2728, allocations: 72.78 kB / 350.3 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.62e-05/0.2729, allocations: 43.97 kB / 350.3 MB, free: 12.8 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003216/0.2732, allocations: 174 kB / 350.5 MB, free: 12.64 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.2732, allocations: 0 / 350.5 MB, free: 12.64 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001132/0.2744, allocations: 152 kB / 350.7 MB, free: 12.49 MB / 302.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.005012/0.2794, allocations: 1.94 MB / 352.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.004232/0.2837, allocations: 0.7737 MB / 353.4 MB, free: 9.688 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/0.2837, allocations: 0 / 353.4 MB, free: 9.688 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001538/0.2853, allocations: 445.7 kB / 353.8 MB, free: 9.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001637/0.287, allocations: 130.4 kB / 353.9 MB, free: 9.129 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01647/0.3034, allocations: 5.306 MB / 359.2 MB, free: 3.621 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008209/0.3043, allocations: 0.8645 MB / 360.1 MB, free: 2.73 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0007454/0.3051, allocations: 84.91 kB / 360.2 MB, free: 2.648 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000532/0.3057, allocations: 199.4 kB / 360.4 MB, free: 2.453 MB / 302.1 MB Notification: Performance of SimCode: time 2.304e-06/0.3057, allocations: 0 / 360.4 MB, free: 2.453 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06724/0.3729, allocations: 11.34 MB / 371.7 MB, free: 7.039 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.14/13.51, allocations: 4.062 kB / 371.7 MB, free: 7.035 MB / 318.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