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.001561/0.001561, allocations: 184 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.945/1.945, allocations: 205.4 MB / 222.5 MB, free: 9.133 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001169/0.001169, allocations: 96.66 kB / 270.9 MB, free: 8.395 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003885/0.0003887, allocations: 8 kB / 327 MB, free: 228 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3276, allocations: 47.57 MB / 374.5 MB, free: 45.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1246/0.4523, allocations: 78.05 MB / 452.6 MB, free: 2.734 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/0.4527, allocations: 63.97 kB / 452.6 MB, free: 2.672 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03892/0.4916, allocations: 7.672 MB / 460.3 MB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.816e-06/0.4917, allocations: 0 / 460.3 MB, free: 10.99 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.491e-05/0.4917, allocations: 8 kB / 460.3 MB, free: 10.98 MB / 346.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.002296/0.494, allocations: 0.6549 MB / 461 MB, free: 10.28 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.4941, allocations: 8.219 kB / 461 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001547/0.4942, allocations: 31.72 kB / 461 MB, free: 10.24 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004648/0.4947, allocations: 260.7 kB / 461.3 MB, free: 9.949 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006144/0.4954, allocations: 135.9 kB / 461.4 MB, free: 9.805 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.4955, allocations: 24 kB / 461.4 MB, free: 9.781 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/0.4972, allocations: 419.9 kB / 461.8 MB, free: 9.355 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.657e-05/0.4972, allocations: 11.89 kB / 461.8 MB, free: 9.344 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.242e-05/0.4973, allocations: 12 kB / 461.9 MB, free: 9.332 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.4973, allocations: 8 kB / 461.9 MB, free: 9.324 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002452/0.4998, allocations: 452.8 kB / 462.3 MB, free: 8.883 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002176/0.502, allocations: 0.9803 MB / 463.3 MB, free: 7.844 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002102/0.5042, allocations: 451.6 kB / 463.7 MB, free: 7.375 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.23e-05/0.5043, allocations: 11.92 kB / 463.7 MB, free: 7.363 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.961e-05/0.5043, allocations: 42.55 kB / 463.8 MB, free: 7.312 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 3.076e-06/0.5043, allocations: 0 / 463.8 MB, free: 7.312 MB / 346.7 MB Notification: Performance of matching and sorting (n=38): time 0.009071/0.5134, allocations: 2.508 MB / 466.3 MB, free: 4.543 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.373e-05/0.5136, allocations: 118.8 kB / 466.4 MB, free: 4.402 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002965/0.5139, allocations: 178.3 kB / 466.6 MB, free: 4.219 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.418e-05/0.5139, allocations: 30.08 kB / 466.6 MB, free: 4.184 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.5141, allocations: 207.1 kB / 466.8 MB, free: 3.98 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001718/0.5143, allocations: 126 kB / 466.9 MB, free: 3.855 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.975e-05/0.5143, allocations: 15.98 kB / 467 MB, free: 3.84 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.5145, allocations: 330.8 kB / 467.3 MB, free: 3.508 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005758/0.5151, allocations: 108.8 kB / 467.4 MB, free: 3.402 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006399/0.5157, allocations: 169.5 kB / 467.5 MB, free: 3.215 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006127/0.5164, allocations: 135.9 kB / 467.7 MB, free: 3.082 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.5164, allocations: 0 / 467.7 MB, free: 3.082 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001402/0.5178, allocations: 360.8 kB / 468 MB, free: 2.727 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.5178, allocations: 7.938 kB / 468 MB, free: 2.719 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.5179, allocations: 4 kB / 468 MB, free: 2.715 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.5179, allocations: 4 kB / 468 MB, free: 2.711 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/0.5193, allocations: 167.9 kB / 468.2 MB, free: 2.547 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.702e-05/0.5193, allocations: 7.953 kB / 468.2 MB, free: 2.539 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004412/0.5197, allocations: 27.98 kB / 468.2 MB, free: 2.512 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.282e-05/0.5198, allocations: 12 kB / 468.3 MB, free: 2.5 MB / 346.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002448/0.52, allocations: 145.8 kB / 468.4 MB, free: 2.348 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.5202, allocations: 31.62 kB / 468.4 MB, free: 2.316 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.482e-05/0.5203, allocations: 29.53 kB / 468.5 MB, free: 2.289 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.5203, allocations: 4 kB / 468.5 MB, free: 2.285 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.5203, allocations: 4 kB / 468.5 MB, free: 2.281 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/0.5204, allocations: 11.94 kB / 468.5 MB, free: 2.27 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004153/0.5245, allocations: 1.394 MB / 469.9 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/0.5246, allocations: 0 / 469.9 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001735/0.5263, allocations: 208 kB / 470.1 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.411e-05/0.5264, allocations: 4 kB / 470.1 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.708e-05/0.5264, allocations: 12 kB / 470.1 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.652e-06/0.5264, allocations: 4 kB / 470.1 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/0.5265, allocations: 7.938 kB / 470.1 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004073/0.5305, allocations: 1.149 MB / 471.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002794/0.5309, allocations: 128.8 kB / 471.4 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.284e-05/0.531, allocations: 11.95 kB / 471.4 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007904/0.5318, allocations: 59.95 kB / 471.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/0.5319, allocations: 39.94 kB / 471.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.681e-05/0.532, allocations: 15.98 kB / 471.5 MB, free: 15.04 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002005/0.5322, allocations: 148.6 kB / 471.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.5322, allocations: 4 kB / 471.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006525/0.5329, allocations: 88.09 kB / 471.7 MB, free: 14.8 MB / 362.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 () * 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 (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.0001908/0.5331, allocations: 111.3 kB / 471.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00192/0.535, allocations: 417.3 kB / 472.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.5351, allocations: 192 / 472.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001358/0.5364, allocations: 276 kB / 472.5 MB, free: 14.01 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008512/0.5373, allocations: 70.97 kB / 472.6 MB, free: 13.94 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/0.5473, allocations: 1.77 MB / 474.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004467/0.5478, allocations: 0.7763 MB / 475.1 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002691/0.5481, allocations: 39.42 kB / 475.2 MB, free: 11.28 MB / 362.7 MB Notification: Performance of SimCode: time 3.396e-06/0.5481, allocations: 0 / 475.2 MB, free: 11.28 MB / 362.7 MB Notification: Performance of Templates: time 0.009522/0.5577, allocations: 3.726 MB / 478.9 MB, free: 7.562 MB / 362.7 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