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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001327/0.001327, allocations: 176.8 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.729/1.729, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008768/0.0008768, allocations: 78.72 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.992e-05/1.993e-05, allocations: 4 kB / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1155, allocations: 47.59 MB / 363.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3538/0.4693, allocations: 77.52 MB / 440.6 MB, free: 2.074 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/0.4696, allocations: 67.03 kB / 440.7 MB, free: 2.039 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02235/0.492, allocations: 7.606 MB / 448.3 MB, free: 11.74 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4921, allocations: 4 kB / 448.3 MB, free: 11.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.881e-05/0.4921, allocations: 11.98 kB / 448.3 MB, free: 11.72 MB / 330.7 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.00127/0.4934, allocations: 0.6251 MB / 448.9 MB, free: 11.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.4934, allocations: 8.031 kB / 448.9 MB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.977e-05/0.4935, allocations: 39.62 kB / 449 MB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000345/0.4939, allocations: 244.5 kB / 449.2 MB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003757/0.4942, allocations: 131.8 kB / 449.3 MB, free: 10.63 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.932e-05/0.4943, allocations: 16 kB / 449.3 MB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005009/0.4948, allocations: 257.2 kB / 449.6 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004762/0.4953, allocations: 275.8 kB / 449.9 MB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/0.4953, allocations: 7.906 kB / 449.9 MB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.259e-05/0.4954, allocations: 4 kB / 449.9 MB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.4954, allocations: 8 kB / 449.9 MB, free: 10.22 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001277/0.4967, allocations: 0.918 MB / 450.8 MB, free: 9.418 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004377/0.4971, allocations: 298.5 kB / 451.1 MB, free: 9.188 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002229/0.4974, allocations: 155.1 kB / 451.2 MB, free: 9.078 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.082e-05/0.4974, allocations: 4 kB / 451.2 MB, free: 9.074 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.4974, allocations: 45.8 kB / 451.3 MB, free: 9.023 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 1.724e-06/0.4975, allocations: 0 / 451.3 MB, free: 9.023 MB / 330.7 MB Notification: Performance of matching and sorting (n=38): time 0.002245/0.4997, allocations: 1.745 MB / 453 MB, free: 7.211 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.197e-05/0.4998, allocations: 110.8 kB / 453.1 MB, free: 7.078 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.5, allocations: 165.2 kB / 453.3 MB, free: 6.93 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.151e-05/0.5, allocations: 25.7 kB / 453.3 MB, free: 6.898 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.076e-05/0.5001, allocations: 151.8 kB / 453.5 MB, free: 6.77 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.5002, allocations: 131.8 kB / 453.6 MB, free: 6.652 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.334e-05/0.5002, allocations: 3.125 kB / 453.6 MB, free: 6.652 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.5004, allocations: 336.6 kB / 453.9 MB, free: 6.324 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/0.5006, allocations: 112.8 kB / 454 MB, free: 6.262 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002373/0.5008, allocations: 177.5 kB / 454.2 MB, free: 6.121 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/0.501, allocations: 109.2 kB / 454.3 MB, free: 6.055 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.501, allocations: 0 / 454.3 MB, free: 6.055 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005251/0.5016, allocations: 335 kB / 454.7 MB, free: 5.805 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.5016, allocations: 12.09 kB / 454.7 MB, free: 5.793 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.5016, allocations: 0 / 454.7 MB, free: 5.793 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.5016, allocations: 4 kB / 454.7 MB, free: 5.789 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007321/0.5024, allocations: 166.9 kB / 454.8 MB, free: 5.629 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.5024, allocations: 0 / 454.8 MB, free: 5.629 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002266/0.5026, allocations: 23.98 kB / 454.9 MB, free: 5.605 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/0.5027, allocations: 11.94 kB / 454.9 MB, free: 5.598 MB / 330.7 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.0001015/0.5028, allocations: 120.8 kB / 455 MB, free: 5.473 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.742e-05/0.5029, allocations: 27.41 kB / 455 MB, free: 5.449 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.014e-05/0.5029, allocations: 27.59 kB / 455 MB, free: 5.434 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.5029, allocations: 7.938 kB / 455 MB, free: 5.426 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.503, allocations: 4 kB / 455.1 MB, free: 5.422 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.503, allocations: 3.984 kB / 455.1 MB, free: 5.418 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/0.5044, allocations: 1.126 MB / 456.2 MB, free: 4.395 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.5044, allocations: 0 / 456.2 MB, free: 4.395 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008995/0.5053, allocations: 211 kB / 456.4 MB, free: 4.191 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/0.5053, allocations: 7.984 kB / 456.4 MB, free: 4.184 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.929e-05/0.5053, allocations: 7.062 kB / 456.4 MB, free: 4.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.5053, allocations: 4 kB / 456.4 MB, free: 4.176 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/0.5054, allocations: 8.094 kB / 456.4 MB, free: 4.168 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008698/0.5062, allocations: 0.7954 MB / 457.2 MB, free: 3.426 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.5064, allocations: 127.2 kB / 457.3 MB, free: 3.297 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.633e-05/0.5064, allocations: 3.984 kB / 457.3 MB, free: 3.293 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004584/0.5069, allocations: 55.95 kB / 457.4 MB, free: 3.238 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.505e-05/0.507, allocations: 42.58 kB / 457.4 MB, free: 3.203 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-05/0.507, allocations: 15.62 kB / 457.4 MB, free: 3.191 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001056/0.5071, allocations: 135 kB / 457.6 MB, free: 3.074 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5072, allocations: 0 / 457.6 MB, free: 3.074 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004614/0.5076, allocations: 72 kB / 457.7 MB, free: 3.004 MB / 330.7 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.0001548/0.5078, allocations: 107.1 kB / 457.8 MB, free: 2.891 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003819/0.5082, allocations: 237.7 kB / 458 MB, free: 2.73 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5082, allocations: 0 / 458 MB, free: 2.73 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002368/0.5084, allocations: 168.5 kB / 458.2 MB, free: 2.617 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000513/0.5089, allocations: 47.61 kB / 458.2 MB, free: 2.578 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004421/0.5134, allocations: 1.334 MB / 459.5 MB, free: 1.266 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003818/0.5138, allocations: 0.776 MB / 460.3 MB, free: 472 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000184/0.514, allocations: 35.28 kB / 460.3 MB, free: 436 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.5141, allocations: 31.42 kB / 460.4 MB, free: 404 kB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5141, allocations: 0 / 460.4 MB, free: 404 kB / 330.7 MB Notification: Performance of Templates: time 0.006913/0.521, allocations: 3.492 MB / 463.9 MB, free: 12.91 MB / 346.7 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 -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/jenkins/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_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches