Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Mechanics.Rotational.Examples.Backlash") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002198/0.002198, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.25/2.25, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001098/0.001098, allocations: 85.56 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.311e-05/2.312e-05, allocations: 4 kB / 314.8 MB, free: 9.172 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3417, allocations: 47.56 MB / 362.3 MB, free: 45.83 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1267/0.4684, allocations: 77.3 MB / 439.6 MB, free: 9.012 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/0.4687, allocations: 72.52 kB / 439.7 MB, free: 8.941 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03799/0.5067, allocations: 7.603 MB / 447.3 MB, free: 1.391 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.5068, allocations: 4 kB / 447.3 MB, free: 1.387 MB / 331.1 MB Notification: Performance of Transformations before backend: time 2.591e-05/0.5068, allocations: 12 kB / 447.3 MB, free: 1.375 MB / 331.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.002082/0.5089, allocations: 0.6178 MB / 447.9 MB, free: 0.7148 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.509, allocations: 16.03 kB / 447.9 MB, free: 0.6992 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.5091, allocations: 31.62 kB / 448 MB, free: 0.668 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004851/0.5096, allocations: 261 kB / 448.2 MB, free: 384 kB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005797/0.5102, allocations: 125.3 kB / 448.4 MB, free: 248 kB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.943e-05/0.5103, allocations: 12 kB / 448.4 MB, free: 236 kB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008305/0.5112, allocations: 257 kB / 448.6 MB, free: 15.98 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000765/0.5119, allocations: 279 kB / 448.9 MB, free: 15.69 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.815e-05/0.512, allocations: 7.906 kB / 448.9 MB, free: 15.68 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.37e-05/0.512, allocations: 0 / 448.9 MB, free: 15.68 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.5121, allocations: 8 kB / 448.9 MB, free: 15.68 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001988/0.5141, allocations: 0.9147 MB / 449.8 MB, free: 14.72 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007683/0.5149, allocations: 304.9 kB / 450.1 MB, free: 14.39 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003853/0.5153, allocations: 146.6 kB / 450.3 MB, free: 14.24 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.985e-05/0.5153, allocations: 7.984 kB / 450.3 MB, free: 14.23 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.5153, allocations: 42.5 kB / 450.3 MB, free: 14.18 MB / 347.1 MB Notification: Performance of pre-optimization done (n=32): time 2.856e-06/0.5154, allocations: 0 / 450.3 MB, free: 14.18 MB / 347.1 MB Notification: Performance of matching and sorting (n=38): time 0.00351/0.5189, allocations: 1.75 MB / 452.1 MB, free: 12.18 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.496e-05/0.519, allocations: 110.8 kB / 452.2 MB, free: 12.04 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/0.5192, allocations: 163.1 kB / 452.3 MB, free: 11.88 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 4.767e-05/0.5193, allocations: 25.7 kB / 452.4 MB, free: 11.85 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.5194, allocations: 207.4 kB / 452.6 MB, free: 11.64 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001599/0.5196, allocations: 134 kB / 452.7 MB, free: 11.51 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.462e-05/0.5197, allocations: 3.984 kB / 452.7 MB, free: 11.51 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.5198, allocations: 326.8 kB / 453 MB, free: 11.18 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003732/0.5202, allocations: 123.1 kB / 453.1 MB, free: 11.06 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004063/0.5206, allocations: 176.6 kB / 453.3 MB, free: 10.87 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003261/0.521, allocations: 108.1 kB / 453.4 MB, free: 10.77 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.521, allocations: 0 / 453.4 MB, free: 10.77 MB / 347.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009284/0.5219, allocations: 327.1 kB / 453.7 MB, free: 10.44 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.522, allocations: 12 kB / 453.7 MB, free: 10.43 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.522, allocations: 0 / 453.7 MB, free: 10.43 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.483e-05/0.522, allocations: 4 kB / 453.7 MB, free: 10.43 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/0.5234, allocations: 163.8 kB / 453.9 MB, free: 10.27 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.5234, allocations: 1.797 kB / 453.9 MB, free: 10.27 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004564/0.5239, allocations: 23.98 kB / 453.9 MB, free: 10.24 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.492e-05/0.524, allocations: 12 kB / 453.9 MB, free: 10.23 MB / 347.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 () * 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.000161/0.5241, allocations: 124.7 kB / 454.1 MB, free: 10.1 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.5243, allocations: 27.72 kB / 454.1 MB, free: 10.07 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.691e-05/0.5244, allocations: 25.97 kB / 454.1 MB, free: 10.05 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/0.5244, allocations: 4 kB / 454.1 MB, free: 10.04 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/0.5244, allocations: 8 kB / 454.1 MB, free: 10.04 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.5245, allocations: 3.984 kB / 454.1 MB, free: 10.03 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0024/0.5269, allocations: 1.13 MB / 455.3 MB, free: 8.824 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.5269, allocations: 0 / 455.3 MB, free: 8.824 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001765/0.5287, allocations: 211.9 kB / 455.5 MB, free: 8.617 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-05/0.5287, allocations: 4 kB / 455.5 MB, free: 8.613 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.906e-05/0.5288, allocations: 7.984 kB / 455.5 MB, free: 8.605 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.965e-06/0.5288, allocations: 8 kB / 455.5 MB, free: 8.598 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/0.5288, allocations: 4 kB / 455.5 MB, free: 8.594 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/0.5302, allocations: 0.7971 MB / 456.3 MB, free: 7.711 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002149/0.5305, allocations: 124.8 kB / 456.4 MB, free: 7.57 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.611e-05/0.5306, allocations: 4 kB / 456.4 MB, free: 7.566 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007806/0.5314, allocations: 59.94 kB / 456.5 MB, free: 7.508 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/0.5315, allocations: 47.83 kB / 456.5 MB, free: 7.461 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-05/0.5316, allocations: 12 kB / 456.5 MB, free: 7.449 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0001518/0.5317, allocations: 127 kB / 456.7 MB, free: 7.324 MB / 347.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5318, allocations: 0 / 456.7 MB, free: 7.324 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0006585/0.5324, allocations: 76 kB / 456.7 MB, free: 7.25 MB / 347.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 () * 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.0001956/0.5326, allocations: 113.8 kB / 456.8 MB, free: 7.133 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.0006793/0.5333, allocations: 240.7 kB / 457.1 MB, free: 6.902 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.5333, allocations: 0 / 457.1 MB, free: 6.902 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004626/0.5338, allocations: 165 kB / 457.2 MB, free: 6.742 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007725/0.5346, allocations: 43.53 kB / 457.3 MB, free: 6.703 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008631/0.5433, allocations: 1.362 MB / 458.6 MB, free: 5.285 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004826/0.5438, allocations: 0.776 MB / 459.4 MB, free: 4.48 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002683/0.5441, allocations: 35.42 kB / 459.5 MB, free: 4.445 MB / 347.1 MB Notification: Performance of SimCode: time 1.032e-06/0.5441, allocations: 0 / 459.5 MB, free: 4.445 MB / 347.1 MB Notification: Performance of Templates: time 0.009982/0.5541, allocations: 3.659 MB / 463.1 MB, free: 0.8203 MB / 347.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches