Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.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.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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001294/0.001294, allocations: 197.4 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.197/1.197, allocations: 227.2 MB / 245 MB, free: 7.566 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000831/0.000831, allocations: 97.67 kB / 297.3 MB, free: 6.195 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002171/0.0002173, allocations: 8 kB / 357.9 MB, free: 9.551 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1871, allocations: 51.47 MB / 409.4 MB, free: 26.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08608/0.2733, allocations: 79.92 MB / 489.3 MB, free: 10.73 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002037/0.2735, allocations: 67.97 kB / 489.4 MB, free: 10.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02512/0.2986, allocations: 9.649 MB / 499 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2987, allocations: 0 / 499 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.373e-05/0.2987, allocations: 12 kB / 499 MB, free: 0.9844 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001315/0.3, allocations: 0.7605 MB / 499.8 MB, free: 180 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.3001, allocations: 8.031 kB / 499.8 MB, free: 172 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002125/0.3003, allocations: 71.33 kB / 499.9 MB, free: 100 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003959/0.3007, allocations: 310.1 kB / 0.4885 GB, free: 15.76 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.665e-05/0.3008, allocations: 37 kB / 0.4885 GB, free: 15.72 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.613e-05/0.3008, allocations: 44 kB / 0.4885 GB, free: 15.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008566/0.3017, allocations: 462.4 kB / 0.489 GB, free: 15.22 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.944e-05/0.3018, allocations: 15.89 kB / 0.489 GB, free: 15.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.321e-05/0.3018, allocations: 19.94 kB / 0.489 GB, free: 15.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.3018, allocations: 15.98 kB / 0.489 GB, free: 15.17 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.3028, allocations: 491.7 kB / 0.4895 GB, free: 14.69 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002151/0.305, allocations: 1.382 MB / 0.4909 GB, free: 13.24 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008791/0.3059, allocations: 0.5598 MB / 0.4914 GB, free: 12.67 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.249e-05/0.3059, allocations: 12.55 kB / 0.4914 GB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.306, allocations: 39.12 kB / 0.4914 GB, free: 12.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=67): time 2.004e-06/0.306, allocations: 0 / 0.4914 GB, free: 12.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=103): time 0.00678/0.3128, allocations: 3.284 MB / 0.4947 GB, free: 9.238 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.3128, allocations: 64.34 kB / 0.4947 GB, free: 9.164 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.313, allocations: 218.2 kB / 0.4949 GB, free: 8.945 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.189e-05/0.3131, allocations: 41.7 kB / 0.495 GB, free: 8.898 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.3132, allocations: 201.2 kB / 0.4952 GB, free: 8.695 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002259/0.3134, allocations: 350.9 kB / 0.4955 GB, free: 8.348 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.569e-05/0.3135, allocations: 20 kB / 0.4955 GB, free: 8.328 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.3136, allocations: 362.8 kB / 0.4959 GB, free: 7.965 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005624/0.3142, allocations: 289.8 kB / 0.4961 GB, free: 7.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006133/0.3148, allocations: 353.4 kB / 0.4965 GB, free: 7.328 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005946/0.3154, allocations: 314.9 kB / 0.4968 GB, free: 7.023 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3154, allocations: 0 / 0.4968 GB, free: 7.023 MB / 378.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001353/0.3168, allocations: 0.8093 MB / 0.4976 GB, free: 6.203 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.3168, allocations: 8 kB / 0.4976 GB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.3168, allocations: 0 / 0.4976 GB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.3168, allocations: 4 kB / 0.4976 GB, free: 6.191 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007539/0.3176, allocations: 227.6 kB / 0.4978 GB, free: 5.969 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.914e-05/0.3176, allocations: 4 kB / 0.4978 GB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003471/0.318, allocations: 63.91 kB / 0.4979 GB, free: 5.902 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-05/0.318, allocations: 27.98 kB / 0.4979 GB, free: 5.875 MB / 378.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.0002176/0.3183, allocations: 194.8 kB / 0.4981 GB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.953e-05/0.3184, allocations: 55.34 kB / 0.4981 GB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001524/0.3185, allocations: 73.39 kB / 0.4982 GB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.3185, allocations: 8 kB / 0.4982 GB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.3186, allocations: 3.953 kB / 0.4982 GB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.3186, allocations: 11.97 kB / 0.4982 GB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002833/0.3214, allocations: 2.029 MB / 0.5002 GB, free: 3.383 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.3214, allocations: 4.594 kB / 0.5002 GB, free: 3.379 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007833/0.3222, allocations: 215.7 kB / 0.5004 GB, free: 3.168 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.371e-05/0.3222, allocations: 12 kB / 0.5004 GB, free: 3.156 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.085e-05/0.3223, allocations: 20 kB / 0.5004 GB, free: 3.137 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.471e-05/0.3223, allocations: 11.98 kB / 0.5004 GB, free: 3.125 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.3223, allocations: 11.94 kB / 0.5005 GB, free: 3.113 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002154/0.3245, allocations: 1.633 MB / 0.5021 GB, free: 1.293 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.3246, allocations: 128.5 kB / 0.5022 GB, free: 1.148 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.761e-05/0.3247, allocations: 23.98 kB / 0.5022 GB, free: 1.125 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003919/0.3251, allocations: 63.92 kB / 0.5023 GB, free: 1.062 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.3252, allocations: 76.8 kB / 0.5023 GB, free: 0.9883 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-05/0.3253, allocations: 35.98 kB / 0.5024 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001405/0.3254, allocations: 174 kB / 0.5025 GB, free: 0.7852 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3254, allocations: 0 / 0.5025 GB, free: 0.7852 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004699/0.3259, allocations: 160 kB / 0.5027 GB, free: 0.6289 MB / 378.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.0001659/0.3261, allocations: 131 kB / 0.5028 GB, free: 500 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.1487/0.4748, allocations: 0.7493 MB / 0.5035 GB, free: 95.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/0.4749, allocations: 0.5938 kB / 0.5035 GB, free: 95.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009552/0.4758, allocations: 462.6 kB / 0.504 GB, free: 95.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006831/0.4765, allocations: 98.86 kB / 0.5041 GB, free: 95.28 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00306/0.4796, allocations: 1.827 MB / 0.5059 GB, free: 94.37 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005166/0.4801, allocations: 0.8824 MB / 0.5067 GB, free: 93.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003818/0.4805, allocations: 76.44 kB / 0.5068 GB, free: 93.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001796/0.4807, allocations: 58.06 kB / 0.5069 GB, free: 93.64 MB / 378.7 MB Notification: Performance of SimCode: time 1.012e-06/0.4807, allocations: 1.375 kB / 0.5069 GB, free: 93.64 MB / 378.7 MB Notification: Performance of Templates: time 0.01077/0.4915, allocations: 5.748 MB / 0.5125 GB, free: 93.33 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches