Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad") translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009527/0.0009529, allocations: 180.2 kB / 17.41 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.56/1.56, allocations: 205.4 MB / 223.6 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008322/0.0008316, allocations: 77.38 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000357/0.0003572, allocations: 16 kB / 328.1 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2907, allocations: 47.57 MB / 375.7 MB, free: 45.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09898/0.3897, allocations: 78.01 MB / 453.7 MB, free: 2.629 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002084/0.39, allocations: 67.97 kB / 453.8 MB, free: 2.562 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02506/0.415, allocations: 9.283 MB / 463.1 MB, free: 9.254 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4151, allocations: 0 / 463.1 MB, free: 9.254 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.101e-05/0.4151, allocations: 12 kB / 463.1 MB, free: 9.242 MB / 346.7 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.001607/0.4167, allocations: 0.7527 MB / 463.8 MB, free: 8.438 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.4168, allocations: 16.03 kB / 463.9 MB, free: 8.422 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001684/0.417, allocations: 56.28 kB / 463.9 MB, free: 8.367 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004239/0.4174, allocations: 315.3 kB / 464.2 MB, free: 8.023 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.085e-05/0.4175, allocations: 37.38 kB / 464.3 MB, free: 7.988 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.295e-05/0.4176, allocations: 52.28 kB / 464.3 MB, free: 7.938 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009817/0.4186, allocations: 466.9 kB / 464.8 MB, free: 7.477 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.708e-05/0.4186, allocations: 8.172 kB / 464.8 MB, free: 7.469 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.312e-05/0.4187, allocations: 23.94 kB / 464.8 MB, free: 7.445 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.4187, allocations: 12 kB / 464.8 MB, free: 7.434 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.4198, allocations: 491.7 kB / 465.3 MB, free: 6.953 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00267/0.4225, allocations: 1.398 MB / 466.7 MB, free: 5.496 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.4235, allocations: 0.5605 MB / 467.2 MB, free: 4.922 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008338/0.4244, allocations: 387.1 kB / 467.6 MB, free: 4.539 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.828e-05/0.4244, allocations: 8.562 kB / 467.6 MB, free: 4.531 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.4245, allocations: 39.12 kB / 467.7 MB, free: 4.484 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 2.826e-06/0.4245, allocations: 0 / 467.7 MB, free: 4.484 MB / 346.7 MB Notification: Performance of matching and sorting (n=103): time 0.007862/0.4324, allocations: 3.292 MB / 471 MB, free: 1.113 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.4324, allocations: 72.34 kB / 471 MB, free: 1.031 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000296/0.4327, allocations: 247 kB / 471.3 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.808e-05/0.4328, allocations: 41.7 kB / 471.3 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.4329, allocations: 197.2 kB / 471.5 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002892/0.4332, allocations: 350.8 kB / 471.9 MB, free: 196 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.445e-05/0.4333, allocations: 20 kB / 471.9 MB, free: 176 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.4335, allocations: 362.8 kB / 472.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006123/0.4341, allocations: 285.9 kB / 472.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007081/0.4348, allocations: 365.4 kB / 472.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.4361, allocations: 0.6585 MB / 473.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.4361, allocations: 4 kB / 473.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001587/0.4377, allocations: 0.8092 MB / 474.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.4377, allocations: 12.06 kB / 474.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.4377, allocations: 0 / 474.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.4377, allocations: 4 kB / 474.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008542/0.4386, allocations: 223.6 kB / 474.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.123e-05/0.4386, allocations: 4 kB / 474.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004121/0.4391, allocations: 63.95 kB / 474.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-05/0.4391, allocations: 24 kB / 474.7 MB, free: 13.35 MB / 362.7 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 (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 initialization (113): * Single equations (assignments): 113 * 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.000272/0.4394, allocations: 193.7 kB / 474.8 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.4395, allocations: 59.42 kB / 474.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001651/0.4397, allocations: 69.41 kB / 475 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.4397, allocations: 15.94 kB / 475 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/0.4397, allocations: 3.984 kB / 475 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.4397, allocations: 3.984 kB / 475 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00347/0.4432, allocations: 2.021 MB / 477 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/0.4433, allocations: 4 kB / 477 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008224/0.4441, allocations: 216.1 kB / 477.2 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.801e-05/0.4441, allocations: 12 kB / 477.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.021e-05/0.4442, allocations: 27.98 kB / 477.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.514e-05/0.4442, allocations: 19.86 kB / 477.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/0.4442, allocations: 8 kB / 477.3 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002463/0.4467, allocations: 1.419 MB / 478.7 MB, free: 9.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/0.4469, allocations: 132.5 kB / 478.8 MB, free: 8.941 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.449e-05/0.447, allocations: 24 kB / 478.9 MB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004186/0.4474, allocations: 63.89 kB / 478.9 MB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.4476, allocations: 76.8 kB / 479 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.067e-05/0.4476, allocations: 27.98 kB / 479 MB, free: 8.754 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001914/0.4478, allocations: 178 kB / 479.2 MB, free: 8.582 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4478, allocations: 7.938 kB / 479.2 MB, free: 8.574 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005633/0.4484, allocations: 156 kB / 479.4 MB, free: 8.422 MB / 362.7 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 (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.0001997/0.4486, allocations: 138.8 kB / 479.5 MB, free: 8.273 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001548/0.4501, allocations: 0.7582 MB / 480.3 MB, free: 7.512 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.4502, allocations: 4 kB / 480.3 MB, free: 7.508 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008337/0.451, allocations: 458.7 kB / 480.7 MB, free: 7.062 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008925/0.4519, allocations: 116.8 kB / 480.8 MB, free: 6.941 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002943/0.4549, allocations: 1.866 MB / 482.7 MB, free: 4.988 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004602/0.4553, allocations: 0.8726 MB / 483.6 MB, free: 4.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002402/0.4556, allocations: 63.41 kB / 483.6 MB, free: 4.027 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.4556, allocations: 0 / 483.6 MB, free: 4.027 MB / 362.7 MB Notification: Performance of Templates: time 0.01343/0.469, allocations: 7.147 MB / 490.8 MB, free: 12.86 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches