Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008244/0.0008245, allocations: 180.2 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.266/1.266, allocations: 223.3 MB / 241.4 MB, free: 9.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008274/0.0008273, allocations: 96.88 kB / 292.6 MB, free: 10.56 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003431/0.0003431, allocations: 15.92 kB / 352.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2287, allocations: 50.39 MB / 402.7 MB, free: 32.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09207/0.3208, allocations: 79.14 MB / 481.9 MB, free: 1.195 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003529/0.3212, allocations: 67.97 kB / 481.9 MB, free: 1.129 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03121/0.3524, allocations: 9.559 MB / 491.5 MB, free: 7.543 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3525, allocations: 0 / 491.5 MB, free: 7.543 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.438e-05/0.3525, allocations: 11.98 kB / 491.5 MB, free: 7.531 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.001921/0.3545, allocations: 0.7604 MB / 492.3 MB, free: 6.719 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.3545, allocations: 8.031 kB / 492.3 MB, free: 6.711 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001735/0.3547, allocations: 56.58 kB / 492.3 MB, free: 6.656 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005392/0.3553, allocations: 315.2 kB / 492.6 MB, free: 6.312 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.627e-05/0.3553, allocations: 45.25 kB / 492.7 MB, free: 6.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.3555, allocations: 48.28 kB / 492.7 MB, free: 6.223 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/0.3568, allocations: 466.9 kB / 493.2 MB, free: 5.762 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.801e-05/0.3568, allocations: 8.188 kB / 493.2 MB, free: 5.754 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.099e-05/0.3569, allocations: 19.94 kB / 493.2 MB, free: 5.734 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.84e-05/0.3569, allocations: 8 kB / 493.2 MB, free: 5.727 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001499/0.3584, allocations: 495.7 kB / 493.7 MB, free: 5.242 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003328/0.3618, allocations: 1.394 MB / 495.1 MB, free: 3.789 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0013/0.3631, allocations: 0.5483 MB / 495.6 MB, free: 3.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001063/0.3642, allocations: 391.8 kB / 496 MB, free: 2.844 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.644e-05/0.3642, allocations: 12.55 kB / 496 MB, free: 2.832 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.3643, allocations: 39.06 kB / 496.1 MB, free: 2.785 MB / 362.7 MB Notification: Performance of pre-optimization done (n=67): time 3.387e-06/0.3643, allocations: 4 kB / 496.1 MB, free: 2.781 MB / 362.7 MB Notification: Performance of matching and sorting (n=103): time 0.01066/0.375, allocations: 3.294 MB / 499.4 MB, free: 15.4 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.37e-05/0.3751, allocations: 68.34 kB / 499.4 MB, free: 15.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004096/0.3755, allocations: 243 kB / 499.7 MB, free: 15.08 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.84e-05/0.3756, allocations: 41.7 kB / 499.7 MB, free: 15.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/0.3758, allocations: 197.2 kB / 499.9 MB, free: 14.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003835/0.3762, allocations: 350.8 kB / 0.4885 GB, free: 14.49 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-05/0.3762, allocations: 16 kB / 0.4886 GB, free: 14.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.3765, allocations: 362.8 kB / 0.4889 GB, free: 14.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008874/0.3774, allocations: 293.8 kB / 0.4892 GB, free: 13.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009499/0.3783, allocations: 365.4 kB / 0.4895 GB, free: 13.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001792/0.3801, allocations: 0.6546 MB / 0.4902 GB, free: 12.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3801, allocations: 0 / 0.4902 GB, free: 12.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002263/0.3824, allocations: 0.8133 MB / 0.491 GB, free: 11.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.3825, allocations: 4 kB / 0.491 GB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.46e-05/0.3825, allocations: 11.98 kB / 0.491 GB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.3825, allocations: 4 kB / 0.491 GB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/0.3837, allocations: 219.6 kB / 0.4912 GB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.255e-05/0.3838, allocations: 12 kB / 0.4912 GB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005731/0.3844, allocations: 51.97 kB / 0.4912 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.696e-05/0.3845, allocations: 31.98 kB / 0.4913 GB, free: 11.65 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.0003611/0.3848, allocations: 193.7 kB / 0.4915 GB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001749/0.385, allocations: 55.42 kB / 0.4915 GB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002227/0.3853, allocations: 73.39 kB / 0.4916 GB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/0.3853, allocations: 11.94 kB / 0.4916 GB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.3853, allocations: 0 / 0.4916 GB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/0.3853, allocations: 3.984 kB / 0.4916 GB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004801/0.3901, allocations: 2.041 MB / 0.4936 GB, free: 9.145 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/0.3902, allocations: 8 kB / 0.4936 GB, free: 9.137 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001227/0.3914, allocations: 212.3 kB / 0.4938 GB, free: 8.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.116e-05/0.3915, allocations: 8 kB / 0.4938 GB, free: 8.922 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.182e-05/0.3916, allocations: 28 kB / 0.4938 GB, free: 8.895 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-05/0.3916, allocations: 15.92 kB / 0.4939 GB, free: 8.879 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.265e-05/0.3916, allocations: 7.938 kB / 0.4939 GB, free: 8.871 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003418/0.395, allocations: 1.419 MB / 0.4952 GB, free: 7.379 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001793/0.3952, allocations: 124.5 kB / 0.4954 GB, free: 7.238 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.708e-05/0.3953, allocations: 24.05 kB / 0.4954 GB, free: 7.215 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006009/0.396, allocations: 67.91 kB / 0.4955 GB, free: 7.148 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001873/0.3962, allocations: 72.78 kB / 0.4955 GB, free: 7.078 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.71e-05/0.3962, allocations: 36 kB / 0.4956 GB, free: 7.043 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002441/0.3965, allocations: 174 kB / 0.4957 GB, free: 6.875 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3965, allocations: 3.938 kB / 0.4957 GB, free: 6.871 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008682/0.3974, allocations: 156 kB / 0.4959 GB, free: 6.719 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.0002541/0.3977, allocations: 140 kB / 0.496 GB, free: 6.574 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002101/0.3998, allocations: 0.7582 MB / 0.4967 GB, free: 5.812 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3998, allocations: 4 kB / 0.4968 GB, free: 5.809 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001173/0.401, allocations: 462.7 kB / 0.4972 GB, free: 5.359 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/0.4024, allocations: 109.7 kB / 0.4973 GB, free: 5.246 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003867/0.4062, allocations: 1.837 MB / 0.4991 GB, free: 3.324 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005828/0.4068, allocations: 0.8686 MB / 0.4999 GB, free: 2.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005469/0.4074, allocations: 76.94 kB / 0.5 GB, free: 2.355 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002264/0.4076, allocations: 51.42 kB / 0.5001 GB, free: 2.305 MB / 378.7 MB Notification: Performance of SimCode: time 8.12e-07/0.4077, allocations: 0 / 0.5001 GB, free: 2.305 MB / 378.7 MB Notification: Performance of Templates: time 0.1801/0.5878, allocations: 5.825 MB / 0.5058 GB, free: 98.07 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches