Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 110.3 kB / 17.06 MB, free: 6.137 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001812/0.001812, allocations: 191 kB / 18 MB, free: 5.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009707/0.0009707, allocations: 47.92 kB / 351.3 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.235, allocations: 49.42 MB / 400.7 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003224/0.2382, allocations: 2.445 MB / 403.1 MB, free: 6.422 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.2394, allocations: 0.7444 MB / 403.9 MB, free: 5.676 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.2395, allocations: 4 kB / 403.9 MB, free: 5.672 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001333/0.2397, allocations: 47.52 kB / 403.9 MB, free: 5.625 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001982/0.2399, allocations: 103.1 kB / 404 MB, free: 5.523 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003221/0.2402, allocations: 123.8 kB / 404.2 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004173/0.2406, allocations: 466.2 kB / 404.6 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001788/0.2408, allocations: 88.89 kB / 404.7 MB, free: 4.852 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002125/0.241, allocations: 187.4 kB / 404.9 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.2413, allocations: 211.2 kB / 405.1 MB, free: 4.461 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.281e-05/0.2413, allocations: 36 kB / 405.1 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.392e-05/0.2414, allocations: 36 kB / 405.2 MB, free: 4.391 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.481e-05/0.2415, allocations: 91.78 kB / 405.3 MB, free: 4.301 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001619/0.2416, allocations: 179.2 kB / 405.4 MB, free: 4.125 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003789/0.242, allocations: 411.8 kB / 405.8 MB, free: 3.727 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.242, allocations: 0 / 405.8 MB, free: 3.727 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.242, allocations: 0 / 405.8 MB, free: 3.727 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.2421, allocations: 0 / 405.8 MB, free: 3.727 MB / 318.1 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.001616/0.2437, allocations: 0.6861 MB / 406.5 MB, free: 2.992 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.2437, allocations: 8.031 kB / 406.5 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.557e-05/0.2438, allocations: 36.56 kB / 406.6 MB, free: 2.949 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003767/0.2442, allocations: 271.6 kB / 406.8 MB, free: 2.645 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/0.2443, allocations: 88.27 kB / 406.9 MB, free: 2.547 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.687e-05/0.2444, allocations: 24 kB / 406.9 MB, free: 2.523 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009344/0.2453, allocations: 383.2 kB / 407.3 MB, free: 2.137 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.2454, allocations: 7.906 kB / 407.3 MB, free: 2.129 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.6e-05/0.2454, allocations: 8 kB / 407.3 MB, free: 2.121 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.2454, allocations: 8 kB / 407.3 MB, free: 2.113 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.2467, allocations: 399.5 kB / 407.7 MB, free: 1.723 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.2479, allocations: 0.9544 MB / 408.7 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.249, allocations: 407.7 kB / 409.1 MB, free: 292 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006244/0.2497, allocations: 222.6 kB / 409.3 MB, free: 60 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.2497, allocations: 7.984 kB / 409.3 MB, free: 52 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.2497, allocations: 42.55 kB / 409.3 MB, free: 0 / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.232e-06/0.2497, allocations: 0 / 409.3 MB, free: 0 / 318.1 MB Notification: Performance of matching and sorting (n=38): time 0.004812/0.2545, allocations: 2.32 MB / 411.7 MB, free: 13.41 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.2546, allocations: 106.8 kB / 411.8 MB, free: 13.29 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.2548, allocations: 199.2 kB / 412 MB, free: 13.08 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.718e-05/0.2549, allocations: 37.7 kB / 412 MB, free: 13.04 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.72e-05/0.2549, allocations: 152.6 kB / 412.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.642e-05/0.255, allocations: 134 kB / 412.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.2552, allocations: 78.02 kB / 412.4 MB, free: 12.67 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.2553, allocations: 338.8 kB / 412.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003266/0.2556, allocations: 112.8 kB / 412.8 MB, free: 12.22 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003423/0.256, allocations: 165.5 kB / 413 MB, free: 12.04 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006507/0.2566, allocations: 280.3 kB / 413.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.2567, allocations: 8 kB / 413.2 MB, free: 11.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008145/0.2575, allocations: 369 kB / 413.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.2575, allocations: 4 kB / 413.6 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.2575, allocations: 0.9375 kB / 413.6 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.2575, allocations: 4 kB / 413.6 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007428/0.2583, allocations: 147.9 kB / 413.8 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.2583, allocations: 7.984 kB / 413.8 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002315/0.2585, allocations: 23.98 kB / 413.8 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.2586, allocations: 16 kB / 413.8 MB, free: 11.18 MB / 334.1 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 0.0001459/0.2587, allocations: 153.6 kB / 414 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.733e-05/0.2588, allocations: 27.66 kB / 414 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.893e-05/0.2589, allocations: 37.52 kB / 414 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.2589, allocations: 4 kB / 414 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.2589, allocations: 11.88 kB / 414 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.2589, allocations: 3.984 kB / 414 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002304/0.2613, allocations: 1.323 MB / 415.4 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/0.2613, allocations: 4 kB / 415.4 MB, free: 9.512 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008725/0.2622, allocations: 168 kB / 415.5 MB, free: 9.348 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.2622, allocations: 4 kB / 415.5 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.383e-05/0.2622, allocations: 19.92 kB / 415.5 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.2622, allocations: 7.938 kB / 415.6 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.2622, allocations: 3.984 kB / 415.6 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002054/0.2643, allocations: 0.9529 MB / 416.5 MB, free: 8.32 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.2644, allocations: 128.8 kB / 416.6 MB, free: 8.176 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.988e-05/0.2645, allocations: 19.92 kB / 416.7 MB, free: 8.156 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004356/0.2649, allocations: 43.95 kB / 416.7 MB, free: 8.113 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.641e-05/0.265, allocations: 39.95 kB / 416.7 MB, free: 8.074 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/0.2651, allocations: 16.11 kB / 416.8 MB, free: 8.059 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001233/0.2652, allocations: 152.6 kB / 416.9 MB, free: 7.91 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2652, allocations: 0 / 416.9 MB, free: 7.91 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000449/0.2657, allocations: 80 kB / 417 MB, free: 7.832 MB / 334.1 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.000128/0.2658, allocations: 117.6 kB / 417.1 MB, free: 7.707 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001072/0.2669, allocations: 371.7 kB / 417.5 MB, free: 7.344 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.2669, allocations: 4 kB / 417.5 MB, free: 7.34 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007013/0.2676, allocations: 244 kB / 417.7 MB, free: 7.102 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007066/0.2683, allocations: 88.55 kB / 417.8 MB, free: 7.023 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005067/0.2734, allocations: 1.432 MB / 419.2 MB, free: 5.535 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.2738, allocations: 0.7682 MB / 420 MB, free: 4.738 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001736/0.274, allocations: 38.95 kB / 420 MB, free: 4.699 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.2741, allocations: 27.44 kB / 420.1 MB, free: 4.676 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2741, allocations: 0 / 420.1 MB, free: 4.676 MB / 334.1 MB Notification: Performance of Templates: time 0.00866/0.2828, allocations: 4.332 MB / 424.4 MB, free: 384 kB / 334.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches