Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.Backlash") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009398/0.0009399, allocations: 93.05 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001024/0.001024, allocations: 205 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 227.2 MB / 245.9 MB, free: 10.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003004/0.0003005, allocations: 4 kB / 306.6 MB, free: 1.445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1201, allocations: 51.48 MB / 358.1 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002305/0.1224, allocations: 1.927 MB / 360 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.1236, allocations: 0.7568 MB / 360.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.1237, allocations: 7.938 kB / 360.8 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.825e-05/0.1237, allocations: 23.78 kB / 360.8 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002275/0.124, allocations: 127.6 kB / 360.9 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.1242, allocations: 87.83 kB / 361 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000327/0.1246, allocations: 299.3 kB / 361.3 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.1247, allocations: 73.08 kB / 361.3 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.1249, allocations: 159.5 kB / 361.5 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001888/0.1251, allocations: 183.4 kB / 361.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.45e-05/0.1251, allocations: 23.94 kB / 361.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.69e-05/0.1252, allocations: 20 kB / 361.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.592e-05/0.1253, allocations: 59.8 kB / 361.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.069e-05/0.1253, allocations: 81.58 kB / 361.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002581/0.1256, allocations: 295.5 kB / 362.2 MB, free: 9.836 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1256, allocations: 0 / 362.2 MB, free: 9.836 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1256, allocations: 3.938 kB / 362.2 MB, free: 9.832 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.1256, allocations: 0 / 362.2 MB, free: 9.832 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.001385/0.127, allocations: 0.6628 MB / 362.8 MB, free: 9.121 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.127, allocations: 8.031 kB / 362.8 MB, free: 9.113 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.509e-05/0.1271, allocations: 39.55 kB / 362.9 MB, free: 9.074 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002992/0.1274, allocations: 266.3 kB / 363.1 MB, free: 8.773 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000371/0.1278, allocations: 131.9 kB / 363.3 MB, free: 8.633 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.707e-05/0.1279, allocations: 31.95 kB / 363.3 MB, free: 8.602 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008725/0.1288, allocations: 404 kB / 363.7 MB, free: 8.191 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.1288, allocations: 7.906 kB / 363.7 MB, free: 8.184 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.611e-05/0.1288, allocations: 12 kB / 363.7 MB, free: 8.172 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.1289, allocations: 8 kB / 363.7 MB, free: 8.164 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/0.1301, allocations: 464.9 kB / 364.2 MB, free: 7.715 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.1314, allocations: 0.9784 MB / 365.1 MB, free: 6.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.1325, allocations: 451.5 kB / 365.6 MB, free: 6.211 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.1325, allocations: 4 kB / 365.6 MB, free: 6.207 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.1325, allocations: 42.94 kB / 365.6 MB, free: 6.156 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.623e-06/0.1326, allocations: 0 / 365.6 MB, free: 6.156 MB / 302.1 MB Notification: Performance of matching and sorting (n=38): time 0.004887/0.1374, allocations: 2.504 MB / 368.1 MB, free: 3.391 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.34e-05/0.1375, allocations: 114.8 kB / 368.2 MB, free: 3.254 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.1377, allocations: 207.1 kB / 368.4 MB, free: 3.039 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/0.1378, allocations: 29.7 kB / 368.5 MB, free: 3.004 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.048e-05/0.1379, allocations: 156.5 kB / 368.6 MB, free: 2.848 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.753e-05/0.138, allocations: 138 kB / 368.8 MB, free: 2.711 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.168e-05/0.138, allocations: 4 kB / 368.8 MB, free: 2.707 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.1381, allocations: 338.8 kB / 369.1 MB, free: 2.367 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003224/0.1385, allocations: 116.8 kB / 369.2 MB, free: 2.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003233/0.1388, allocations: 169.4 kB / 369.4 MB, free: 2.066 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003678/0.1392, allocations: 126.2 kB / 369.5 MB, free: 1.945 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1392, allocations: 0 / 369.5 MB, free: 1.945 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007795/0.14, allocations: 383.4 kB / 369.9 MB, free: 1.566 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.14, allocations: 4 kB / 369.9 MB, free: 1.562 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.14, allocations: 0 / 369.9 MB, free: 1.562 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.14, allocations: 4 kB / 369.9 MB, free: 1.559 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007269/0.1408, allocations: 171.9 kB / 370 MB, free: 1.391 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.1408, allocations: 7.938 kB / 370.1 MB, free: 1.383 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002388/0.141, allocations: 35.92 kB / 370.1 MB, free: 1.348 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.1411, allocations: 12 kB / 370.1 MB, free: 1.336 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.0001603/0.1412, allocations: 141.8 kB / 370.2 MB, free: 1.188 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.044e-05/0.1413, allocations: 27.72 kB / 370.3 MB, free: 1.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.494e-05/0.1414, allocations: 33.52 kB / 370.3 MB, free: 1.125 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.1414, allocations: 4 kB / 370.3 MB, free: 1.121 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.1414, allocations: 0 / 370.3 MB, free: 1.121 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.1414, allocations: 12.92 kB / 370.3 MB, free: 1.109 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1528/0.2943, allocations: 1.386 MB / 371.7 MB, free: 19.33 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.2943, allocations: 6.531 kB / 371.7 MB, free: 19.33 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009375/0.2953, allocations: 203.5 kB / 371.9 MB, free: 19.33 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.083e-05/0.2953, allocations: 7.672 kB / 371.9 MB, free: 19.33 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-05/0.2953, allocations: 13.64 kB / 371.9 MB, free: 19.33 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.039e-05/0.2954, allocations: 11.48 kB / 371.9 MB, free: 19.33 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.2954, allocations: 3.047 kB / 371.9 MB, free: 19.33 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002119/0.2975, allocations: 1.142 MB / 373.1 MB, free: 18.87 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.2976, allocations: 131.2 kB / 373.2 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.121e-05/0.2977, allocations: 11.55 kB / 373.2 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004437/0.2982, allocations: 61.59 kB / 373.3 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.2983, allocations: 42.75 kB / 373.3 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-05/0.2983, allocations: 15.27 kB / 373.3 MB, free: 18.77 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001354/0.2985, allocations: 145.7 kB / 373.5 MB, free: 18.7 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.2985, allocations: 5.406 kB / 373.5 MB, free: 18.7 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004943/0.299, allocations: 82.88 kB / 373.6 MB, free: 18.7 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.0001226/0.2991, allocations: 111 kB / 373.7 MB, free: 18.6 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001013/0.3001, allocations: 401.6 kB / 374.1 MB, free: 18.58 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3001, allocations: 0.9062 kB / 374.1 MB, free: 18.58 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007445/0.3009, allocations: 282.7 kB / 374.3 MB, free: 18.56 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005423/0.3014, allocations: 59.58 kB / 374.4 MB, free: 18.55 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004968/0.3064, allocations: 1.741 MB / 376.1 MB, free: 17.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.3067, allocations: 0.7742 MB / 376.9 MB, free: 17.14 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001869/0.3069, allocations: 37.48 kB / 377 MB, free: 17.13 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.307, allocations: 33.31 kB / 377 MB, free: 17.12 MB / 302.1 MB Notification: Performance of SimCode: time 5.41e-07/0.307, allocations: 0 / 377 MB, free: 17.12 MB / 302.1 MB Notification: Performance of Templates: time 0.007805/0.3148, allocations: 3.714 MB / 380.7 MB, free: 16.86 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches