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.001194/0.001194, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00125/0.00125, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 59.28 kB / 308.4 MB, free: 15.93 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09145/0.09261, allocations: 50.53 MB / 358.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003267/0.0959, allocations: 2.445 MB / 361.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.09723, allocations: 0.7756 MB / 362.1 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.09737, allocations: 7.938 kB / 362.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.09756, allocations: 39.58 kB / 362.2 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001979/0.09776, allocations: 107.1 kB / 362.3 MB, free: 9.996 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003418/0.09811, allocations: 126.8 kB / 362.4 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004133/0.09853, allocations: 474.1 kB / 362.9 MB, free: 9.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.09873, allocations: 94.44 kB / 363 MB, free: 9.316 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000217/0.09896, allocations: 183.5 kB / 363.1 MB, free: 9.137 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002344/0.09921, allocations: 215.2 kB / 363.3 MB, free: 8.926 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.453e-05/0.09927, allocations: 36 kB / 363.4 MB, free: 8.891 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.715e-05/0.09934, allocations: 40 kB / 363.4 MB, free: 8.852 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.383e-05/0.09942, allocations: 75.75 kB / 363.5 MB, free: 8.777 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001633/0.09959, allocations: 183.2 kB / 363.7 MB, free: 8.598 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003622/0.09995, allocations: 406.7 kB / 364.1 MB, free: 8.199 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.09997, allocations: 0 / 364.1 MB, free: 8.199 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.09998, allocations: 0 / 364.1 MB, free: 8.199 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.09999, allocations: 0 / 364.1 MB, free: 8.199 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.001461/0.1015, allocations: 0.6861 MB / 364.8 MB, free: 7.465 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.1015, allocations: 11.97 kB / 364.8 MB, free: 7.453 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.98e-05/0.1016, allocations: 36.56 kB / 364.8 MB, free: 7.418 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003772/0.102, allocations: 268.5 kB / 365.1 MB, free: 7.117 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/0.1021, allocations: 92.2 kB / 365.2 MB, free: 7.016 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.554e-05/0.1022, allocations: 31.91 kB / 365.2 MB, free: 6.984 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008462/0.103, allocations: 371.2 kB / 365.5 MB, free: 6.605 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.103, allocations: 8 kB / 365.6 MB, free: 6.598 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.227e-05/0.1031, allocations: 8 kB / 365.6 MB, free: 6.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.1031, allocations: 11.94 kB / 365.6 MB, free: 6.578 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.1042, allocations: 399.1 kB / 366 MB, free: 6.191 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/0.1055, allocations: 0.958 MB / 366.9 MB, free: 5.176 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009826/0.1065, allocations: 407.5 kB / 367.3 MB, free: 4.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005792/0.1071, allocations: 214.4 kB / 367.5 MB, free: 4.531 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.864e-05/0.1071, allocations: 12 kB / 367.5 MB, free: 4.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.1071, allocations: 34.5 kB / 367.6 MB, free: 4.477 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.663e-06/0.1072, allocations: 0 / 367.6 MB, free: 4.477 MB / 302.1 MB Notification: Performance of matching and sorting (n=38): time 0.004399/0.1116, allocations: 2.313 MB / 369.9 MB, free: 1.898 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.949e-05/0.1116, allocations: 106.8 kB / 370 MB, free: 1.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.1118, allocations: 207.2 kB / 370.2 MB, free: 1.551 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.1119, allocations: 33.7 kB / 370.2 MB, free: 1.512 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.909e-05/0.112, allocations: 144.6 kB / 370.4 MB, free: 1.367 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.535e-05/0.1121, allocations: 145.9 kB / 370.5 MB, free: 1.223 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.1122, allocations: 74.05 kB / 370.6 MB, free: 1.145 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.1123, allocations: 338.8 kB / 370.9 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000296/0.1126, allocations: 108.8 kB / 371 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003173/0.1129, allocations: 173.4 kB / 371.2 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005908/0.1135, allocations: 288.1 kB / 371.5 MB, free: 220 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1135, allocations: 0 / 371.5 MB, free: 220 kB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.1657/0.2793, allocations: 367 kB / 371.8 MB, free: 20.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.357e-05/0.2794, allocations: 5.875 kB / 371.8 MB, free: 20.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.2794, allocations: 4.312 kB / 371.8 MB, free: 20.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.684e-05/0.2794, allocations: 3.656 kB / 371.8 MB, free: 20.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007399/0.2802, allocations: 148.3 kB / 372 MB, free: 20.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/0.2802, allocations: 4.406 kB / 372 MB, free: 20.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002839/0.2805, allocations: 27.11 kB / 372 MB, free: 20.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.58e-05/0.2805, allocations: 10.69 kB / 372 MB, free: 20.16 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.0001526/0.2807, allocations: 150.6 kB / 372.2 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.2808, allocations: 27.59 kB / 372.2 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.273e-05/0.2809, allocations: 35.61 kB / 372.2 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.2809, allocations: 3.75 kB / 372.2 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.2809, allocations: 1.375 kB / 372.2 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.2809, allocations: 2.016 kB / 372.2 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002422/0.2834, allocations: 1.325 MB / 373.6 MB, free: 19.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.2834, allocations: 7.875 kB / 373.6 MB, free: 19.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00081/0.2842, allocations: 170.9 kB / 373.7 MB, free: 19.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.2842, allocations: 3.969 kB / 373.7 MB, free: 19.45 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.959e-05/0.2842, allocations: 11.06 kB / 373.8 MB, free: 19.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.2842, allocations: 4.703 kB / 373.8 MB, free: 19.45 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.2843, allocations: 5.812 kB / 373.8 MB, free: 19.45 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001785/0.286, allocations: 0.9515 MB / 374.7 MB, free: 19.11 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.2862, allocations: 130.5 kB / 374.8 MB, free: 19.02 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.976e-05/0.2862, allocations: 12.03 kB / 374.9 MB, free: 19.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004131/0.2867, allocations: 46.48 kB / 374.9 MB, free: 19.02 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.2868, allocations: 39.72 kB / 374.9 MB, free: 19.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.079e-05/0.2868, allocations: 19.77 kB / 375 MB, free: 19.01 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000159/0.287, allocations: 154.7 kB / 375.1 MB, free: 18.93 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.287, allocations: 1.188 kB / 375.1 MB, free: 18.93 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004569/0.2875, allocations: 81.09 kB / 375.2 MB, free: 18.93 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.000131/0.2876, allocations: 109.3 kB / 375.3 MB, free: 18.84 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009035/0.2885, allocations: 379.7 kB / 375.7 MB, free: 18.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.2885, allocations: 1.375 kB / 375.7 MB, free: 18.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006042/0.2891, allocations: 245.9 kB / 375.9 MB, free: 18.69 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006804/0.2898, allocations: 80.95 kB / 376 MB, free: 18.66 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004428/0.2943, allocations: 1.419 MB / 377.4 MB, free: 18.05 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001913/0.2945, allocations: 0.7711 MB / 378.2 MB, free: 17.34 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001637/0.2946, allocations: 49.58 kB / 378.2 MB, free: 17.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.2948, allocations: 36.36 kB / 378.3 MB, free: 17.31 MB / 302.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2948, allocations: 0 / 378.3 MB, free: 17.31 MB / 302.1 MB Notification: Performance of Templates: time 0.00803/0.3028, allocations: 4.255 MB / 382.5 MB, free: 16.87 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 -s gbode -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