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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001171, allocations: 103.5 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008272/0.0008273, allocations: 39.95 kB / 350 MB, free: 84 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2643, allocations: 49.44 MB / 399.5 MB, free: 33.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002695/0.267, allocations: 2.482 MB / 402 MB, free: 30.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00087/0.2679, allocations: 0.7289 MB / 402.7 MB, free: 30.15 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.268, allocations: 4 kB / 402.7 MB, free: 30.15 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.2682, allocations: 35.7 kB / 402.7 MB, free: 30.11 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001681/0.2684, allocations: 87.31 kB / 402.8 MB, free: 30.03 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002988/0.2687, allocations: 103.9 kB / 402.9 MB, free: 29.93 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003209/0.269, allocations: 458.2 kB / 403.4 MB, free: 29.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.2692, allocations: 69.36 kB / 403.4 MB, free: 29.4 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001692/0.2694, allocations: 175.4 kB / 403.6 MB, free: 29.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.2695, allocations: 195.3 kB / 403.8 MB, free: 29.04 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.45e-05/0.2696, allocations: 20 kB / 403.8 MB, free: 29.02 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.214e-05/0.2696, allocations: 24 kB / 403.8 MB, free: 29 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.742e-05/0.2697, allocations: 67.73 kB / 403.9 MB, free: 28.93 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.2698, allocations: 155.3 kB / 404 MB, free: 28.78 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002573/0.2701, allocations: 400.1 kB / 404.4 MB, free: 28.39 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.2701, allocations: 0 / 404.4 MB, free: 28.39 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2701, allocations: 7.938 kB / 404.4 MB, free: 28.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.2701, allocations: 0 / 404.4 MB, free: 28.38 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.001353/0.2715, allocations: 0.6745 MB / 405.1 MB, free: 27.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.2715, allocations: 12.03 kB / 405.1 MB, free: 27.64 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.824e-05/0.2716, allocations: 36.55 kB / 405.2 MB, free: 27.61 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/0.2719, allocations: 275.5 kB / 405.4 MB, free: 27.3 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003396/0.2722, allocations: 124.2 kB / 405.6 MB, free: 27.17 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.369e-05/0.2723, allocations: 31.91 kB / 405.6 MB, free: 27.14 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007619/0.273, allocations: 375.2 kB / 406 MB, free: 26.76 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.2731, allocations: 7.938 kB / 406 MB, free: 26.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.05e-05/0.2731, allocations: 12 kB / 406 MB, free: 26.74 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.2731, allocations: 8 kB / 406 MB, free: 26.73 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.2742, allocations: 395.5 kB / 406.4 MB, free: 26.34 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.2752, allocations: 0.9585 MB / 407.3 MB, free: 25.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009203/0.2762, allocations: 399.6 kB / 407.7 MB, free: 24.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005452/0.2767, allocations: 218.8 kB / 407.9 MB, free: 24.68 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.2768, allocations: 11.88 kB / 407.9 MB, free: 24.67 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.2768, allocations: 38.56 kB / 408 MB, free: 24.62 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 1.563e-06/0.2768, allocations: 0 / 408 MB, free: 24.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=38): time 0.004081/0.2809, allocations: 2.321 MB / 410.3 MB, free: 22.04 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.2809, allocations: 110.8 kB / 410.4 MB, free: 21.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.2811, allocations: 207.2 kB / 410.6 MB, free: 21.69 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.2811, allocations: 33.7 kB / 410.6 MB, free: 21.65 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.731e-05/0.2812, allocations: 140.7 kB / 410.8 MB, free: 21.51 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.823e-05/0.2813, allocations: 141.9 kB / 410.9 MB, free: 21.37 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.2814, allocations: 70.12 kB / 411 MB, free: 21.3 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.979e-05/0.2814, allocations: 342.8 kB / 411.3 MB, free: 20.95 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002874/0.2817, allocations: 108.8 kB / 411.4 MB, free: 20.85 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002993/0.2821, allocations: 169.5 kB / 411.6 MB, free: 20.66 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006049/0.2827, allocations: 300.6 kB / 411.9 MB, free: 20.36 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.2827, allocations: 0 / 411.9 MB, free: 20.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007311/0.2834, allocations: 366 kB / 412.2 MB, free: 19.99 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.2834, allocations: 11.98 kB / 412.3 MB, free: 19.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.2835, allocations: 0 / 412.3 MB, free: 19.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.2835, allocations: 7.938 kB / 412.3 MB, free: 19.97 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006442/0.2841, allocations: 147.9 kB / 412.4 MB, free: 19.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.2842, allocations: 4 kB / 412.4 MB, free: 19.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/0.2844, allocations: 23.98 kB / 412.4 MB, free: 19.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.2844, allocations: 12 kB / 412.5 MB, free: 19.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001092/0.2845, allocations: 141.8 kB / 412.6 MB, free: 19.64 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.872e-05/0.2846, allocations: 35.56 kB / 412.6 MB, free: 19.61 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.567e-05/0.2847, allocations: 33.52 kB / 412.7 MB, free: 19.57 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.2847, allocations: 4 kB / 412.7 MB, free: 19.57 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.2847, allocations: 4 kB / 412.7 MB, free: 19.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.2847, allocations: 3.984 kB / 412.7 MB, free: 19.56 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002001/0.2867, allocations: 1.347 MB / 414 MB, free: 18.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.2867, allocations: 4 kB / 414 MB, free: 18.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007782/0.2875, allocations: 164 kB / 414.2 MB, free: 17.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.2875, allocations: 7.984 kB / 414.2 MB, free: 17.95 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.278e-05/0.2876, allocations: 15.94 kB / 414.2 MB, free: 17.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.2876, allocations: 4.094 kB / 414.2 MB, free: 17.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.2876, allocations: 7.875 kB / 414.2 MB, free: 17.92 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006571/0.2942, allocations: 3.429 MB / 417.6 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.872e-05/0.2943, allocations: 124.8 kB / 417.8 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.577e-05/0.2943, allocations: 12 kB / 417.8 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003793/0.2947, allocations: 51.94 kB / 417.8 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.202e-05/0.2948, allocations: 39.83 kB / 417.9 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-05/0.2949, allocations: 15.98 kB / 417.9 MB, free: 14.07 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.194e-05/0.295, allocations: 152.6 kB / 418 MB, free: 13.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.295, allocations: 0 / 418 MB, free: 13.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005189/0.2955, allocations: 116 kB / 418.1 MB, free: 13.81 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.0001061/0.2956, allocations: 111.2 kB / 418.3 MB, free: 13.7 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008572/0.2965, allocations: 367.5 kB / 418.6 MB, free: 13.34 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2965, allocations: 0 / 418.6 MB, free: 13.34 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000585/0.2971, allocations: 248.9 kB / 418.9 MB, free: 13.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007177/0.2978, allocations: 61.08 kB / 418.9 MB, free: 13.04 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004743/0.3025, allocations: 1.792 MB / 420.7 MB, free: 11.18 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001992/0.3028, allocations: 0.7763 MB / 421.5 MB, free: 10.38 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002185/0.303, allocations: 46.95 kB / 421.5 MB, free: 10.33 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.3031, allocations: 31.42 kB / 421.6 MB, free: 10.3 MB / 298.7 MB Notification: Performance of SimCode: time 1.022e-06/0.3032, allocations: 0 / 421.6 MB, free: 10.3 MB / 298.7 MB Notification: Performance of Templates: time 0.007723/0.3109, allocations: 4.884 MB / 426.4 MB, free: 5.445 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@2/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