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.0009231/0.0009231, allocations: 89.02 kB / 16.31 MB, free: 6.449 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.001011/0.001011, allocations: 180.5 kB / 17.21 MB, free: 6.32 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.4/1.4, allocations: 223.3 MB / 241.2 MB, free: 5.238 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002618/0.0002619, allocations: 6.312 kB / 300.8 MB, free: 5.562 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1025, allocations: 50.42 MB / 351.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002955/0.1056, allocations: 2.041 MB / 353.3 MB, free: 9.34 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.1069, allocations: 0.6983 MB / 354 MB, free: 8.641 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.1071, allocations: 8 kB / 354 MB, free: 8.633 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.1072, allocations: 31.7 kB / 354 MB, free: 8.602 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001931/0.1074, allocations: 83.31 kB / 354.1 MB, free: 8.52 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000303/0.1077, allocations: 95.83 kB / 354.2 MB, free: 8.426 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003685/0.1081, allocations: 422.2 kB / 354.6 MB, free: 8.012 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001666/0.1083, allocations: 80.91 kB / 354.7 MB, free: 7.93 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001916/0.1085, allocations: 159.5 kB / 354.8 MB, free: 7.773 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002105/0.1087, allocations: 187.4 kB / 355 MB, free: 7.59 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.497e-05/0.1088, allocations: 20 kB / 355 MB, free: 7.57 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.282e-05/0.1088, allocations: 20 kB / 355.1 MB, free: 7.551 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.468e-05/0.1089, allocations: 63.8 kB / 355.1 MB, free: 7.488 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.908e-05/0.109, allocations: 77.52 kB / 355.2 MB, free: 7.406 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002815/0.1093, allocations: 287.2 kB / 355.5 MB, free: 7.125 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1093, allocations: 0 / 355.5 MB, free: 7.125 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.1093, allocations: 4 kB / 355.5 MB, free: 7.121 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.1093, allocations: 0 / 355.5 MB, free: 7.121 MB / 286.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.001377/0.1107, allocations: 0.6729 MB / 356.1 MB, free: 6.402 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.1107, allocations: 15.97 kB / 356.2 MB, free: 6.387 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.809e-05/0.1108, allocations: 39.56 kB / 356.2 MB, free: 6.348 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003141/0.1111, allocations: 262.5 kB / 356.5 MB, free: 6.051 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003434/0.1115, allocations: 127.9 kB / 356.6 MB, free: 5.914 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.143e-05/0.1116, allocations: 31.91 kB / 356.6 MB, free: 5.883 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008691/0.1124, allocations: 411.9 kB / 357 MB, free: 5.469 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.1125, allocations: 0 / 357 MB, free: 5.469 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.464e-05/0.1125, allocations: 15.95 kB / 357 MB, free: 5.453 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.1125, allocations: 8 kB / 357 MB, free: 5.445 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/0.1137, allocations: 458.3 kB / 357.5 MB, free: 5 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.115, allocations: 0.9707 MB / 358.5 MB, free: 3.969 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.1161, allocations: 455.8 kB / 358.9 MB, free: 3.496 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006068/0.1167, allocations: 266.2 kB / 359.2 MB, free: 3.227 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.1168, allocations: 4 kB / 359.2 MB, free: 3.223 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.1168, allocations: 38.56 kB / 359.2 MB, free: 3.176 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 1.874e-06/0.1168, allocations: 4 kB / 359.2 MB, free: 3.172 MB / 286.1 MB Notification: Performance of matching and sorting (n=38): time 0.004604/0.1214, allocations: 2.496 MB / 361.7 MB, free: 424 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.1215, allocations: 106.8 kB / 361.8 MB, free: 292 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.1217, allocations: 211.2 kB / 362 MB, free: 68 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.1217, allocations: 29.7 kB / 362 MB, free: 32 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.1218, allocations: 148.6 kB / 362.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.1219, allocations: 145.9 kB / 362.3 MB, free: 15.74 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.166e-05/0.122, allocations: 4 kB / 362.3 MB, free: 15.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.1221, allocations: 342.8 kB / 362.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002861/0.1224, allocations: 112.8 kB / 362.8 MB, free: 15.28 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003073/0.1227, allocations: 169.4 kB / 362.9 MB, free: 15.1 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000309/0.123, allocations: 138.5 kB / 363.1 MB, free: 14.96 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.123, allocations: 3.938 kB / 363.1 MB, free: 14.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007647/0.1238, allocations: 373.1 kB / 363.5 MB, free: 14.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.1238, allocations: 4 kB / 363.5 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.1238, allocations: 4 kB / 363.5 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.1238, allocations: 0 / 363.5 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000677/0.1245, allocations: 171.9 kB / 363.6 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.1245, allocations: 4 kB / 363.6 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.1248, allocations: 24.92 kB / 363.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.1248, allocations: 12 kB / 363.7 MB, free: 14.38 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001361/0.1249, allocations: 157.7 kB / 363.8 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.234e-05/0.125, allocations: 31.62 kB / 363.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.537e-05/0.1251, allocations: 33.52 kB / 363.9 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1251, allocations: 4 kB / 363.9 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.1251, allocations: 4 kB / 363.9 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.1251, allocations: 0 / 363.9 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002237/0.1274, allocations: 1.408 MB / 365.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1274, allocations: 4.031 kB / 365.3 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008365/0.1282, allocations: 211.8 kB / 365.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.473e-06/0.1283, allocations: 4 kB / 365.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.788e-05/0.1283, allocations: 8 kB / 365.5 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.624e-06/0.1283, allocations: 11.92 kB / 365.5 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.1283, allocations: 4 kB / 365.5 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/0.1302, allocations: 1.042 MB / 366.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.1304, allocations: 136.7 kB / 366.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.845e-05/0.1304, allocations: 12 kB / 366.7 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004123/0.1309, allocations: 63.94 kB / 366.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.002e-05/0.131, allocations: 31.95 kB / 366.8 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-05/0.131, allocations: 19.98 kB / 366.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001403/0.1311, allocations: 148.6 kB / 367 MB, free: 10.89 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1311, allocations: 4 kB / 367 MB, free: 10.89 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004723/0.1316, allocations: 80 kB / 367.1 MB, free: 10.81 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000123/0.1318, allocations: 116.8 kB / 367.2 MB, free: 10.69 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009404/0.1327, allocations: 398.6 kB / 367.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1327, allocations: 0 / 367.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006689/0.1334, allocations: 284 kB / 367.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000714/0.1341, allocations: 64.86 kB / 367.9 MB, free: 9.957 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004844/0.139, allocations: 1.751 MB / 369.7 MB, free: 8.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.1393, allocations: 0.7724 MB / 370.4 MB, free: 7.359 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001685/0.1395, allocations: 34.97 kB / 370.5 MB, free: 7.324 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.1396, allocations: 35.42 kB / 370.5 MB, free: 7.289 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1396, allocations: 0 / 370.5 MB, free: 7.289 MB / 302.1 MB Notification: Performance of Templates: time 0.006954/0.1466, allocations: 3.714 MB / 374.2 MB, free: 3.602 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/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