Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.ElastoGap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|elastoGap1.v_rel|elastoGap2.s_rel|springDamper1.v_rel|springDamper2.s_rel",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.ElastoGap") translateModel(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|elastoGap1.v_rel|elastoGap2.s_rel|springDamper1.v_rel|springDamper2.s_rel",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.ElastoGap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002326/0.002326, allocations: 200 kB / 18.06 MB, free: 3.648 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 3.123/3.123, allocations: 226.5 MB / 245.4 MB, free: 8.168 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001202/0.001201, allocations: 96.58 kB / 297.4 MB, free: 6.883 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003853/0.0003856, allocations: 4 kB / 357.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.49/0.4904, allocations: 51.3 MB / 408.7 MB, free: 27.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1951/0.6856, allocations: 78.3 MB / 487 MB, free: 13.32 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004063/0.6861, allocations: 63.97 kB / 487 MB, free: 13.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.029/0.7151, allocations: 5.873 MB / 492.9 MB, free: 7.367 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.7152, allocations: 4 kB / 492.9 MB, free: 7.363 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.268e-05/0.7152, allocations: 4 kB / 492.9 MB, free: 7.359 MB / 362.7 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.001242/0.7165, allocations: 0.5737 MB / 493.5 MB, free: 6.734 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.244e-05/0.7166, allocations: 8.031 kB / 493.5 MB, free: 6.727 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/0.7167, allocations: 36.56 kB / 493.5 MB, free: 6.691 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000494/0.7172, allocations: 255.8 kB / 493.8 MB, free: 6.402 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.589e-05/0.7173, allocations: 28.88 kB / 493.8 MB, free: 6.375 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.748e-05/0.7174, allocations: 32.27 kB / 493.8 MB, free: 6.344 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000828/0.7182, allocations: 285.4 kB / 494.1 MB, free: 6.062 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.176e-05/0.7183, allocations: 192 / 494.1 MB, free: 6.062 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.604e-05/0.7183, allocations: 23.88 kB / 494.1 MB, free: 6.039 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.7183, allocations: 4 kB / 494.1 MB, free: 6.035 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009405/0.7193, allocations: 282.1 kB / 494.4 MB, free: 5.758 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002097/0.7214, allocations: 0.7952 MB / 495.2 MB, free: 4.914 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.7225, allocations: 386.6 kB / 495.6 MB, free: 4.527 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005579/0.7231, allocations: 201.5 kB / 495.8 MB, free: 4.328 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.93e-05/0.7231, allocations: 12 kB / 495.8 MB, free: 4.316 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.7232, allocations: 34.56 kB / 495.8 MB, free: 4.273 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 3.446e-06/0.7232, allocations: 0 / 495.8 MB, free: 4.273 MB / 362.7 MB Notification: Performance of matching and sorting (n=63): time 0.006828/0.73, allocations: 2.038 MB / 497.9 MB, free: 2.137 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.715e-05/0.7302, allocations: 55.97 kB / 497.9 MB, free: 2.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003752/0.7306, allocations: 195 kB / 498.1 MB, free: 1.867 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.704e-05/0.7307, allocations: 41.7 kB / 498.1 MB, free: 1.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.7308, allocations: 141 kB / 498.3 MB, free: 1.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002475/0.7311, allocations: 216.8 kB / 498.5 MB, free: 1.465 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.622e-05/0.7311, allocations: 8 kB / 498.5 MB, free: 1.457 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002269/0.7314, allocations: 350.7 kB / 498.8 MB, free: 1.105 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005506/0.7319, allocations: 169 kB / 499 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005457/0.7325, allocations: 180.9 kB / 499.2 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.7337, allocations: 384 kB / 499.6 MB, free: 400 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.7337, allocations: 3.938 kB / 499.6 MB, free: 396 kB / 362.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001531/0.7352, allocations: 498.7 kB / 0.4883 GB, free: 15.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.447e-05/0.7353, allocations: 4.781 kB / 0.4883 GB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.7353, allocations: 0 / 0.4883 GB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.661e-05/0.7354, allocations: 4 kB / 0.4883 GB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008506/0.7362, allocations: 127.8 kB / 0.4885 GB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.326e-05/0.7363, allocations: 8 kB / 0.4885 GB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000398/0.7367, allocations: 31.98 kB / 0.4885 GB, free: 15.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.918e-05/0.7368, allocations: 19.94 kB / 0.4885 GB, free: 15.7 MB / 378.7 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 (elastoGap1.contact,elastoGap2.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000321/0.7371, allocations: 161.7 kB / 0.4887 GB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.7372, allocations: 31.62 kB / 0.4887 GB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001561/0.7374, allocations: 51.33 kB / 0.4887 GB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.7374, allocations: 8 kB / 0.4888 GB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.459e-05/0.7374, allocations: 0 / 0.4888 GB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.7375, allocations: 7.922 kB / 0.4888 GB, free: 15.44 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007632/0.7451, allocations: 1.336 MB / 0.4901 GB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.638e-05/0.7452, allocations: 4 kB / 0.4901 GB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009242/0.7461, allocations: 128.4 kB / 0.4902 GB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.149e-05/0.7462, allocations: 7.938 kB / 0.4902 GB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.111e-05/0.7463, allocations: 23.98 kB / 0.4902 GB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.801e-05/0.7463, allocations: 8 kB / 0.4902 GB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/0.7463, allocations: 7.938 kB / 0.4902 GB, free: 13.81 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002402/0.7487, allocations: 0.8902 MB / 0.4911 GB, free: 12.85 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002299/0.749, allocations: 120.7 kB / 0.4912 GB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.902e-05/0.7491, allocations: 16.09 kB / 0.4912 GB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004208/0.7495, allocations: 35.98 kB / 0.4913 GB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/0.7497, allocations: 55.8 kB / 0.4913 GB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-05/0.7498, allocations: 20 kB / 0.4913 GB, free: 12.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002147/0.75, allocations: 140.6 kB / 0.4915 GB, free: 12.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.75, allocations: 0 / 0.4915 GB, free: 12.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007518/0.7508, allocations: 96 kB / 0.4916 GB, free: 12.36 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003046/0.7511, allocations: 126.4 kB / 0.4917 GB, free: 12.22 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00134/0.7524, allocations: 450.7 kB / 0.4921 GB, free: 11.78 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.7525, allocations: 3.938 kB / 0.4921 GB, free: 11.78 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007127/0.7532, allocations: 264.7 kB / 0.4924 GB, free: 11.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/0.7544, allocations: 74.36 kB / 0.4925 GB, free: 11.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002786/0.7572, allocations: 1.23 MB / 0.4937 GB, free: 10.13 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000622/0.7579, allocations: 0.7974 MB / 0.4944 GB, free: 9.305 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001946/0.7581, allocations: 43.42 kB / 0.4945 GB, free: 9.262 MB / 378.7 MB Notification: Performance of SimCode: time 2.605e-06/0.7581, allocations: 0 / 0.4945 GB, free: 9.262 MB / 378.7 MB Notification: Performance of Templates: time 0.01217/0.7703, allocations: 4.482 MB / 0.4988 GB, free: 4.805 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile (rm -f Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & ./Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.ElastoGap --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.ElastoGap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches