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.001604/0.001604, allocations: 182.6 kB / 18.04 MB, free: 3.785 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.314/1.314, allocations: 205.4 MB / 224.2 MB, free: 9.051 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.0007298/0.0007299, allocations: 98 kB / 272.5 MB, free: 8.281 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003908/0.000391, allocations: 12 kB / 329.4 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.196, allocations: 47.57 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07967/0.2757, allocations: 78.1 MB / 455.1 MB, free: 2.469 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002001/0.276, allocations: 75.95 kB / 455.2 MB, free: 2.395 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02199/0.298, allocations: 7.657 MB / 462.8 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.298, allocations: 3.938 kB / 462.9 MB, free: 10.72 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.937e-05/0.298, allocations: 8 kB / 462.9 MB, free: 10.71 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.001227/0.2993, allocations: 0.6512 MB / 463.5 MB, free: 10.02 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.2993, allocations: 8.031 kB / 463.5 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.998e-05/0.2994, allocations: 32.66 kB / 463.5 MB, free: 9.977 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003098/0.2997, allocations: 270.7 kB / 463.8 MB, free: 9.676 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003291/0.3001, allocations: 135.9 kB / 463.9 MB, free: 9.531 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.165e-05/0.3002, allocations: 35.83 kB / 464 MB, free: 9.496 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008565/0.301, allocations: 411.2 kB / 464.4 MB, free: 9.078 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.301, allocations: 4 kB / 464.4 MB, free: 9.074 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.991e-05/0.3011, allocations: 8 kB / 464.4 MB, free: 9.066 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.3011, allocations: 8 kB / 464.4 MB, free: 9.059 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.3022, allocations: 455.6 kB / 464.8 MB, free: 8.613 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.3035, allocations: 0.979 MB / 465.8 MB, free: 7.574 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/0.3046, allocations: 459.7 kB / 466.3 MB, free: 7.098 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005956/0.3052, allocations: 258.4 kB / 466.5 MB, free: 6.836 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.3053, allocations: 11.92 kB / 466.5 MB, free: 6.824 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.3053, allocations: 34.56 kB / 466.6 MB, free: 6.781 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 1.704e-06/0.3053, allocations: 0 / 466.6 MB, free: 6.781 MB / 346.7 MB Notification: Performance of matching and sorting (n=38): time 0.004577/0.3099, allocations: 2.508 MB / 469.1 MB, free: 4.012 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.31, allocations: 118.7 kB / 469.2 MB, free: 3.871 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.3101, allocations: 199.2 kB / 469.4 MB, free: 3.664 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.285e-05/0.3102, allocations: 37.7 kB / 469.4 MB, free: 3.621 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.933e-05/0.3103, allocations: 144.6 kB / 469.6 MB, free: 3.477 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.783e-05/0.3104, allocations: 134.9 kB / 469.7 MB, free: 3.344 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.163e-05/0.3104, allocations: 12 kB / 469.7 MB, free: 3.332 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.3105, allocations: 334.8 kB / 470 MB, free: 2.996 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002907/0.3108, allocations: 112.8 kB / 470.1 MB, free: 2.887 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003078/0.3111, allocations: 173.4 kB / 470.3 MB, free: 2.695 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005964/0.3117, allocations: 296.3 kB / 470.6 MB, free: 2.391 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.3118, allocations: 0 / 470.6 MB, free: 2.391 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007561/0.3125, allocations: 376 kB / 471 MB, free: 2.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.3125, allocations: 10.12 kB / 471 MB, free: 2.012 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.3126, allocations: 0 / 471 MB, free: 2.012 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.3126, allocations: 7.938 kB / 471 MB, free: 2.004 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006476/0.3132, allocations: 175.8 kB / 471.2 MB, free: 1.832 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.3133, allocations: 4 kB / 471.2 MB, free: 1.828 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000216/0.3135, allocations: 35.97 kB / 471.2 MB, free: 1.793 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.3135, allocations: 8 kB / 471.2 MB, free: 1.785 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.0001374/0.3136, allocations: 141.8 kB / 471.4 MB, free: 1.637 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.167e-05/0.3137, allocations: 39.56 kB / 471.4 MB, free: 1.598 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.755e-05/0.3138, allocations: 29.52 kB / 471.4 MB, free: 1.574 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.3138, allocations: 7.938 kB / 471.4 MB, free: 1.566 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3138, allocations: 0 / 471.4 MB, free: 1.566 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.3138, allocations: 8 kB / 471.4 MB, free: 1.559 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002208/0.3161, allocations: 1.381 MB / 472.8 MB, free: 84 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.3161, allocations: 0 / 472.8 MB, free: 84 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008474/0.3169, allocations: 208 kB / 473 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.097e-06/0.3169, allocations: 4 kB / 473 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.645e-05/0.317, allocations: 15.98 kB / 473 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/0.317, allocations: 7.938 kB / 473 MB, free: 15.85 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.317, allocations: 7.938 kB / 473.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001908/0.3189, allocations: 1.046 MB / 474.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/0.3191, allocations: 124.8 kB / 474.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.648e-05/0.3192, allocations: 12 kB / 474.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000412/0.3196, allocations: 75.81 kB / 474.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.882e-05/0.3197, allocations: 35.94 kB / 474.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.603e-05/0.3197, allocations: 12 kB / 474.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001194/0.3198, allocations: 152.6 kB / 474.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3198, allocations: 0 / 474.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004708/0.3203, allocations: 80 kB / 474.6 MB, free: 14.26 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.0001393/0.3205, allocations: 123 kB / 474.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009464/0.3214, allocations: 399.5 kB / 475.1 MB, free: 13.74 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3214, allocations: 0 / 475.1 MB, free: 13.74 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006687/0.3221, allocations: 280.1 kB / 475.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007235/0.3229, allocations: 72.67 kB / 475.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004652/0.3275, allocations: 1.753 MB / 477.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.3279, allocations: 0.7685 MB / 478 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002639/0.3282, allocations: 38.95 kB / 478 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.3283, allocations: 31.42 kB / 478 MB, free: 10.72 MB / 362.7 MB Notification: Performance of SimCode: time 1.911e-05/0.3283, allocations: 0 / 478 MB, free: 10.72 MB / 362.7 MB Notification: Performance of Templates: time 0.1653/0.4937, allocations: 3.752 MB / 481.8 MB, free: 6.988 MB / 362.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/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_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches