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.001136/0.001136, allocations: 198.6 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.183/1.183, allocations: 227.2 MB / 245 MB, free: 7.613 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008675/0.0008676, allocations: 90.14 kB / 297.3 MB, free: 6.199 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002023/0.0002024, allocations: 4 kB / 357.9 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1826, allocations: 51.48 MB / 409.4 MB, free: 26.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08879/0.2714, allocations: 79.74 MB / 489.1 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002052/0.2717, allocations: 69.62 kB / 489.2 MB, free: 10.83 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02124/0.2929, allocations: 7.827 MB / 497 MB, free: 2.996 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.293, allocations: 0 / 497 MB, free: 2.996 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.303e-05/0.293, allocations: 4 kB / 497 MB, free: 2.992 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.001194/0.2942, allocations: 0.6628 MB / 497.7 MB, free: 2.281 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.2942, allocations: 8.031 kB / 497.7 MB, free: 2.273 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.125e-05/0.2943, allocations: 31.72 kB / 497.7 MB, free: 2.242 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002937/0.2946, allocations: 270.3 kB / 498 MB, free: 1.938 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003398/0.295, allocations: 131.9 kB / 498.1 MB, free: 1.797 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.755e-05/0.295, allocations: 28 kB / 498.2 MB, free: 1.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008395/0.2959, allocations: 411.9 kB / 498.6 MB, free: 1.352 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.645e-05/0.2959, allocations: 7.891 kB / 498.6 MB, free: 1.344 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.365e-05/0.296, allocations: 12 kB / 498.6 MB, free: 1.332 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.296, allocations: 4 kB / 498.6 MB, free: 1.328 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.2971, allocations: 463.9 kB / 499 MB, free: 0.8789 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.2983, allocations: 0.9712 MB / 0.4883 GB, free: 15.85 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.2993, allocations: 456 kB / 0.4887 GB, free: 15.38 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.2993, allocations: 4 kB / 0.4887 GB, free: 15.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.2994, allocations: 38.56 kB / 0.4888 GB, free: 15.33 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 1.423e-06/0.2994, allocations: 3.938 kB / 0.4888 GB, free: 15.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=38): time 0.004387/0.3038, allocations: 2.518 MB / 0.4912 GB, free: 12.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.3038, allocations: 110.8 kB / 0.4913 GB, free: 12.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.304, allocations: 178.3 kB / 0.4915 GB, free: 12.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.281e-05/0.304, allocations: 33.7 kB / 0.4915 GB, free: 12.19 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.782e-05/0.3041, allocations: 144.7 kB / 0.4917 GB, free: 12.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.443e-05/0.3042, allocations: 137.9 kB / 0.4918 GB, free: 11.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.428e-05/0.3042, allocations: 12 kB / 0.4918 GB, free: 11.9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.961e-05/0.3043, allocations: 339.8 kB / 0.4922 GB, free: 11.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002804/0.3046, allocations: 112.8 kB / 0.4923 GB, free: 11.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003069/0.3049, allocations: 181.4 kB / 0.4924 GB, free: 11.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/0.3052, allocations: 125.5 kB / 0.4926 GB, free: 11.13 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.3052, allocations: 0 / 0.4926 GB, free: 11.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007184/0.306, allocations: 383.8 kB / 0.4929 GB, free: 10.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.306, allocations: 10.59 kB / 0.4929 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.306, allocations: 7.984 kB / 0.4929 GB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.306, allocations: 4 kB / 0.4929 GB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006625/0.3067, allocations: 171.8 kB / 0.4931 GB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.3067, allocations: 11.88 kB / 0.4931 GB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.3069, allocations: 27.98 kB / 0.4931 GB, free: 10.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.3069, allocations: 12 kB / 0.4932 GB, free: 10.52 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.0001477/0.3071, allocations: 149.8 kB / 0.4933 GB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.336e-05/0.3072, allocations: 23.72 kB / 0.4933 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.049e-05/0.3073, allocations: 37.52 kB / 0.4934 GB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.3073, allocations: 4 kB / 0.4934 GB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.3073, allocations: 7.953 kB / 0.4934 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.3073, allocations: 0 / 0.4934 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002158/0.3094, allocations: 1.374 MB / 0.4947 GB, free: 8.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3095, allocations: 0 / 0.4947 GB, free: 8.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008382/0.3103, allocations: 211.9 kB / 0.4949 GB, free: 8.613 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.3103, allocations: 4 kB / 0.4949 GB, free: 8.609 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.803e-05/0.3104, allocations: 8 kB / 0.4949 GB, free: 8.602 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.3104, allocations: 8 kB / 0.4949 GB, free: 8.594 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.3104, allocations: 7.984 kB / 0.4949 GB, free: 8.586 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001871/0.3122, allocations: 1.144 MB / 0.4961 GB, free: 7.355 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.3124, allocations: 128.8 kB / 0.4962 GB, free: 7.211 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.582e-05/0.3124, allocations: 11.95 kB / 0.4962 GB, free: 7.199 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004679/0.3129, allocations: 63.94 kB / 0.4962 GB, free: 7.137 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.591e-05/0.313, allocations: 43.88 kB / 0.4963 GB, free: 7.094 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.498e-05/0.313, allocations: 16 kB / 0.4963 GB, free: 7.078 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001071/0.3131, allocations: 152.6 kB / 0.4964 GB, free: 6.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3132, allocations: 0 / 0.4964 GB, free: 6.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003924/0.3136, allocations: 87.94 kB / 0.4965 GB, free: 6.844 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.0001221/0.3137, allocations: 115.2 kB / 0.4966 GB, free: 6.723 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008932/0.3146, allocations: 399.8 kB / 0.497 GB, free: 6.332 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.3146, allocations: 4 kB / 0.497 GB, free: 6.328 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006467/0.3152, allocations: 280.5 kB / 0.4973 GB, free: 6.055 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004633/0.3157, allocations: 72.94 kB / 0.4974 GB, free: 5.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004722/0.3205, allocations: 1.737 MB / 0.4991 GB, free: 4.195 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.3208, allocations: 0.7802 MB / 0.4998 GB, free: 3.383 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001975/0.321, allocations: 38.95 kB / 0.4999 GB, free: 3.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.3211, allocations: 31.42 kB / 0.4999 GB, free: 3.312 MB / 378.7 MB Notification: Performance of SimCode: time 4.01e-07/0.3211, allocations: 4 kB / 0.4999 GB, free: 3.309 MB / 378.7 MB Notification: Performance of Templates: time 0.1541/0.4753, allocations: 3.687 MB / 0.5035 GB, free: 96.79 MB / 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/jenkins/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