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.001513/0.001513, allocations: 179.3 kB / 16.38 MB, free: 5.766 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.407/1.407, allocations: 223.2 MB / 240.3 MB, free: 11.88 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.000778/0.000778, allocations: 99.05 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002744/0.0002744, allocations: 8 kB / 351.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2524, allocations: 50.4 MB / 401.5 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09618/0.3486, allocations: 79.1 MB / 480.6 MB, free: 1.375 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003021/0.349, allocations: 67.97 kB / 480.7 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02584/0.3748, allocations: 9.549 MB / 490.2 MB, free: 7.734 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3749, allocations: 0 / 490.2 MB, free: 7.734 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.065e-05/0.3749, allocations: 8 kB / 490.2 MB, free: 7.727 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.001272/0.3762, allocations: 0.7641 MB / 491 MB, free: 6.914 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.3762, allocations: 12.03 kB / 491 MB, free: 6.902 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.375e-05/0.3763, allocations: 55.66 kB / 491 MB, free: 6.848 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003646/0.3767, allocations: 306 kB / 491.3 MB, free: 6.512 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.182e-05/0.3768, allocations: 40.94 kB / 491.4 MB, free: 6.473 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.186e-05/0.3768, allocations: 48 kB / 491.4 MB, free: 6.426 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008644/0.3777, allocations: 462.3 kB / 491.9 MB, free: 5.969 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.3777, allocations: 11.91 kB / 491.9 MB, free: 5.957 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.593e-05/0.3778, allocations: 16 kB / 491.9 MB, free: 5.941 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.3778, allocations: 8 kB / 491.9 MB, free: 5.934 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.3788, allocations: 499.6 kB / 492.4 MB, free: 5.445 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002245/0.3811, allocations: 1.394 MB / 493.8 MB, free: 3.992 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009255/0.382, allocations: 0.5444 MB / 494.3 MB, free: 3.438 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.265e-05/0.3821, allocations: 16.48 kB / 494.4 MB, free: 3.422 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.3821, allocations: 35.12 kB / 494.4 MB, free: 3.379 MB / 362.7 MB Notification: Performance of pre-optimization done (n=67): time 1.903e-06/0.3821, allocations: 4 kB / 494.4 MB, free: 3.375 MB / 362.7 MB Notification: Performance of matching and sorting (n=103): time 0.007196/0.3893, allocations: 3.286 MB / 497.7 MB, free: 0 / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.341e-05/0.3894, allocations: 60.41 kB / 497.7 MB, free: 15.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.3896, allocations: 214.2 kB / 498 MB, free: 15.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.285e-05/0.3897, allocations: 41.7 kB / 498 MB, free: 15.67 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.3898, allocations: 201.2 kB / 498.2 MB, free: 15.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002663/0.3901, allocations: 342.9 kB / 498.5 MB, free: 15.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.713e-05/0.3902, allocations: 20 kB / 498.5 MB, free: 15.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.3903, allocations: 366.7 kB / 498.9 MB, free: 14.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005818/0.3909, allocations: 289.8 kB / 499.2 MB, free: 14.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006223/0.3916, allocations: 361.4 kB / 499.5 MB, free: 14.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006092/0.3922, allocations: 318.9 kB / 499.9 MB, free: 13.78 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3922, allocations: 0 / 499.9 MB, free: 13.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.00143/0.3936, allocations: 0.8132 MB / 0.4889 GB, free: 12.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.3937, allocations: 10.66 kB / 0.4889 GB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/0.3937, allocations: 3.984 kB / 0.4889 GB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.542e-05/0.3937, allocations: 4 kB / 0.4889 GB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007969/0.3945, allocations: 215.7 kB / 0.4892 GB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.3945, allocations: 7.984 kB / 0.4892 GB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003536/0.3949, allocations: 59.97 kB / 0.4892 GB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.974e-05/0.395, allocations: 27.98 kB / 0.4892 GB, free: 12.64 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.0002427/0.3952, allocations: 197.6 kB / 0.4894 GB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.794e-05/0.3953, allocations: 59.34 kB / 0.4895 GB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001686/0.3955, allocations: 73.39 kB / 0.4896 GB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.3955, allocations: 8 kB / 0.4896 GB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.3955, allocations: 4 kB / 0.4896 GB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.3955, allocations: 3.984 kB / 0.4896 GB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002874/0.3984, allocations: 2.021 MB / 0.4915 GB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.3984, allocations: 4 kB / 0.4916 GB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007863/0.3992, allocations: 212.2 kB / 0.4918 GB, free: 9.945 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.421e-05/0.3992, allocations: 16 kB / 0.4918 GB, free: 9.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.102e-05/0.3993, allocations: 23.98 kB / 0.4918 GB, free: 9.906 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.227e-06/0.3993, allocations: 11.94 kB / 0.4918 GB, free: 9.895 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.625e-06/0.3993, allocations: 11.94 kB / 0.4918 GB, free: 9.883 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002318/0.4016, allocations: 1.633 MB / 0.4934 GB, free: 8.062 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.4018, allocations: 136.5 kB / 0.4935 GB, free: 7.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.994e-05/0.4019, allocations: 24 kB / 0.4936 GB, free: 7.887 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004166/0.4023, allocations: 55.95 kB / 0.4936 GB, free: 7.832 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.4024, allocations: 80.8 kB / 0.4937 GB, free: 7.754 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.501e-05/0.4025, allocations: 28 kB / 0.4937 GB, free: 7.727 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000174/0.4027, allocations: 182 kB / 0.4939 GB, free: 7.551 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4027, allocations: 0 / 0.4939 GB, free: 7.551 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005144/0.4032, allocations: 156 kB / 0.494 GB, free: 7.398 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.0001877/0.4034, allocations: 131 kB / 0.4942 GB, free: 7.258 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001453/0.4048, allocations: 0.7582 MB / 0.4949 GB, free: 6.496 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4048, allocations: 0 / 0.4949 GB, free: 6.496 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007386/0.4056, allocations: 458.7 kB / 0.4953 GB, free: 6.051 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005932/0.4062, allocations: 104 kB / 0.4954 GB, free: 5.949 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002525/0.4087, allocations: 1.833 MB / 0.4972 GB, free: 4.027 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004186/0.4092, allocations: 0.8774 MB / 0.4981 GB, free: 3.125 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003247/0.4095, allocations: 80.92 kB / 0.4982 GB, free: 3.043 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.4097, allocations: 55.42 kB / 0.4982 GB, free: 2.988 MB / 378.7 MB Notification: Performance of SimCode: time 4.41e-07/0.4097, allocations: 0 / 0.4982 GB, free: 2.988 MB / 378.7 MB Notification: Performance of Templates: time 0.1719/0.5816, allocations: 5.738 MB / 0.5038 GB, free: 99.66 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/jenkins/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