Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.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.Rotational.Examples.Backlash,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|elastoBacklash.phi_rel|elastoBacklash.w_rel|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash") translateModel(Modelica.Mechanics.Rotational.Examples.Backlash,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|elastoBacklash.phi_rel|elastoBacklash.w_rel|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001015/0.001015, allocations: 196.9 kB / 18.11 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 226.5 MB / 245.4 MB, free: 6.484 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007645/0.0007645, allocations: 97.02 kB / 297.5 MB, free: 6.672 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002034/0.0002035, allocations: 4 kB / 358.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2013/0.2015, allocations: 51.29 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09096/0.2926, allocations: 79.67 MB / 489 MB, free: 11.84 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002014/0.2928, allocations: 67.95 kB / 489.1 MB, free: 11.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02247/0.3153, allocations: 7.835 MB / 496.9 MB, free: 3.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3153, allocations: 0 / 496.9 MB, free: 3.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.831e-05/0.3153, allocations: 8 kB / 496.9 MB, free: 3.922 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001284/0.3166, allocations: 0.6551 MB / 497.6 MB, free: 3.219 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.3167, allocations: 8.031 kB / 497.6 MB, free: 3.211 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.516e-05/0.3168, allocations: 36.56 kB / 497.6 MB, free: 3.176 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003205/0.3171, allocations: 264.3 kB / 497.9 MB, free: 2.879 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003431/0.3175, allocations: 127.9 kB / 498 MB, free: 2.742 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.631e-05/0.3175, allocations: 43.81 kB / 498.1 MB, free: 2.699 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009/0.3184, allocations: 407.2 kB / 498.5 MB, free: 2.289 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.891e-05/0.3185, allocations: 11.88 kB / 498.5 MB, free: 2.277 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.508e-05/0.3185, allocations: 8 kB / 498.5 MB, free: 2.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.3185, allocations: 8 kB / 498.5 MB, free: 2.262 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001196/0.3197, allocations: 452.2 kB / 498.9 MB, free: 1.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00147/0.3212, allocations: 0.9852 MB / 499.9 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.3223, allocations: 444.1 kB / 0.4886 GB, free: 324 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006038/0.3229, allocations: 254.4 kB / 0.4889 GB, free: 60 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.3229, allocations: 7.938 kB / 0.4889 GB, free: 52 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.323, allocations: 38.98 kB / 0.4889 GB, free: 4 kB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 1.993e-06/0.323, allocations: 4 kB / 0.4889 GB, free: 0 / 362.7 MB Notification: Performance of matching and sorting (n=38): time 0.004884/0.3279, allocations: 2.507 MB / 0.4914 GB, free: 13.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.094e-05/0.328, allocations: 114.8 kB / 0.4915 GB, free: 13.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.3282, allocations: 199.2 kB / 0.4917 GB, free: 12.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.366e-05/0.3282, allocations: 29.7 kB / 0.4917 GB, free: 12.85 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.574e-05/0.3283, allocations: 156.5 kB / 0.4918 GB, free: 12.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.3284, allocations: 137.9 kB / 0.492 GB, free: 12.56 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.326e-05/0.3284, allocations: 15.98 kB / 0.492 GB, free: 12.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.3286, allocations: 338.8 kB / 0.4923 GB, free: 12.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003081/0.3289, allocations: 112.8 kB / 0.4924 GB, free: 12.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000318/0.3292, allocations: 169.5 kB / 0.4926 GB, free: 11.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006184/0.3298, allocations: 299.8 kB / 0.4929 GB, free: 11.6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3298, allocations: 3.938 kB / 0.4929 GB, free: 11.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007952/0.3306, allocations: 376.7 kB / 0.4932 GB, free: 11.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.3307, allocations: 11.94 kB / 0.4932 GB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.3307, allocations: 0 / 0.4932 GB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.3307, allocations: 4 kB / 0.4932 GB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006889/0.3314, allocations: 171.9 kB / 0.4934 GB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.3314, allocations: 4 kB / 0.4934 GB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002416/0.3317, allocations: 23.98 kB / 0.4934 GB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.147e-05/0.3317, allocations: 12.94 kB / 0.4934 GB, free: 11 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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.0001586/0.3319, allocations: 149.8 kB / 0.4936 GB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.332, allocations: 27.66 kB / 0.4936 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.309e-05/0.3321, allocations: 33.53 kB / 0.4936 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.3321, allocations: 4 kB / 0.4937 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.3321, allocations: 0 / 0.4937 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.3321, allocations: 7.922 kB / 0.4937 GB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002371/0.3345, allocations: 1.39 MB / 0.495 GB, free: 9.293 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.3345, allocations: 8.125 kB / 0.495 GB, free: 9.285 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008386/0.3353, allocations: 207.8 kB / 0.4952 GB, free: 9.082 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.156e-06/0.3354, allocations: 8 kB / 0.4952 GB, free: 9.074 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.043e-05/0.3354, allocations: 8 kB / 0.4952 GB, free: 9.066 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/0.3354, allocations: 7.938 kB / 0.4952 GB, free: 9.059 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.3354, allocations: 3.938 kB / 0.4953 GB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00202/0.3374, allocations: 1.053 MB / 0.4963 GB, free: 7.961 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.3376, allocations: 136.8 kB / 0.4964 GB, free: 7.809 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.439e-05/0.3376, allocations: 8 kB / 0.4964 GB, free: 7.801 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004038/0.3381, allocations: 67.89 kB / 0.4965 GB, free: 7.734 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.505e-05/0.3382, allocations: 39.94 kB / 0.4965 GB, free: 7.695 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.3382, allocations: 11.98 kB / 0.4965 GB, free: 7.684 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001271/0.3383, allocations: 152.6 kB / 0.4967 GB, free: 7.535 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3383, allocations: 0 / 0.4967 GB, free: 7.535 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004397/0.3388, allocations: 84 kB / 0.4968 GB, free: 7.453 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 6 (elastoBacklash2.phi_rel,elastoBacklash2.w_rel,elastoBacklash.phi_rel,elastoBacklash.w_rel,springDamper.phi_rel,springDamper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.0001425/0.3389, allocations: 111.2 kB / 0.4969 GB, free: 7.336 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009771/0.3399, allocations: 410.3 kB / 0.4973 GB, free: 6.938 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3399, allocations: 0 / 0.4973 GB, free: 6.938 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006602/0.3406, allocations: 280 kB / 0.4975 GB, free: 6.664 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007166/0.3413, allocations: 71.64 kB / 0.4976 GB, free: 6.594 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00479/0.3461, allocations: 1.741 MB / 0.4993 GB, free: 4.805 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.3465, allocations: 0.7762 MB / 0.5 GB, free: 4 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002116/0.3468, allocations: 46.88 kB / 0.5001 GB, free: 3.953 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.3469, allocations: 35.42 kB / 0.5001 GB, free: 3.922 MB / 378.7 MB Notification: Performance of SimCode: time 4.01e-07/0.3469, allocations: 4 kB / 0.5001 GB, free: 3.918 MB / 378.7 MB Notification: Performance of Templates: time 0.007408/0.3543, allocations: 3.738 MB / 0.5038 GB, free: 216 kB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches