Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000795/0.0007951, allocations: 177.3 kB / 16.71 MB, free: 5.09 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.197/1.197, allocations: 225.7 MB / 243.2 MB, free: 8.457 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007416/0.0007416, allocations: 101.5 kB / 294.4 MB, free: 9.488 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002261/0.0002261, allocations: 4 kB / 354.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1858, allocations: 50.41 MB / 404.6 MB, free: 31.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.00164/0.1874, allocations: 2.047 MB / 406.6 MB, free: 29.26 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000743/0.1882, allocations: 0.6986 MB / 407.3 MB, free: 28.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.1883, allocations: 4 kB / 407.3 MB, free: 28.56 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.923e-05/0.1884, allocations: 28.28 kB / 407.4 MB, free: 28.54 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001463/0.1886, allocations: 97.61 kB / 407.4 MB, free: 28.44 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.1888, allocations: 115.2 kB / 407.6 MB, free: 28.33 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002534/0.1891, allocations: 446.2 kB / 408 MB, free: 27.89 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.1892, allocations: 69.34 kB / 408.1 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.1894, allocations: 159.4 kB / 408.2 MB, free: 27.66 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.1895, allocations: 191.3 kB / 408.4 MB, free: 27.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.896e-05/0.1896, allocations: 20 kB / 408.4 MB, free: 27.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.806e-05/0.1896, allocations: 20 kB / 408.4 MB, free: 27.44 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.689e-05/0.1897, allocations: 63.8 kB / 408.5 MB, free: 27.38 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.1898, allocations: 191.2 kB / 408.7 MB, free: 27.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.19, allocations: 376.2 kB / 409.1 MB, free: 26.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.19, allocations: 0 / 409.1 MB, free: 26.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.19, allocations: 0 / 409.1 MB, free: 26.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.19, allocations: 3.938 kB / 409.1 MB, free: 26.81 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.001171/0.1912, allocations: 0.6673 MB / 409.7 MB, free: 26.1 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/0.1912, allocations: 15.97 kB / 409.7 MB, free: 26.08 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.798e-05/0.1913, allocations: 36.55 kB / 409.8 MB, free: 26.05 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.1916, allocations: 279.5 kB / 410.1 MB, free: 25.73 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003094/0.1919, allocations: 132.2 kB / 410.2 MB, free: 25.59 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.085e-05/0.1919, allocations: 28 kB / 410.2 MB, free: 25.57 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007276/0.1927, allocations: 407.2 kB / 410.6 MB, free: 25.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.1927, allocations: 7.906 kB / 410.6 MB, free: 25.15 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.682e-05/0.1927, allocations: 8 kB / 410.6 MB, free: 25.14 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.1927, allocations: 8 kB / 410.6 MB, free: 25.13 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.1937, allocations: 464.3 kB / 411.1 MB, free: 24.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009177/0.1947, allocations: 0.9624 MB / 412 MB, free: 23.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000842/0.1955, allocations: 459.5 kB / 412.5 MB, free: 23.18 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005005/0.196, allocations: 250.8 kB / 412.7 MB, free: 22.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.1961, allocations: 7.984 kB / 412.8 MB, free: 22.92 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.1961, allocations: 50.44 kB / 412.8 MB, free: 22.86 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 1.302e-06/0.1961, allocations: 0 / 412.8 MB, free: 22.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=38): time 0.003721/0.1998, allocations: 2.499 MB / 415.3 MB, free: 20.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.1999, allocations: 110.8 kB / 415.4 MB, free: 19.96 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.2, allocations: 215 kB / 415.6 MB, free: 19.74 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.2, allocations: 29.7 kB / 415.6 MB, free: 19.7 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.714e-05/0.2001, allocations: 140.8 kB / 415.8 MB, free: 19.56 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.948e-05/0.2001, allocations: 141.9 kB / 415.9 MB, free: 19.42 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.923e-05/0.2002, allocations: 8 kB / 415.9 MB, free: 19.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.491e-05/0.2002, allocations: 334.8 kB / 416.3 MB, free: 19.08 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002508/0.2005, allocations: 112.8 kB / 416.4 MB, free: 18.97 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002566/0.2007, allocations: 173.4 kB / 416.5 MB, free: 18.78 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004969/0.2012, allocations: 309.1 kB / 416.8 MB, free: 18.46 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.2013, allocations: 0 / 416.8 MB, free: 18.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006242/0.2019, allocations: 368.9 kB / 417.2 MB, free: 18.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.2019, allocations: 8 kB / 417.2 MB, free: 18.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2019, allocations: 96 / 417.2 MB, free: 18.08 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.2019, allocations: 8 kB / 417.2 MB, free: 18.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006129/0.2025, allocations: 175.8 kB / 417.4 MB, free: 17.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.188e-05/0.2026, allocations: 4.938 kB / 417.4 MB, free: 17.9 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.2028, allocations: 31.97 kB / 417.4 MB, free: 17.87 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.2028, allocations: 12 kB / 417.4 MB, free: 17.86 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.945e-05/0.2029, allocations: 141.8 kB / 417.6 MB, free: 17.71 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.395e-05/0.203, allocations: 27.66 kB / 417.6 MB, free: 17.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.784e-05/0.203, allocations: 37.52 kB / 417.6 MB, free: 17.64 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.203, allocations: 8 kB / 417.6 MB, free: 17.64 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2031, allocations: 0 / 417.6 MB, free: 17.64 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2031, allocations: 0 / 417.6 MB, free: 17.64 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/0.2048, allocations: 1.413 MB / 419.1 MB, free: 16.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.2048, allocations: 4 kB / 419.1 MB, free: 16.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007528/0.2056, allocations: 208 kB / 419.3 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.2056, allocations: 4 kB / 419.3 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.539e-05/0.2056, allocations: 15.92 kB / 419.3 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.2057, allocations: 4 kB / 419.3 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2057, allocations: 0 / 419.3 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/0.2073, allocations: 1.042 MB / 420.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.811e-05/0.2074, allocations: 128.8 kB / 420.5 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.191e-05/0.2074, allocations: 11.94 kB / 420.5 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003778/0.2078, allocations: 67.94 kB / 420.5 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.383e-05/0.2079, allocations: 43.89 kB / 420.6 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-05/0.2079, allocations: 11.98 kB / 420.6 MB, free: 14.54 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.696e-05/0.208, allocations: 152.6 kB / 420.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.208, allocations: 0 / 420.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003468/0.2083, allocations: 84 kB / 420.8 MB, free: 14.31 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.798e-05/0.2084, allocations: 112.3 kB / 420.9 MB, free: 14.19 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008057/0.2092, allocations: 415.5 kB / 421.3 MB, free: 13.78 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2092, allocations: 0 / 421.3 MB, free: 13.78 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005607/0.2098, allocations: 288.1 kB / 421.6 MB, free: 13.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006215/0.2104, allocations: 69.62 kB / 421.7 MB, free: 13.43 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00403/0.2145, allocations: 1.776 MB / 423.5 MB, free: 11.61 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001829/0.2147, allocations: 0.7685 MB / 424.2 MB, free: 10.81 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001469/0.2148, allocations: 42.94 kB / 424.3 MB, free: 10.77 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.215, allocations: 35.42 kB / 424.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.215, allocations: 0 / 424.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of Templates: time 0.005596/0.2206, allocations: 3.843 MB / 428.1 MB, free: 6.922 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches