Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001093/0.001093, allocations: 103.3 kB / 18.35 MB, free: 4.645 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.001125/0.001125, allocations: 192 kB / 19.29 MB, free: 3.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.311/1.311, allocations: 205.1 MB / 225.2 MB, free: 12.27 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 51.92 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08197/0.08319, allocations: 46.64 MB / 328.7 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003689/0.0869, allocations: 2.424 MB / 331.2 MB, free: 1.305 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001641/0.08857, allocations: 0.7921 MB / 332 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002466/0.08884, allocations: 4 kB / 332 MB, free: 0.5039 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001967/0.08907, allocations: 35.59 kB / 332 MB, free: 480 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003292/0.08941, allocations: 103.1 kB / 332.1 MB, free: 376 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004339/0.08985, allocations: 127.8 kB / 332.2 MB, free: 248 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006094/0.09047, allocations: 466.2 kB / 332.7 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000197/0.09068, allocations: 88.86 kB / 332.8 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002635/0.09095, allocations: 179.4 kB / 332.9 MB, free: 15.52 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002583/0.09122, allocations: 211.2 kB / 333.1 MB, free: 15.31 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.836e-05/0.09129, allocations: 36 kB / 333.2 MB, free: 15.28 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.396e-05/0.09136, allocations: 43.94 kB / 333.2 MB, free: 15.23 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.485e-05/0.09145, allocations: 83.78 kB / 333.3 MB, free: 15.15 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001676/0.09162, allocations: 179.2 kB / 333.5 MB, free: 14.98 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003905/0.09202, allocations: 410.6 kB / 333.9 MB, free: 14.57 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.09203, allocations: 4 kB / 333.9 MB, free: 14.57 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.09204, allocations: 0 / 333.9 MB, free: 14.57 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.433e-05/0.09206, allocations: 0 / 333.9 MB, free: 14.57 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.001605/0.09367, allocations: 0.6822 MB / 334.6 MB, free: 13.84 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.09371, allocations: 12.03 kB / 334.6 MB, free: 13.83 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.352e-05/0.09381, allocations: 36.56 kB / 334.6 MB, free: 13.79 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004077/0.09423, allocations: 275.5 kB / 334.9 MB, free: 13.48 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/0.09435, allocations: 84.27 kB / 335 MB, free: 13.39 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.646e-05/0.09443, allocations: 31.91 kB / 335 MB, free: 13.36 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008496/0.09528, allocations: 375.2 kB / 335.4 MB, free: 12.98 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.09532, allocations: 7.984 kB / 335.4 MB, free: 12.97 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.966e-05/0.09536, allocations: 8 kB / 335.4 MB, free: 12.96 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.09538, allocations: 8 kB / 335.4 MB, free: 12.96 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.09653, allocations: 391.5 kB / 335.8 MB, free: 12.57 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/0.09785, allocations: 0.9621 MB / 336.7 MB, free: 11.55 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.09886, allocations: 403.5 kB / 337.1 MB, free: 11.13 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005853/0.09946, allocations: 222.4 kB / 337.3 MB, free: 10.9 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.0995, allocations: 7.984 kB / 337.3 MB, free: 10.89 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.09953, allocations: 38.5 kB / 337.4 MB, free: 10.85 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 1.553e-06/0.09954, allocations: 0 / 337.4 MB, free: 10.85 MB / 286.1 MB Notification: Performance of matching and sorting (n=38): time 0.004561/0.1041, allocations: 2.328 MB / 339.7 MB, free: 8.254 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/0.1042, allocations: 106.8 kB / 339.8 MB, free: 8.125 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/0.1044, allocations: 203.2 kB / 340 MB, free: 7.914 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.014e-05/0.1044, allocations: 33.7 kB / 340 MB, free: 7.875 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.266e-05/0.1045, allocations: 144.6 kB / 340.2 MB, free: 7.73 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.1046, allocations: 149.9 kB / 340.3 MB, free: 7.582 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.1048, allocations: 70.11 kB / 340.4 MB, free: 7.508 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.1049, allocations: 342.8 kB / 340.7 MB, free: 7.164 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003055/0.1052, allocations: 104.8 kB / 340.8 MB, free: 7.062 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003337/0.1056, allocations: 173.4 kB / 341 MB, free: 6.871 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006263/0.1062, allocations: 283 kB / 341.3 MB, free: 6.578 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1062, allocations: 0 / 341.3 MB, free: 6.578 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008015/0.107, allocations: 378.8 kB / 341.7 MB, free: 6.203 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.107, allocations: 4 kB / 341.7 MB, free: 6.199 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1071, allocations: 0 / 341.7 MB, free: 6.199 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.1071, allocations: 4 kB / 341.7 MB, free: 6.195 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006864/0.1078, allocations: 151.8 kB / 341.8 MB, free: 6.047 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.1078, allocations: 4 kB / 341.8 MB, free: 6.043 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002379/0.108, allocations: 27.97 kB / 341.8 MB, free: 6.016 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-05/0.1081, allocations: 16 kB / 341.9 MB, free: 6 MB / 286.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.0001385/0.1082, allocations: 141.8 kB / 342 MB, free: 5.852 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.557e-05/0.1083, allocations: 35.5 kB / 342 MB, free: 5.816 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.209e-05/0.1084, allocations: 33.52 kB / 342.1 MB, free: 5.781 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1084, allocations: 8 kB / 342.1 MB, free: 5.773 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.1084, allocations: 0.9375 kB / 342.1 MB, free: 5.773 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1084, allocations: 0 / 342.1 MB, free: 5.773 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002169/0.1106, allocations: 1.315 MB / 343.4 MB, free: 4.363 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.1106, allocations: 8.188 kB / 343.4 MB, free: 4.355 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008026/0.1114, allocations: 163.9 kB / 343.6 MB, free: 4.195 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.1115, allocations: 11.94 kB / 343.6 MB, free: 4.184 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.257e-05/0.1115, allocations: 23.92 kB / 343.6 MB, free: 4.16 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.1115, allocations: 4 kB / 343.6 MB, free: 4.156 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.1115, allocations: 0 / 343.6 MB, free: 4.156 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001823/0.1133, allocations: 0.9515 MB / 344.5 MB, free: 3.168 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.1135, allocations: 132.8 kB / 344.7 MB, free: 3.02 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.967e-05/0.1136, allocations: 11.94 kB / 344.7 MB, free: 3.008 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004114/0.114, allocations: 47.94 kB / 344.7 MB, free: 2.961 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.505e-05/0.1141, allocations: 39.89 kB / 344.8 MB, free: 2.922 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.718e-05/0.1141, allocations: 15.98 kB / 344.8 MB, free: 2.906 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001209/0.1142, allocations: 152.6 kB / 344.9 MB, free: 2.758 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1142, allocations: 0 / 344.9 MB, free: 2.758 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004323/0.1147, allocations: 84 kB / 345 MB, free: 2.676 MB / 286.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.0001136/0.1148, allocations: 103.2 kB / 345.1 MB, free: 2.566 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009474/0.1158, allocations: 372.1 kB / 345.5 MB, free: 2.203 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.1158, allocations: 4.188 kB / 345.5 MB, free: 2.199 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006347/0.1164, allocations: 244.5 kB / 345.7 MB, free: 1.961 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000684/0.1171, allocations: 85.64 kB / 345.8 MB, free: 1.879 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004647/0.1218, allocations: 1.425 MB / 347.2 MB, free: 412 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.1221, allocations: 0.7643 MB / 348 MB, free: 15.61 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001679/0.1223, allocations: 46.89 kB / 348 MB, free: 15.57 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.1224, allocations: 35.42 kB / 348.1 MB, free: 15.53 MB / 302.1 MB Notification: Performance of SimCode: time 7.81e-07/0.1224, allocations: 3.938 kB / 348.1 MB, free: 15.53 MB / 302.1 MB Notification: Performance of Templates: time 0.007686/0.1301, allocations: 4.266 MB / 352.3 MB, free: 11.26 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches