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.001675/0.001675, allocations: 102.4 kB / 17.59 MB, free: 5.426 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.001706/0.001706, allocations: 191.6 kB / 18.52 MB, free: 4.504 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.346/1.346, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001004/0.001004, allocations: 43.2 kB / 301.3 MB, free: 5.891 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0936/0.09462, allocations: 49.45 MB / 350.7 MB, free: 4.43 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003558/0.09822, allocations: 2.437 MB / 353.2 MB, free: 1.969 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.09951, allocations: 0.7366 MB / 353.9 MB, free: 1.23 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.09965, allocations: 8 kB / 353.9 MB, free: 1.223 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001542/0.09983, allocations: 35.59 kB / 353.9 MB, free: 1.188 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002077/0.1, allocations: 111 kB / 354.1 MB, free: 1.078 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.1004, allocations: 122.3 kB / 354.2 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004039/0.1008, allocations: 470 kB / 354.6 MB, free: 0.5 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/0.101, allocations: 84.91 kB / 354.7 MB, free: 420 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002101/0.1012, allocations: 187.4 kB / 354.9 MB, free: 232 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002307/0.1015, allocations: 199.3 kB / 355.1 MB, free: 32 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.051e-05/0.1016, allocations: 40.05 kB / 355.1 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.957e-05/0.1016, allocations: 40 kB / 355.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.805e-05/0.1017, allocations: 87.73 kB / 355.3 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001845/0.1019, allocations: 179.2 kB / 355.4 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003965/0.1023, allocations: 406.9 kB / 355.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1023, allocations: 0 / 355.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1024, allocations: 0 / 355.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.1024, allocations: 0 / 355.8 MB, free: 15.29 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.0015/0.1039, allocations: 0.6823 MB / 356.5 MB, free: 14.56 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.1039, allocations: 8.031 kB / 356.5 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.813e-05/0.104, allocations: 32.66 kB / 356.6 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003211/0.1043, allocations: 279.3 kB / 356.8 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003575/0.1047, allocations: 132.2 kB / 357 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.089e-05/0.1048, allocations: 35.89 kB / 357 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008498/0.1056, allocations: 375.2 kB / 357.4 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.1057, allocations: 0 / 357.4 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.806e-05/0.1057, allocations: 12 kB / 357.4 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.1057, allocations: 4 kB / 357.4 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.1069, allocations: 402.7 kB / 357.8 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.1082, allocations: 0.9508 MB / 358.7 MB, free: 12.24 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.1092, allocations: 411.5 kB / 359.1 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006006/0.1098, allocations: 210.4 kB / 359.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.1099, allocations: 19.91 kB / 359.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.1099, allocations: 42.48 kB / 359.4 MB, free: 11.52 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.004e-06/0.1099, allocations: 0 / 359.4 MB, free: 11.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=38): time 0.004828/0.1148, allocations: 2.316 MB / 361.7 MB, free: 8.945 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/0.1148, allocations: 106.8 kB / 361.8 MB, free: 8.816 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.115, allocations: 211.2 kB / 362 MB, free: 8.598 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.569e-05/0.1151, allocations: 29.7 kB / 362 MB, free: 8.562 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.705e-05/0.1152, allocations: 156.5 kB / 362.2 MB, free: 8.406 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.1153, allocations: 141.9 kB / 362.3 MB, free: 8.266 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/0.1155, allocations: 66.12 kB / 362.4 MB, free: 8.195 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1156, allocations: 338.8 kB / 362.7 MB, free: 7.855 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003424/0.1159, allocations: 112.8 kB / 362.8 MB, free: 7.746 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003507/0.1163, allocations: 165.5 kB / 363 MB, free: 7.566 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006712/0.117, allocations: 288.2 kB / 363.3 MB, free: 7.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.117, allocations: 4 kB / 363.3 MB, free: 7.266 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008538/0.1179, allocations: 372 kB / 363.6 MB, free: 6.898 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.1179, allocations: 4.094 kB / 363.6 MB, free: 6.895 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.1179, allocations: 8 kB / 363.7 MB, free: 6.887 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.1179, allocations: 0 / 363.7 MB, free: 6.887 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007128/0.1186, allocations: 155.7 kB / 363.8 MB, free: 6.734 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.1187, allocations: 4 kB / 363.8 MB, free: 6.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002451/0.1189, allocations: 19.98 kB / 363.8 MB, free: 6.711 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.119, allocations: 16.94 kB / 363.8 MB, free: 6.695 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.0001711/0.1191, allocations: 153.7 kB / 364 MB, free: 6.535 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.1192, allocations: 31.59 kB / 364 MB, free: 6.504 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.055e-05/0.1193, allocations: 37.52 kB / 364.1 MB, free: 6.469 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.1193, allocations: 4 kB / 364.1 MB, free: 6.465 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.1193, allocations: 0 / 364.1 MB, free: 6.465 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.1194, allocations: 3.984 kB / 364.1 MB, free: 6.461 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002412/0.1218, allocations: 1.342 MB / 365.4 MB, free: 5.023 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.1218, allocations: 4.188 kB / 365.4 MB, free: 5.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008532/0.1227, allocations: 163.8 kB / 365.6 MB, free: 4.859 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.1227, allocations: 8 kB / 365.6 MB, free: 4.852 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.509e-05/0.1227, allocations: 15.92 kB / 365.6 MB, free: 4.836 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.7e-06/0.1227, allocations: 4 kB / 365.6 MB, free: 4.832 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.1227, allocations: 7.984 kB / 365.6 MB, free: 4.824 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002054/0.1248, allocations: 0.9406 MB / 366.6 MB, free: 3.844 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/0.125, allocations: 136.8 kB / 366.7 MB, free: 3.691 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.878e-05/0.125, allocations: 15.92 kB / 366.7 MB, free: 3.676 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004194/0.1255, allocations: 39.95 kB / 366.7 MB, free: 3.637 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.1256, allocations: 39.89 kB / 366.8 MB, free: 3.598 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/0.1256, allocations: 19.98 kB / 366.8 MB, free: 3.578 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001303/0.1258, allocations: 156.6 kB / 367 MB, free: 3.426 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.563e-06/0.1258, allocations: 0 / 367 MB, free: 3.426 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004804/0.1263, allocations: 87.94 kB / 367 MB, free: 3.34 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.0001429/0.1264, allocations: 107.1 kB / 367.1 MB, free: 3.223 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00108/0.1275, allocations: 379.3 kB / 367.5 MB, free: 2.852 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.207e-06/0.1275, allocations: 4.188 kB / 367.5 MB, free: 2.848 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006832/0.1282, allocations: 247.7 kB / 367.8 MB, free: 2.605 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008027/0.129, allocations: 89.91 kB / 367.8 MB, free: 2.523 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005319/0.1344, allocations: 1.457 MB / 369.3 MB, free: 1.008 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003942/0.1348, allocations: 0.7682 MB / 370.1 MB, free: 220 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000162/0.135, allocations: 31.44 kB / 370.1 MB, free: 188 kB / 302.1 MB Notification: Performance of SimCode: time 8.01e-07/0.135, allocations: 0 / 370.1 MB, free: 188 kB / 302.1 MB Notification: Performance of Templates: time 0.1545/0.2895, allocations: 3.845 MB / 374 MB, free: 24.96 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