Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009417/0.0009418, allocations: 196.3 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 229.5 MB / 247.7 MB, free: 6.332 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007545/0.0007547, allocations: 95.38 kB / 299.8 MB, free: 5.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002259/0.0002259, allocations: 8 kB / 360.6 MB, free: 8.473 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1972, allocations: 51.41 MB / 412.1 MB, free: 25.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.001797/0.199, allocations: 2.059 MB / 414.1 MB, free: 23.83 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.2001, allocations: 0.8834 MB / 415 MB, free: 22.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.2002, allocations: 10.44 kB / 415 MB, free: 22.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.964e-05/0.2003, allocations: 27.72 kB / 415 MB, free: 22.88 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001557/0.2005, allocations: 87.3 kB / 415.1 MB, free: 22.79 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002498/0.2007, allocations: 123.8 kB / 415.2 MB, free: 22.67 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000266/0.201, allocations: 442.3 kB / 415.7 MB, free: 22.24 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.2011, allocations: 65.36 kB / 415.7 MB, free: 22.17 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/0.2013, allocations: 167.4 kB / 415.9 MB, free: 22 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.2014, allocations: 187.3 kB / 416.1 MB, free: 21.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.76e-05/0.2015, allocations: 20 kB / 416.1 MB, free: 21.8 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.865e-05/0.2015, allocations: 20 kB / 416.1 MB, free: 21.78 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.051e-05/0.2016, allocations: 75.67 kB / 416.2 MB, free: 21.71 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.2017, allocations: 184.9 kB / 416.4 MB, free: 21.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.202, allocations: 384.2 kB / 416.7 MB, free: 21.14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.202, allocations: 0 / 416.7 MB, free: 21.14 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.562e-06/0.202, allocations: 0 / 416.7 MB, free: 21.14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.202, allocations: 0 / 416.7 MB, free: 21.14 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.001194/0.2032, allocations: 0.6707 MB / 417.4 MB, free: 20.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.2032, allocations: 12.03 kB / 417.4 MB, free: 20.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.251e-05/0.2033, allocations: 32.56 kB / 417.5 MB, free: 20.38 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.2035, allocations: 264.7 kB / 417.7 MB, free: 20.09 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003181/0.2039, allocations: 140.2 kB / 417.9 MB, free: 19.94 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.975e-05/0.2039, allocations: 24 kB / 417.9 MB, free: 19.91 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000758/0.2047, allocations: 411.2 kB / 418.3 MB, free: 19.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.2047, allocations: 15.91 kB / 418.3 MB, free: 19.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.878e-05/0.2048, allocations: 8 kB / 418.3 MB, free: 19.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.2048, allocations: 8 kB / 418.3 MB, free: 19.47 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.2058, allocations: 459.5 kB / 418.8 MB, free: 19.02 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009986/0.2068, allocations: 0.9735 MB / 419.7 MB, free: 17.99 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.2079, allocations: 467.4 kB / 420.2 MB, free: 17.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005341/0.2084, allocations: 246.4 kB / 420.4 MB, free: 17.25 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.2085, allocations: 8 kB / 420.4 MB, free: 17.25 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.2085, allocations: 38.56 kB / 420.5 MB, free: 17.2 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 1.603e-06/0.2085, allocations: 0 / 420.5 MB, free: 17.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=38): time 0.003965/0.2125, allocations: 2.515 MB / 423 MB, free: 14.42 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.2125, allocations: 106.8 kB / 423.1 MB, free: 14.29 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.2127, allocations: 207.1 kB / 423.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.2127, allocations: 29.7 kB / 423.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.402e-05/0.2127, allocations: 144.8 kB / 423.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.608e-05/0.2128, allocations: 137.9 kB / 423.6 MB, free: 13.76 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.02e-05/0.2128, allocations: 8 kB / 423.6 MB, free: 13.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.092e-05/0.2129, allocations: 338.8 kB / 423.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002646/0.2132, allocations: 112.8 kB / 424.1 MB, free: 13.3 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000272/0.2135, allocations: 169.4 kB / 424.2 MB, free: 13.11 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005271/0.214, allocations: 300.8 kB / 424.5 MB, free: 12.8 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.214, allocations: 0 / 424.5 MB, free: 12.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006699/0.2147, allocations: 376.9 kB / 424.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.2147, allocations: 8 kB / 424.9 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2147, allocations: 0 / 424.9 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.2147, allocations: 4 kB / 424.9 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006457/0.2154, allocations: 172.8 kB / 425.1 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.2154, allocations: 4 kB / 425.1 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.2156, allocations: 35.97 kB / 425.1 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.2156, allocations: 8 kB / 425.1 MB, free: 12.2 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 9.753e-05/0.2157, allocations: 149.7 kB / 425.3 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.876e-05/0.2158, allocations: 31.66 kB / 425.3 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.214e-05/0.2159, allocations: 33.52 kB / 425.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.2159, allocations: 4 kB / 425.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2159, allocations: 0 / 425.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.2159, allocations: 0 / 425.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001844/0.2178, allocations: 1.393 MB / 426.7 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.2178, allocations: 4 kB / 426.7 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008168/0.2186, allocations: 208 kB / 426.9 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.2186, allocations: 4 kB / 426.9 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.757e-05/0.2186, allocations: 19.92 kB / 426.9 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.2187, allocations: 7.938 kB / 427 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.2187, allocations: 0 / 427 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/0.2204, allocations: 1.054 MB / 428 MB, free: 9.156 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.249e-05/0.2205, allocations: 124.8 kB / 428.1 MB, free: 9.016 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.699e-05/0.2205, allocations: 11.94 kB / 428.1 MB, free: 9.004 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003996/0.2209, allocations: 72.06 kB / 428.2 MB, free: 8.934 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.393e-05/0.221, allocations: 39.94 kB / 428.3 MB, free: 8.895 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/0.2211, allocations: 12 kB / 428.3 MB, free: 8.883 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.686e-05/0.2212, allocations: 156.6 kB / 428.4 MB, free: 8.73 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.2212, allocations: 3.938 kB / 428.4 MB, free: 8.727 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003806/0.2216, allocations: 83.94 kB / 428.5 MB, free: 8.645 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 0.0001099/0.2217, allocations: 120.4 kB / 428.6 MB, free: 8.516 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008547/0.2225, allocations: 395.3 kB / 429 MB, free: 8.129 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2225, allocations: 4.188 kB / 429 MB, free: 8.125 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005871/0.2231, allocations: 280.9 kB / 429.3 MB, free: 7.852 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006768/0.2238, allocations: 74.69 kB / 429.4 MB, free: 7.781 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004531/0.2284, allocations: 1.764 MB / 431.1 MB, free: 5.969 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001695/0.2285, allocations: 0.7724 MB / 431.9 MB, free: 5.168 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001548/0.2287, allocations: 34.97 kB / 431.9 MB, free: 5.133 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.2288, allocations: 31.42 kB / 432 MB, free: 5.105 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2288, allocations: 0 / 432 MB, free: 5.105 MB / 298.7 MB Notification: Performance of Templates: time 0.006546/0.2354, allocations: 3.854 MB / 435.8 MB, free: 1.27 MB / 298.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