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.001421/0.001421, allocations: 112.3 kB / 17.68 MB, free: 5.473 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.001685/0.001685, allocations: 190.9 kB / 18.62 MB, free: 4.543 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.408/1.408, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008487/0.0008488, allocations: 51.62 kB / 302 MB, free: 5.176 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1019, allocations: 49.46 MB / 351.5 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003413/0.1053, allocations: 2.437 MB / 353.9 MB, free: 1.242 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001319/0.1066, allocations: 0.7367 MB / 354.7 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.1068, allocations: 7.938 kB / 354.7 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001204/0.1069, allocations: 39.58 kB / 354.7 MB, free: 468 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001897/0.1071, allocations: 107.1 kB / 354.8 MB, free: 360 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002955/0.1074, allocations: 123.8 kB / 354.9 MB, free: 236 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004324/0.1079, allocations: 474.1 kB / 355.4 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001947/0.1081, allocations: 84.83 kB / 355.5 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002417/0.1083, allocations: 179.5 kB / 355.7 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002726/0.1086, allocations: 211.2 kB / 355.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.623e-05/0.1087, allocations: 36 kB / 355.9 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.526e-05/0.1088, allocations: 40 kB / 355.9 MB, free: 15.22 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.53e-05/0.1089, allocations: 79.8 kB / 356 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001921/0.1091, allocations: 179.2 kB / 356.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004254/0.1095, allocations: 410.6 kB / 356.6 MB, free: 14.56 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1095, allocations: 4 kB / 356.6 MB, free: 14.56 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1095, allocations: 0 / 356.6 MB, free: 14.56 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.1095, allocations: 0 / 356.6 MB, free: 14.56 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.001543/0.1111, allocations: 0.6822 MB / 357.3 MB, free: 13.83 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.1111, allocations: 12.03 kB / 357.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.342e-05/0.1112, allocations: 32.66 kB / 357.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004435/0.1117, allocations: 279.4 kB / 357.6 MB, free: 13.47 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/0.1118, allocations: 88.2 kB / 357.7 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.195e-05/0.1119, allocations: 35.89 kB / 357.7 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007907/0.1127, allocations: 375.2 kB / 358.1 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.1127, allocations: 4 kB / 358.1 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.288e-05/0.1127, allocations: 8 kB / 358.1 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/0.1128, allocations: 8 kB / 358.1 MB, free: 12.94 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.1138, allocations: 403.5 kB / 358.5 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/0.1151, allocations: 0.9545 MB / 359.5 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009146/0.116, allocations: 403.7 kB / 359.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005298/0.1165, allocations: 222.6 kB / 360.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.876e-05/0.1166, allocations: 4 kB / 360.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.1166, allocations: 38.5 kB / 360.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.463e-06/0.1166, allocations: 0 / 360.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=38): time 0.004346/0.121, allocations: 2.323 MB / 362.4 MB, free: 8.246 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.519e-05/0.121, allocations: 106.8 kB / 362.5 MB, free: 8.117 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.1212, allocations: 203.2 kB / 362.7 MB, free: 7.906 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.1213, allocations: 33.7 kB / 362.8 MB, free: 7.867 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.924e-05/0.1214, allocations: 149.5 kB / 362.9 MB, free: 7.719 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.1215, allocations: 141.9 kB / 363 MB, free: 7.578 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.1216, allocations: 70.11 kB / 363.1 MB, free: 7.504 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1217, allocations: 342.8 kB / 363.5 MB, free: 7.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003022/0.122, allocations: 104.8 kB / 363.6 MB, free: 7.059 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003255/0.1224, allocations: 173.4 kB / 363.7 MB, free: 6.871 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006066/0.123, allocations: 288.2 kB / 364 MB, free: 6.574 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.123, allocations: 4 kB / 364 MB, free: 6.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007688/0.1238, allocations: 372.6 kB / 364.4 MB, free: 6.203 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1238, allocations: 4 kB / 364.4 MB, free: 6.199 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1238, allocations: 3.938 kB / 364.4 MB, free: 6.195 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.1239, allocations: 4 kB / 364.4 MB, free: 6.191 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006704/0.1245, allocations: 147.9 kB / 364.5 MB, free: 6.047 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.1245, allocations: 7.938 kB / 364.5 MB, free: 6.039 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/0.1248, allocations: 23.98 kB / 364.6 MB, free: 6.016 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.1248, allocations: 16 kB / 364.6 MB, free: 6 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.0001571/0.125, allocations: 153.6 kB / 364.7 MB, free: 5.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.445e-05/0.1251, allocations: 27.66 kB / 364.8 MB, free: 5.812 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000126/0.1252, allocations: 41.52 kB / 364.8 MB, free: 5.773 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.1252, allocations: 4 kB / 364.8 MB, free: 5.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.1252, allocations: 3.938 kB / 364.8 MB, free: 5.766 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.1252, allocations: 3.984 kB / 364.8 MB, free: 5.762 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002186/0.1274, allocations: 1.331 MB / 366.1 MB, free: 4.336 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.1274, allocations: 8.031 kB / 366.1 MB, free: 4.328 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000751/0.1282, allocations: 167.7 kB / 366.3 MB, free: 4.164 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.1282, allocations: 8 kB / 366.3 MB, free: 4.156 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.268e-05/0.1283, allocations: 15.94 kB / 366.3 MB, free: 4.141 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/0.1283, allocations: 7.984 kB / 366.3 MB, free: 4.133 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1283, allocations: 0 / 366.3 MB, free: 4.133 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001826/0.1301, allocations: 0.9522 MB / 367.3 MB, free: 3.141 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.1303, allocations: 124.8 kB / 367.4 MB, free: 3 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.41e-05/0.1303, allocations: 11.94 kB / 367.4 MB, free: 2.988 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003889/0.1307, allocations: 47.94 kB / 367.5 MB, free: 2.941 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.1308, allocations: 35.95 kB / 367.5 MB, free: 2.906 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.471e-05/0.1309, allocations: 19.94 kB / 367.5 MB, free: 2.887 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001296/0.131, allocations: 160.6 kB / 367.7 MB, free: 2.73 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.131, allocations: 0 / 367.7 MB, free: 2.73 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000419/0.1314, allocations: 80 kB / 367.8 MB, free: 2.652 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.0001333/0.1316, allocations: 111.1 kB / 367.9 MB, free: 2.531 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009186/0.1325, allocations: 371.5 kB / 368.2 MB, free: 2.168 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.1325, allocations: 4 kB / 368.2 MB, free: 2.164 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006155/0.1331, allocations: 248.5 kB / 368.5 MB, free: 1.922 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006622/0.1338, allocations: 72.12 kB / 368.5 MB, free: 1.855 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00482/0.1386, allocations: 1.424 MB / 370 MB, free: 388 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1632/0.3018, allocations: 0.7623 MB / 370.7 MB, free: 25.2 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003135/0.3022, allocations: 38.27 kB / 370.8 MB, free: 25.2 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/0.3023, allocations: 31.98 kB / 370.8 MB, free: 25.19 MB / 302.1 MB Notification: Performance of SimCode: time 1.373e-06/0.3024, allocations: 0.5625 kB / 370.8 MB, free: 25.19 MB / 302.1 MB Notification: Performance of Templates: time 0.009595/0.312, allocations: 4.275 MB / 375.1 MB, free: 25.08 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 -s cvode -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