Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.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) 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(Modelica.Mechanics.Translational.Examples.ElastoGap,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_ElastoGap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.ElastoGap,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_ElastoGap",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.001306/0.001306, allocations: 114.2 kB / 17.06 MB, free: 5.996 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.001287/0.001287, allocations: 193.4 kB / 18 MB, free: 5.074 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 / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 39.92 kB / 350.8 MB, free: 3.777 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2371, allocations: 49.44 MB / 400.2 MB, free: 8.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.003693/0.2408, allocations: 2.618 MB / 402.8 MB, free: 6.199 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007099/0.2416, allocations: 378.7 kB / 403.2 MB, free: 5.828 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.2417, allocations: 7.938 kB / 403.2 MB, free: 5.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001616/0.2419, allocations: 55.44 kB / 403.3 MB, free: 5.766 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001739/0.2421, allocations: 95.12 kB / 403.4 MB, free: 5.672 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002926/0.2424, allocations: 95.81 kB / 403.5 MB, free: 5.578 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003728/0.2427, allocations: 374.3 kB / 403.8 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002159/0.243, allocations: 119.1 kB / 403.9 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.2431, allocations: 131.6 kB / 404.1 MB, free: 4.961 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002024/0.2433, allocations: 167.3 kB / 404.2 MB, free: 4.797 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.997e-05/0.2434, allocations: 32 kB / 404.3 MB, free: 4.766 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.115e-05/0.2434, allocations: 28 kB / 404.3 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.735e-05/0.2435, allocations: 63.77 kB / 404.4 MB, free: 4.676 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.2437, allocations: 175.1 kB / 404.5 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003953/0.2441, allocations: 369.6 kB / 404.9 MB, free: 4.145 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2441, allocations: 4 kB / 404.9 MB, free: 4.141 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2441, allocations: 0 / 404.9 MB, free: 4.141 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.2441, allocations: 0 / 404.9 MB, free: 4.141 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001062/0.2452, allocations: 0.6351 MB / 405.5 MB, free: 3.449 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.2452, allocations: 8.031 kB / 405.5 MB, free: 3.441 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.847e-05/0.2453, allocations: 66.66 kB / 405.6 MB, free: 3.367 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.74e-05/0.2454, allocations: 40.75 kB / 405.6 MB, free: 3.328 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000314/0.2457, allocations: 267.7 kB / 405.9 MB, free: 3.027 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.414e-05/0.2457, allocations: 28.88 kB / 405.9 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.33e-05/0.2458, allocations: 24.38 kB / 406 MB, free: 2.977 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005601/0.2464, allocations: 285.3 kB / 406.2 MB, free: 2.695 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.2464, allocations: 3.938 kB / 406.2 MB, free: 2.691 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.738e-05/0.2464, allocations: 12 kB / 406.2 MB, free: 2.68 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.2464, allocations: 8 kB / 406.3 MB, free: 2.672 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005849/0.247, allocations: 262.1 kB / 406.5 MB, free: 2.418 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.2483, allocations: 0.7915 MB / 407.3 MB, free: 1.574 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006126/0.2489, allocations: 358.6 kB / 407.6 MB, free: 1.211 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003535/0.2493, allocations: 196.8 kB / 407.8 MB, free: 1.016 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.131e-05/0.2493, allocations: 7.984 kB / 407.8 MB, free: 1.008 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.2494, allocations: 42.5 kB / 407.9 MB, free: 0.957 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 1.553e-06/0.2494, allocations: 0 / 407.9 MB, free: 0.957 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.004281/0.2536, allocations: 1.976 MB / 409.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.2537, allocations: 55.97 kB / 409.9 MB, free: 14.82 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.2539, allocations: 199 kB / 410.1 MB, free: 14.62 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.252e-05/0.254, allocations: 33.7 kB / 410.1 MB, free: 14.58 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.2541, allocations: 157.1 kB / 410.3 MB, free: 14.42 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.2542, allocations: 222 kB / 410.5 MB, free: 14.2 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.2544, allocations: 94.23 kB / 410.6 MB, free: 14.11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.2545, allocations: 342.8 kB / 410.9 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003395/0.2549, allocations: 165 kB / 411.1 MB, free: 13.6 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003299/0.2552, allocations: 165 kB / 411.3 MB, free: 13.44 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000692/0.2559, allocations: 380 kB / 411.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2559, allocations: 0 / 411.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008441/0.2568, allocations: 482.8 kB / 412.1 MB, free: 12.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.2568, allocations: 7.984 kB / 412.1 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2568, allocations: 0 / 412.1 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.2568, allocations: 4 kB / 412.1 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004609/0.2573, allocations: 123.8 kB / 412.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.2573, allocations: 4 kB / 412.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/0.2575, allocations: 27.92 kB / 412.3 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-05/0.2576, allocations: 16 kB / 412.3 MB, free: 12.41 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (elastoGap2.contact,elastoGap1.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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.0001704/0.2577, allocations: 165.6 kB / 412.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.345e-05/0.2578, allocations: 31.81 kB / 412.5 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/0.2579, allocations: 51.34 kB / 412.5 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.2579, allocations: 4 kB / 412.5 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.2579, allocations: 0 / 412.5 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.258, allocations: 7.922 kB / 412.5 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001973/0.2599, allocations: 1.317 MB / 413.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.26, allocations: 8 kB / 413.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004846/0.2605, allocations: 127.8 kB / 414 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/0.2605, allocations: 11.92 kB / 414 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.344e-05/0.2605, allocations: 16.56 kB / 414 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.907e-06/0.2605, allocations: 8 kB / 414 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.2605, allocations: 11.94 kB / 414 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.2619, allocations: 0.88 MB / 414.9 MB, free: 9.582 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.791e-05/0.262, allocations: 112.9 kB / 415 MB, free: 9.453 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.851e-05/0.262, allocations: 16 kB / 415 MB, free: 9.438 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002519/0.2623, allocations: 36.02 kB / 415.1 MB, free: 9.402 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.48e-05/0.2624, allocations: 47.58 kB / 415.1 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-05/0.2624, allocations: 20 kB / 415.1 MB, free: 9.336 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001218/0.2625, allocations: 140.6 kB / 415.3 MB, free: 9.199 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2626, allocations: 8 kB / 415.3 MB, free: 9.191 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003735/0.2629, allocations: 92 kB / 415.4 MB, free: 9.102 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 4 (springDamper2.s_rel,springDamper2.v_rel,elastoGap2.s_rel,elastoGap2.v_rel) * Number of discrete variables: 2 (elastoGap1.contact,elastoGap2.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * 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.001675/0.2646, allocations: 1.443 MB / 416.8 MB, free: 7.574 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008421/0.2655, allocations: 438.7 kB / 417.3 MB, free: 7.148 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.2655, allocations: 4 kB / 417.3 MB, free: 7.145 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004471/0.2659, allocations: 252.4 kB / 417.5 MB, free: 6.898 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006116/0.2666, allocations: 80.12 kB / 417.6 MB, free: 6.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004998/0.2716, allocations: 3.694 MB / 421.3 MB, free: 2.934 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003965/0.272, allocations: 0.7971 MB / 422.1 MB, free: 2.113 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001838/0.2722, allocations: 47.2 kB / 422.1 MB, free: 2.07 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001948/0.2724, allocations: 123.4 kB / 422.2 MB, free: 1.949 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2724, allocations: 4 kB / 422.2 MB, free: 1.945 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04211/0.3145, allocations: 7.47 MB / 429.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.072/8.386, allocations: 12.56 kB / 429.7 MB, free: 10.6 MB / 350.1 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_ElastoGap_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_ElastoGap.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/ElastoGap/ElastoGap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches