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.001058/0.001058, allocations: 105.9 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001115/0.001115, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 60.23 kB / 306.9 MB, free: 0.6211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09108/0.09219, allocations: 50.53 MB / 357.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003294/0.09552, allocations: 2.442 MB / 359.9 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.09668, allocations: 0.7795 MB / 360.7 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.09681, allocations: 7.938 kB / 360.7 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001319/0.09694, allocations: 39.58 kB / 360.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001776/0.09713, allocations: 99.11 kB / 360.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002902/0.09743, allocations: 131.8 kB / 361 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003809/0.09781, allocations: 470.1 kB / 361.4 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.09798, allocations: 90.52 kB / 361.5 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000192/0.09818, allocations: 183.4 kB / 361.7 MB, free: 9.848 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002102/0.0984, allocations: 203.3 kB / 361.9 MB, free: 9.648 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.831e-05/0.09847, allocations: 36 kB / 361.9 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.772e-05/0.09854, allocations: 40 kB / 362 MB, free: 9.574 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.103e-05/0.09862, allocations: 87.67 kB / 362 MB, free: 9.488 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001564/0.09878, allocations: 179.3 kB / 362.2 MB, free: 9.312 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003521/0.09914, allocations: 410.9 kB / 362.6 MB, free: 8.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.09915, allocations: 0 / 362.6 MB, free: 8.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.09916, allocations: 0 / 362.6 MB, free: 8.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.09917, allocations: 0 / 362.6 MB, free: 8.91 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.001519/0.1007, allocations: 0.6822 MB / 363.3 MB, free: 8.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.1007, allocations: 12.03 kB / 363.3 MB, free: 8.168 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.035e-05/0.1008, allocations: 32.56 kB / 363.4 MB, free: 8.137 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003146/0.1011, allocations: 271.6 kB / 363.6 MB, free: 7.832 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003682/0.1015, allocations: 124.2 kB / 363.7 MB, free: 7.699 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.351e-05/0.1016, allocations: 31.91 kB / 363.8 MB, free: 7.668 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008519/0.1025, allocations: 383.2 kB / 364.1 MB, free: 7.277 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.1025, allocations: 3.938 kB / 364.1 MB, free: 7.273 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.471e-05/0.1025, allocations: 12 kB / 364.2 MB, free: 7.262 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.1025, allocations: 4 kB / 364.2 MB, free: 7.258 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.1037, allocations: 395.5 kB / 364.5 MB, free: 6.871 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.105, allocations: 0.9696 MB / 365.5 MB, free: 5.844 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.106, allocations: 407.5 kB / 365.9 MB, free: 5.418 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000602/0.1066, allocations: 218.4 kB / 366.1 MB, free: 5.195 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.1067, allocations: 4 kB / 366.1 MB, free: 5.191 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.1067, allocations: 38.56 kB / 366.2 MB, free: 5.145 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.453e-06/0.1067, allocations: 0 / 366.2 MB, free: 5.145 MB / 302.1 MB Notification: Performance of matching and sorting (n=38): time 0.004637/0.1113, allocations: 2.313 MB / 368.5 MB, free: 2.57 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.693e-05/0.1114, allocations: 110.8 kB / 368.6 MB, free: 2.438 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.1116, allocations: 203.5 kB / 368.8 MB, free: 2.223 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.1117, allocations: 37.7 kB / 368.8 MB, free: 2.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.979e-05/0.1117, allocations: 144.6 kB / 369 MB, free: 2.035 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.1119, allocations: 145.9 kB / 369.1 MB, free: 1.891 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.112, allocations: 70.06 kB / 369.2 MB, free: 1.816 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.1121, allocations: 342.8 kB / 369.5 MB, free: 1.473 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000306/0.1124, allocations: 108.8 kB / 369.6 MB, free: 1.367 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003342/0.1128, allocations: 169.4 kB / 369.8 MB, free: 1.184 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006409/0.1134, allocations: 292.1 kB / 370.1 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1134, allocations: 0 / 370.1 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000786/0.1142, allocations: 375.9 kB / 370.4 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.1142, allocations: 4 kB / 370.4 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.1143, allocations: 0 / 370.4 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.1143, allocations: 8.031 kB / 370.4 MB, free: 0.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006917/0.115, allocations: 147.8 kB / 370.6 MB, free: 364 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.115, allocations: 8 kB / 370.6 MB, free: 356 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002243/0.1152, allocations: 19.98 kB / 370.6 MB, free: 336 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/0.1153, allocations: 19.94 kB / 370.6 MB, free: 316 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.0001344/0.1154, allocations: 149.7 kB / 370.8 MB, free: 156 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.128e-05/0.1155, allocations: 31.66 kB / 370.8 MB, free: 124 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.866e-05/0.1156, allocations: 29.53 kB / 370.8 MB, free: 92 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1156, allocations: 8 kB / 370.9 MB, free: 84 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1156, allocations: 0 / 370.9 MB, free: 84 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.1156, allocations: 3.984 kB / 370.9 MB, free: 80 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1595/0.2751, allocations: 1.313 MB / 372.2 MB, free: 20.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/0.2752, allocations: 3.672 kB / 372.2 MB, free: 20.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009227/0.2761, allocations: 170.6 kB / 372.3 MB, free: 20.4 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-05/0.2761, allocations: 5.938 kB / 372.3 MB, free: 20.4 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.673e-05/0.2761, allocations: 11.03 kB / 372.4 MB, free: 20.4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.087e-06/0.2762, allocations: 4.859 kB / 372.4 MB, free: 20.4 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.2762, allocations: 6.25 kB / 372.4 MB, free: 20.39 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002067/0.2782, allocations: 0.9583 MB / 373.3 MB, free: 19.9 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/0.2784, allocations: 127.2 kB / 373.5 MB, free: 19.79 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.166e-05/0.2785, allocations: 9.828 kB / 373.5 MB, free: 19.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004185/0.2789, allocations: 46.59 kB / 373.5 MB, free: 19.79 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.279, allocations: 40.61 kB / 373.5 MB, free: 19.78 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.95e-05/0.279, allocations: 17.58 kB / 373.6 MB, free: 19.77 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001341/0.2792, allocations: 149.4 kB / 373.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2792, allocations: 1.969 kB / 373.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004791/0.2797, allocations: 82.94 kB / 373.8 MB, free: 19.67 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.0001201/0.2798, allocations: 115.5 kB / 373.9 MB, free: 19.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00111/0.2809, allocations: 382.1 kB / 374.3 MB, free: 19.48 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.2809, allocations: 1.5 kB / 374.3 MB, free: 19.48 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000659/0.2816, allocations: 249.5 kB / 374.5 MB, free: 19.42 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007606/0.2824, allocations: 80.58 kB / 374.6 MB, free: 19.39 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004972/0.2873, allocations: 1.427 MB / 376 MB, free: 18.77 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/0.2876, allocations: 0.7711 MB / 376.8 MB, free: 18.07 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002105/0.2878, allocations: 41.52 kB / 376.8 MB, free: 18.06 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.2879, allocations: 37.19 kB / 376.9 MB, free: 18.05 MB / 302.1 MB Notification: Performance of SimCode: time 7.81e-07/0.2879, allocations: 0 / 376.9 MB, free: 18.05 MB / 302.1 MB Notification: Performance of Templates: time 0.01002/0.298, allocations: 4.265 MB / 381.1 MB, free: 17.64 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches