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.001731/0.001731, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002195/0.002195, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.4 MB / 247.4 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 60.31 kB / 307.6 MB, free: 0.5625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09827/0.09949, allocations: 50.54 MB / 358.1 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.004362/0.1039, allocations: 2.452 MB / 360.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001681/0.1056, allocations: 0.764 MB / 361.4 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002818/0.1059, allocations: 11.94 kB / 361.4 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002062/0.1062, allocations: 39.59 kB / 361.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003882/0.1066, allocations: 103.1 kB / 361.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004615/0.1071, allocations: 131.7 kB / 361.6 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005528/0.1076, allocations: 466.2 kB / 362.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002144/0.1079, allocations: 94.48 kB / 362.2 MB, free: 9.957 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003375/0.1082, allocations: 179.5 kB / 362.4 MB, free: 9.781 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002903/0.1085, allocations: 211.2 kB / 362.6 MB, free: 9.574 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.324e-05/0.1086, allocations: 40 kB / 362.6 MB, free: 9.535 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.787e-05/0.1087, allocations: 36 kB / 362.6 MB, free: 9.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.962e-05/0.1088, allocations: 87.73 kB / 362.7 MB, free: 9.414 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001759/0.1089, allocations: 175.2 kB / 362.9 MB, free: 9.242 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003938/0.1093, allocations: 407 kB / 363.3 MB, free: 8.844 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.1093, allocations: 0 / 363.3 MB, free: 8.844 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1094, allocations: 7.938 kB / 363.3 MB, free: 8.836 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.1094, allocations: 0 / 363.3 MB, free: 8.836 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.001583/0.111, allocations: 0.6783 MB / 364 MB, free: 8.109 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.111, allocations: 8.031 kB / 364 MB, free: 8.102 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.1111, allocations: 36.56 kB / 364 MB, free: 8.066 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003402/0.1115, allocations: 271.6 kB / 364.3 MB, free: 7.762 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003779/0.1119, allocations: 128.2 kB / 364.4 MB, free: 7.625 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.895e-05/0.1119, allocations: 35.89 kB / 364.5 MB, free: 7.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000904/0.1128, allocations: 379.2 kB / 364.8 MB, free: 7.203 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.1129, allocations: 0 / 364.8 MB, free: 7.203 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.57e-05/0.1129, allocations: 12 kB / 364.8 MB, free: 7.191 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/0.1129, allocations: 4 kB / 364.8 MB, free: 7.188 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001217/0.1142, allocations: 399.1 kB / 365.2 MB, free: 6.801 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001395/0.1156, allocations: 0.9735 MB / 366.2 MB, free: 5.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.1166, allocations: 395.6 kB / 366.6 MB, free: 5.355 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006078/0.1172, allocations: 222.4 kB / 366.8 MB, free: 5.129 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.1173, allocations: 4 kB / 366.8 MB, free: 5.125 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.1173, allocations: 42.48 kB / 366.9 MB, free: 5.074 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.903e-06/0.1173, allocations: 4 kB / 366.9 MB, free: 5.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=38): time 0.004896/0.1222, allocations: 2.312 MB / 369.2 MB, free: 2.496 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.304e-05/0.1223, allocations: 106.8 kB / 369.3 MB, free: 2.367 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.1226, allocations: 199.2 kB / 369.5 MB, free: 2.156 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.1226, allocations: 37.7 kB / 369.5 MB, free: 2.113 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.1227, allocations: 152.6 kB / 369.7 MB, free: 1.961 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.1228, allocations: 134 kB / 369.8 MB, free: 1.828 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.123, allocations: 78.11 kB / 369.9 MB, free: 1.746 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.1231, allocations: 338.8 kB / 370.2 MB, free: 1.406 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003619/0.1235, allocations: 112.8 kB / 370.3 MB, free: 1.297 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003456/0.1238, allocations: 165.4 kB / 370.5 MB, free: 1.117 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000659/0.1245, allocations: 279.5 kB / 370.7 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.1245, allocations: 7.938 kB / 370.7 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008505/0.1254, allocations: 379.6 kB / 371.1 MB, free: 456 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.1254, allocations: 4 kB / 371.1 MB, free: 452 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.1254, allocations: 0 / 371.1 MB, free: 452 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.59e-05/0.1255, allocations: 4 kB / 371.1 MB, free: 448 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007491/0.1262, allocations: 143.9 kB / 371.3 MB, free: 304 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/0.1262, allocations: 7.938 kB / 371.3 MB, free: 296 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/0.1265, allocations: 31.97 kB / 371.3 MB, free: 264 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.832e-05/0.1266, allocations: 16 kB / 371.3 MB, free: 248 kB / 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.000193/0.1268, allocations: 145.7 kB / 371.5 MB, free: 92 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.1269, allocations: 31.66 kB / 371.5 MB, free: 60 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.867e-05/0.127, allocations: 37.52 kB / 371.5 MB, free: 20 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.127, allocations: 4 kB / 371.5 MB, free: 16 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.127, allocations: 4 kB / 371.5 MB, free: 12 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.127, allocations: 7.969 kB / 371.5 MB, free: 4 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.19/0.317, allocations: 1.313 MB / 372.9 MB, free: 19.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.317, allocations: 3.281 kB / 372.9 MB, free: 19.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009378/0.318, allocations: 171 kB / 373 MB, free: 19.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.414e-05/0.318, allocations: 5.625 kB / 373 MB, free: 19.84 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.234e-05/0.3181, allocations: 14.12 kB / 373 MB, free: 19.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-05/0.3181, allocations: 4.312 kB / 373.1 MB, free: 19.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.3181, allocations: 2.781 kB / 373.1 MB, free: 19.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002022/0.3201, allocations: 0.955 MB / 374 MB, free: 19.51 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.3203, allocations: 124.5 kB / 374.1 MB, free: 19.41 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.337e-05/0.3203, allocations: 12.45 kB / 374.1 MB, free: 19.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004184/0.3208, allocations: 47.27 kB / 374.2 MB, free: 19.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.3209, allocations: 43.81 kB / 374.2 MB, free: 19.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.723e-05/0.3209, allocations: 15.45 kB / 374.2 MB, free: 19.41 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001345/0.3211, allocations: 149.1 kB / 374.4 MB, free: 19.34 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.243e-06/0.3211, allocations: 0 / 374.4 MB, free: 19.34 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004639/0.3215, allocations: 87.12 kB / 374.5 MB, free: 19.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.0001215/0.3217, allocations: 110.1 kB / 374.6 MB, free: 19.25 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001181/0.3228, allocations: 381.1 kB / 375 MB, free: 19.21 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3229, allocations: 0 / 375 MB, free: 19.21 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006791/0.3235, allocations: 253.7 kB / 375.2 MB, free: 19.14 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007637/0.3243, allocations: 62.34 kB / 375.3 MB, free: 19.12 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005116/0.3294, allocations: 1.479 MB / 376.7 MB, free: 18.48 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.3298, allocations: 0.7679 MB / 377.5 MB, free: 17.78 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/0.3299, allocations: 37.97 kB / 377.5 MB, free: 17.77 MB / 302.1 MB Notification: Performance of SimCode: time 1.242e-06/0.3299, allocations: 0 / 377.5 MB, free: 17.77 MB / 302.1 MB Notification: Performance of Templates: time 0.007407/0.3374, allocations: 3.86 MB / 381.4 MB, free: 17.39 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/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_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches