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.0009393/0.0009392, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.333/1.333, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.0007276/0.0007276, allocations: 94.33 kB / 271.9 MB, free: 8.266 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003093/0.0003093, allocations: 12 kB / 328.2 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2196, allocations: 47.57 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08511/0.3048, allocations: 78.1 MB / 453.8 MB, free: 2.543 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002156/0.305, allocations: 67.97 kB / 453.9 MB, free: 2.477 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0217/0.3267, allocations: 7.665 MB / 461.5 MB, free: 10.8 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3268, allocations: 0 / 461.5 MB, free: 10.8 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.66e-05/0.3268, allocations: 8 kB / 461.6 MB, free: 10.79 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.001275/0.3281, allocations: 0.6434 MB / 462.2 MB, free: 10.1 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.3282, allocations: 16.03 kB / 462.2 MB, free: 10.08 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.165e-05/0.3283, allocations: 32.64 kB / 462.2 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003331/0.3286, allocations: 266.7 kB / 462.5 MB, free: 9.754 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003398/0.3289, allocations: 131.9 kB / 462.6 MB, free: 9.613 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.218e-05/0.329, allocations: 35.84 kB / 462.7 MB, free: 9.578 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009135/0.3299, allocations: 407.2 kB / 463.1 MB, free: 9.164 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/0.33, allocations: 11.92 kB / 463.1 MB, free: 9.152 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.688e-05/0.33, allocations: 15.94 kB / 463.1 MB, free: 9.137 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.33, allocations: 4 kB / 463.1 MB, free: 9.133 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.3312, allocations: 455.6 kB / 463.5 MB, free: 8.688 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.3325, allocations: 0.9751 MB / 464.5 MB, free: 7.656 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/0.3336, allocations: 451.8 kB / 465 MB, free: 7.188 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006135/0.3342, allocations: 258.4 kB / 465.2 MB, free: 6.926 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.3343, allocations: 11.92 kB / 465.2 MB, free: 6.914 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.3343, allocations: 42.56 kB / 465.3 MB, free: 6.863 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 2.264e-06/0.3343, allocations: 4 kB / 465.3 MB, free: 6.859 MB / 346.7 MB Notification: Performance of matching and sorting (n=38): time 0.004737/0.339, allocations: 2.508 MB / 467.8 MB, free: 4.09 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.437e-05/0.3391, allocations: 114.8 kB / 467.9 MB, free: 3.953 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/0.3394, allocations: 199.2 kB / 468.1 MB, free: 3.746 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.263e-05/0.3394, allocations: 34.08 kB / 468.1 MB, free: 3.707 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.291e-05/0.3395, allocations: 144.6 kB / 468.3 MB, free: 3.562 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.739e-05/0.3396, allocations: 138 kB / 468.4 MB, free: 3.426 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.56e-05/0.3396, allocations: 8 kB / 468.4 MB, free: 3.418 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.3398, allocations: 342.8 kB / 468.7 MB, free: 3.074 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002902/0.3401, allocations: 112.8 kB / 468.8 MB, free: 2.965 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003269/0.3404, allocations: 173.4 kB / 469 MB, free: 2.773 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006091/0.341, allocations: 296.6 kB / 469.3 MB, free: 2.469 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.341, allocations: 0 / 469.3 MB, free: 2.469 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007667/0.3418, allocations: 380.7 kB / 469.7 MB, free: 2.094 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.3418, allocations: 7.938 kB / 469.7 MB, free: 2.086 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3418, allocations: 4 kB / 469.7 MB, free: 2.082 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.3419, allocations: 4 kB / 469.7 MB, free: 2.078 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007002/0.3426, allocations: 163.9 kB / 469.9 MB, free: 1.918 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.3426, allocations: 8 kB / 469.9 MB, free: 1.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.3428, allocations: 27.97 kB / 469.9 MB, free: 1.883 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.3428, allocations: 16 kB / 469.9 MB, free: 1.867 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.0001513/0.343, allocations: 141.8 kB / 470 MB, free: 1.719 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.927e-05/0.3431, allocations: 35.56 kB / 470.1 MB, free: 1.684 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.735e-05/0.3432, allocations: 33.52 kB / 470.1 MB, free: 1.656 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.3432, allocations: 11.94 kB / 470.1 MB, free: 1.645 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.3432, allocations: 0 / 470.1 MB, free: 1.645 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.3432, allocations: 0 / 470.1 MB, free: 1.645 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002228/0.3454, allocations: 1.381 MB / 471.5 MB, free: 172 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.3455, allocations: 4 kB / 471.5 MB, free: 168 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008496/0.3463, allocations: 204 kB / 471.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.3463, allocations: 4 kB / 471.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.768e-05/0.3464, allocations: 23.98 kB / 471.7 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.3464, allocations: 3.938 kB / 471.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.3464, allocations: 7.938 kB / 471.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001938/0.3483, allocations: 1.046 MB / 472.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.3485, allocations: 128.8 kB / 472.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.601e-05/0.3486, allocations: 8 kB / 472.9 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004026/0.349, allocations: 67.88 kB / 473 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.651e-05/0.3491, allocations: 39.94 kB / 473 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.883e-05/0.3491, allocations: 16 kB / 473 MB, free: 14.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001312/0.3492, allocations: 148.6 kB / 473.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3493, allocations: 0 / 473.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004369/0.3497, allocations: 84.08 kB / 473.3 MB, free: 14.34 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.0001536/0.3499, allocations: 122.9 kB / 473.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009683/0.3508, allocations: 407.2 kB / 473.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3508, allocations: 0 / 473.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006562/0.3515, allocations: 280 kB / 474.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000718/0.3522, allocations: 64.55 kB / 474.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004912/0.3572, allocations: 1.782 MB / 475.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.3576, allocations: 0.7646 MB / 476.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001762/0.3578, allocations: 39.42 kB / 476.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.3578, allocations: 3.938 kB / 476.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of Templates: time 0.005933/0.3637, allocations: 3.816 MB / 480.5 MB, free: 6.992 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