Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Mechanics.Rotational.Examples.Backlash") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009067/0.0009067, allocations: 197.5 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.217/1.217, allocations: 226.6 MB / 244.4 MB, free: 8.195 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007175/0.0007175, allocations: 97.31 kB / 296.4 MB, free: 7.008 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002019/0.000202, allocations: 4 kB / 356.2 MB, free: 11.22 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1788, allocations: 51.31 MB / 407.5 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.001653/0.1805, allocations: 2.047 MB / 409.5 MB, free: 25.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008283/0.1813, allocations: 0.733 MB / 410.3 MB, free: 25.04 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.883e-05/0.1814, allocations: 4.656 kB / 410.3 MB, free: 25.04 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.647e-05/0.1815, allocations: 23.78 kB / 410.3 MB, free: 25.01 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001375/0.1817, allocations: 94.7 kB / 410.4 MB, free: 24.92 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002346/0.1819, allocations: 91.88 kB / 410.5 MB, free: 24.83 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002417/0.1821, allocations: 426.2 kB / 410.9 MB, free: 24.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.1823, allocations: 70.77 kB / 411 MB, free: 24.35 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.1824, allocations: 155.5 kB / 411.1 MB, free: 24.2 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.1826, allocations: 187.3 kB / 411.3 MB, free: 24.01 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.915e-05/0.1826, allocations: 20 kB / 411.3 MB, free: 23.99 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.869e-05/0.1827, allocations: 20 kB / 411.3 MB, free: 23.97 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.932e-05/0.1827, allocations: 70.91 kB / 411.4 MB, free: 23.91 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.564e-05/0.1828, allocations: 77.58 kB / 411.5 MB, free: 23.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.183, allocations: 292.1 kB / 411.8 MB, free: 23.54 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.183, allocations: 0 / 411.8 MB, free: 23.54 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.183, allocations: 0 / 411.8 MB, free: 23.54 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.183, allocations: 0 / 411.8 MB, free: 23.54 MB / 298.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.00119/0.1842, allocations: 0.6744 MB / 412.5 MB, free: 22.82 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.845e-05/0.1842, allocations: 8.031 kB / 412.5 MB, free: 22.81 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.15e-05/0.1843, allocations: 35.62 kB / 412.5 MB, free: 22.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.1845, allocations: 262.4 kB / 412.8 MB, free: 22.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003035/0.1848, allocations: 127.9 kB / 412.9 MB, free: 22.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.783e-05/0.1849, allocations: 39.84 kB / 412.9 MB, free: 22.3 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007435/0.1856, allocations: 412 kB / 413.3 MB, free: 21.89 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.1857, allocations: 3.938 kB / 413.3 MB, free: 21.88 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/0.1857, allocations: 12 kB / 413.3 MB, free: 21.87 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1857, allocations: 4 kB / 413.3 MB, free: 21.87 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.1868, allocations: 456.8 kB / 413.8 MB, free: 21.42 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009578/0.1877, allocations: 0.9898 MB / 414.8 MB, free: 20.38 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009097/0.1887, allocations: 451.6 kB / 415.2 MB, free: 19.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000541/0.1892, allocations: 250.4 kB / 415.5 MB, free: 19.65 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.1892, allocations: 3.938 kB / 415.5 MB, free: 19.65 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.1893, allocations: 42.55 kB / 415.5 MB, free: 19.6 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 1.694e-06/0.1893, allocations: 0 / 415.5 MB, free: 19.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=38): time 0.003919/0.1932, allocations: 2.491 MB / 418 MB, free: 16.84 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.1933, allocations: 123.6 kB / 418.1 MB, free: 16.7 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.1934, allocations: 207.1 kB / 418.3 MB, free: 16.48 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.1934, allocations: 33.7 kB / 418.4 MB, free: 16.45 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.136e-05/0.1935, allocations: 140.7 kB / 418.5 MB, free: 16.3 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.38e-05/0.1936, allocations: 141.9 kB / 418.6 MB, free: 16.16 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.048e-05/0.1936, allocations: 11.98 kB / 418.6 MB, free: 16.15 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.903e-05/0.1936, allocations: 334.8 kB / 419 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002629/0.1939, allocations: 112.8 kB / 419.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002718/0.1942, allocations: 169.5 kB / 419.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002729/0.1945, allocations: 140.7 kB / 419.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1945, allocations: 3.938 kB / 419.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006371/0.1951, allocations: 368.7 kB / 419.7 MB, free: 15.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.1951, allocations: 8 kB / 419.8 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1951, allocations: 8.031 kB / 419.8 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.1952, allocations: 4 kB / 419.8 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006497/0.1958, allocations: 167.8 kB / 419.9 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.1958, allocations: 4 kB / 419.9 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/0.1961, allocations: 35.94 kB / 420 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.1961, allocations: 8 kB / 420 MB, free: 14.79 MB / 298.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.0001017/0.1962, allocations: 145.8 kB / 420.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.931e-05/0.1963, allocations: 35.55 kB / 420.2 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.756e-05/0.1963, allocations: 29.53 kB / 420.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.1963, allocations: 8 kB / 420.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1963, allocations: 4 kB / 420.2 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1964, allocations: 3.984 kB / 420.2 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001824/0.1982, allocations: 1.398 MB / 421.6 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1982, allocations: 4 kB / 421.6 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007853/0.199, allocations: 207.9 kB / 421.8 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.199, allocations: 4 kB / 421.8 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-05/0.199, allocations: 12 kB / 421.8 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.199, allocations: 4 kB / 421.8 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.1991, allocations: 11.94 kB / 421.8 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001656/0.2007, allocations: 1.039 MB / 422.9 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.765e-05/0.2008, allocations: 136.7 kB / 423 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.986e-05/0.2009, allocations: 12 kB / 423 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003899/0.2013, allocations: 63.95 kB / 423.1 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.778e-05/0.2013, allocations: 43.89 kB / 423.1 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.2014, allocations: 15.98 kB / 423.1 MB, free: 11.46 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.977e-05/0.2015, allocations: 152.6 kB / 423.3 MB, free: 11.32 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.2015, allocations: 0 / 423.3 MB, free: 11.32 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003604/0.2018, allocations: 83.94 kB / 423.4 MB, free: 11.23 MB / 298.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 9.561e-05/0.2019, allocations: 107.2 kB / 423.5 MB, free: 11.12 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000842/0.2028, allocations: 410.2 kB / 423.9 MB, free: 10.72 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2028, allocations: 96 / 423.9 MB, free: 10.72 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005853/0.2034, allocations: 288 kB / 424.2 MB, free: 10.44 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006158/0.204, allocations: 62.16 kB / 424.2 MB, free: 10.38 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004352/0.2084, allocations: 1.77 MB / 426 MB, free: 8.555 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001584/0.2085, allocations: 0.7685 MB / 426.8 MB, free: 7.758 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.2087, allocations: 31.42 kB / 426.8 MB, free: 7.73 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.2087, allocations: 4 kB / 426.8 MB, free: 7.727 MB / 298.7 MB Notification: Performance of Templates: time 0.004017/0.2127, allocations: 3.802 MB / 430.6 MB, free: 3.934 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.makefile (rm -f Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.Backlash --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches