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.001624/0.001624, allocations: 109.7 kB / 17.16 MB, free: 6.324 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.001845/0.001845, allocations: 198.9 kB / 18.08 MB, free: 5.422 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.37/1.37, allocations: 222.9 MB / 241.8 MB, free: 13.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 47.58 kB / 300.6 MB, free: 6.055 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0899/0.09103, allocations: 49.45 MB / 350.1 MB, free: 4.602 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003836/0.09491, allocations: 2.471 MB / 352.5 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001376/0.09632, allocations: 0.7406 MB / 353.3 MB, free: 1.367 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002123/0.09656, allocations: 7.938 kB / 353.3 MB, free: 1.359 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001878/0.09676, allocations: 31.77 kB / 353.3 MB, free: 1.328 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002847/0.09709, allocations: 91.23 kB / 353.4 MB, free: 1.238 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004174/0.09752, allocations: 107.9 kB / 353.5 MB, free: 1.133 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004719/0.098, allocations: 446.2 kB / 353.9 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001864/0.09819, allocations: 69.3 kB / 354 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002709/0.09847, allocations: 167.4 kB / 354.2 MB, free: 468 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000248/0.09873, allocations: 199.2 kB / 354.4 MB, free: 268 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.464e-05/0.09881, allocations: 24 kB / 354.4 MB, free: 244 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.044e-05/0.09889, allocations: 20 kB / 354.4 MB, free: 224 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.079e-05/0.09897, allocations: 67.8 kB / 354.5 MB, free: 156 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002127/0.09919, allocations: 163.3 kB / 354.6 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002882/0.09948, allocations: 299.4 kB / 354.9 MB, free: 15.7 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.0995, allocations: 0 / 354.9 MB, free: 15.7 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.09951, allocations: 0 / 354.9 MB, free: 15.7 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.829e-06/0.09952, allocations: 0 / 354.9 MB, free: 15.7 MB / 302.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.001653/0.1012, allocations: 0.6862 MB / 355.6 MB, free: 14.96 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.1012, allocations: 8.031 kB / 355.6 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.801e-05/0.1013, allocations: 28.66 kB / 355.6 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003977/0.1017, allocations: 279.5 kB / 355.9 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003779/0.1021, allocations: 128.2 kB / 356 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.341e-05/0.1022, allocations: 31.89 kB / 356.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009192/0.1031, allocations: 387.1 kB / 356.5 MB, free: 14.06 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.1032, allocations: 0 / 356.5 MB, free: 14.06 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.882e-05/0.1032, allocations: 12 kB / 356.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.1032, allocations: 4 kB / 356.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001189/0.1044, allocations: 395.5 kB / 356.9 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001431/0.1059, allocations: 0.9508 MB / 357.8 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.1069, allocations: 407.5 kB / 358.2 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005778/0.1075, allocations: 222.4 kB / 358.4 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.1075, allocations: 7.984 kB / 358.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.1076, allocations: 46.92 kB / 358.5 MB, free: 11.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.923e-06/0.1076, allocations: 0 / 358.5 MB, free: 11.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=38): time 0.004681/0.1123, allocations: 2.311 MB / 360.8 MB, free: 9.355 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/0.1124, allocations: 106.8 kB / 360.9 MB, free: 9.227 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/0.1126, allocations: 207.2 kB / 361.1 MB, free: 9.012 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.44e-05/0.1126, allocations: 33.64 kB / 361.1 MB, free: 8.973 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.1128, allocations: 152.6 kB / 361.3 MB, free: 8.82 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.1129, allocations: 141.9 kB / 361.4 MB, free: 8.68 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.113, allocations: 70.11 kB / 361.5 MB, free: 8.605 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1132, allocations: 338.8 kB / 361.8 MB, free: 8.266 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003317/0.1135, allocations: 113.7 kB / 361.9 MB, free: 8.156 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003433/0.1138, allocations: 173.4 kB / 362.1 MB, free: 7.969 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006479/0.1145, allocations: 292.7 kB / 362.4 MB, free: 7.668 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.1145, allocations: 0 / 362.4 MB, free: 7.668 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008339/0.1154, allocations: 368.2 kB / 362.7 MB, free: 7.305 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.1154, allocations: 4 kB / 362.7 MB, free: 7.301 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.1154, allocations: 0 / 362.7 MB, free: 7.301 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.853e-05/0.1154, allocations: 4 kB / 362.8 MB, free: 7.297 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007052/0.1161, allocations: 147.9 kB / 362.9 MB, free: 7.152 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.1162, allocations: 7.938 kB / 362.9 MB, free: 7.145 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002518/0.1164, allocations: 31.91 kB / 362.9 MB, free: 7.113 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.1165, allocations: 16 kB / 362.9 MB, free: 7.098 MB / 302.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.0001814/0.1166, allocations: 149.7 kB / 363.1 MB, free: 6.941 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.1168, allocations: 27.66 kB / 363.1 MB, free: 6.914 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.156e-05/0.1168, allocations: 37.52 kB / 363.2 MB, free: 6.879 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.1169, allocations: 8 kB / 363.2 MB, free: 6.871 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.1169, allocations: 0 / 363.2 MB, free: 6.871 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.1169, allocations: 0 / 363.2 MB, free: 6.871 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002436/0.1193, allocations: 1.35 MB / 364.5 MB, free: 5.426 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.074e-06/0.1194, allocations: 0 / 364.5 MB, free: 5.426 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008412/0.1202, allocations: 172 kB / 364.7 MB, free: 5.258 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.1202, allocations: 4 kB / 364.7 MB, free: 5.254 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.895e-05/0.1203, allocations: 15.92 kB / 364.7 MB, free: 5.238 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.284e-06/0.1203, allocations: 4 kB / 364.7 MB, free: 5.234 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.782e-06/0.1203, allocations: 4 kB / 364.7 MB, free: 5.23 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001948/0.1223, allocations: 0.9406 MB / 365.7 MB, free: 4.25 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001846/0.1225, allocations: 136.8 kB / 365.8 MB, free: 4.098 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.247e-05/0.1225, allocations: 11.94 kB / 365.8 MB, free: 4.086 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004279/0.123, allocations: 47.94 kB / 365.8 MB, free: 4.039 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.1231, allocations: 43.88 kB / 365.9 MB, free: 3.996 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.995e-05/0.1232, allocations: 12 kB / 365.9 MB, free: 3.984 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001342/0.1233, allocations: 152.6 kB / 366 MB, free: 3.836 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1233, allocations: 0 / 366 MB, free: 3.836 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004961/0.1238, allocations: 84 kB / 366.1 MB, free: 3.754 MB / 302.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.0001379/0.124, allocations: 118.1 kB / 366.2 MB, free: 3.629 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.125, allocations: 371.5 kB / 366.6 MB, free: 3.266 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.125, allocations: 0 / 366.6 MB, free: 3.266 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006949/0.1257, allocations: 244 kB / 366.8 MB, free: 3.027 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008121/0.1265, allocations: 75.58 kB / 366.9 MB, free: 2.957 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005056/0.1316, allocations: 1.565 MB / 368.5 MB, free: 1.336 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.132, allocations: 0.7685 MB / 369.3 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001793/0.1321, allocations: 31.42 kB / 369.3 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of SimCode: time 1.122e-06/0.1322, allocations: 0 / 369.3 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of Templates: time 0.1566/0.2888, allocations: 3.835 MB / 373.1 MB, free: 24.61 MB / 302.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","/var/lib/jenkins1/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