Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008831/0.0008831, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001138/0.001138, allocations: 159.4 kB / 24.91 MB, free: 8.719 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.003/1.003, allocations: 177 MB / 205.2 MB, free: 5.039 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.Backlash,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|elastoBacklash.phi_rel|elastoBacklash.w_rel|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash") translateModel(Modelica.Mechanics.Rotational.Examples.Backlash,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|elastoBacklash.phi_rel|elastoBacklash.w_rel|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 273.4 MB, free: 1.047 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024e-05/1.136e-05, allocations: 5.266 kB / 273.4 MB, free: 1.043 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002152/0.002163, allocations: 2.49 MB / 275.9 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008476/0.003011, allocations: 0.7753 MB / 276.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.543e-05/0.003096, allocations: 11.94 kB / 276.7 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.003201, allocations: 39.52 kB / 276.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001531/0.003354, allocations: 115 kB / 276.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002255/0.00358, allocations: 135.7 kB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002812/0.003861, allocations: 478 kB / 277.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.003969, allocations: 67.03 kB / 277.5 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002082/0.004178, allocations: 271.5 kB / 277.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.004336, allocations: 159.6 kB / 277.9 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.993e-05/0.004376, allocations: 40 kB / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.434e-05/0.00441, allocations: 36 kB / 278 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.213e-05/0.004462, allocations: 87.72 kB / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.849e-05/0.004541, allocations: 131.8 kB / 278.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.004765, allocations: 303 kB / 278.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.004767, allocations: 4 kB / 278.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.004767, allocations: 3.938 kB / 278.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.004771, allocations: 0 / 278.5 MB, free: 11.91 MB / 266.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.0006599/0.005431, allocations: 0.5583 MB / 279.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.941e-05/0.005461, allocations: 15.97 kB / 279.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.892e-05/0.00552, allocations: 48.91 kB / 279.1 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/0.005707, allocations: 181.9 kB / 279.3 MB, free: 11.06 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-05/0.005788, allocations: 131.9 kB / 279.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.491e-05/0.005823, allocations: 32.38 kB / 279.5 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002963/0.00612, allocations: 275.3 kB / 279.7 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.006135, allocations: 11.94 kB / 279.8 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.006153, allocations: 8 kB / 279.8 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.988e-06/0.006163, allocations: 8 kB / 279.8 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.006326, allocations: 119.8 kB / 279.9 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005819/0.006908, allocations: 0.6132 MB / 280.5 MB, free: 9.809 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.00711, allocations: 199.6 kB / 280.7 MB, free: 9.586 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.33e-05/0.007203, allocations: 86.55 kB / 280.8 MB, free: 9.492 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.007218, allocations: 7.984 kB / 280.8 MB, free: 9.484 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.007238, allocations: 38.56 kB / 280.8 MB, free: 9.438 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.163e-06/0.007239, allocations: 0 / 280.8 MB, free: 9.438 MB / 266.7 MB Notification: Performance of matching and sorting (n=38): time 0.001121/0.00836, allocations: 1.157 MB / 282 MB, free: 8.133 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.008398, allocations: 106.8 kB / 282.1 MB, free: 8.004 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.387e-05/0.008491, allocations: 190.8 kB / 282.3 MB, free: 7.805 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.008511, allocations: 37.7 kB / 282.3 MB, free: 7.762 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.694e-05/0.008558, allocations: 136.7 kB / 282.4 MB, free: 7.625 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.464e-05/0.008622, allocations: 150.7 kB / 282.6 MB, free: 7.477 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.363e-05/0.008696, allocations: 74.16 kB / 282.7 MB, free: 7.398 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.459e-05/0.00877, allocations: 334.8 kB / 283 MB, free: 7.062 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.609e-05/0.008857, allocations: 48.97 kB / 283 MB, free: 7.012 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.94e-05/0.008926, allocations: 94.12 kB / 283.1 MB, free: 6.902 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.009061, allocations: 163.9 kB / 283.3 MB, free: 6.727 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.009062, allocations: 0 / 283.3 MB, free: 6.727 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0001872/0.009249, allocations: 188 kB / 283.5 MB, free: 6.543 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.009261, allocations: 7.984 kB / 283.5 MB, free: 6.535 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.009266, allocations: 4 kB / 283.5 MB, free: 6.531 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.009279, allocations: 15.97 kB / 283.5 MB, free: 6.516 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002999/0.009579, allocations: 132.9 kB / 283.6 MB, free: 6.387 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.009584, allocations: 7.984 kB / 283.6 MB, free: 6.379 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.622e-05/0.009661, allocations: 24 kB / 283.7 MB, free: 6.355 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.009669, allocations: 4 kB / 283.7 MB, free: 6.352 MB / 266.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.819e-05/0.009748, allocations: 137.7 kB / 283.8 MB, free: 6.207 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.8e-05/0.009806, allocations: 23.98 kB / 283.8 MB, free: 6.184 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.42e-05/0.00984, allocations: 33.45 kB / 283.9 MB, free: 6.148 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.009843, allocations: 4 kB / 283.9 MB, free: 6.145 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.009846, allocations: 7.938 kB / 283.9 MB, free: 6.137 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.009851, allocations: 3.984 kB / 283.9 MB, free: 6.133 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007133/0.01056, allocations: 0.8002 MB / 284.7 MB, free: 5.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.01057, allocations: 0 / 284.7 MB, free: 5.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003566/0.01092, allocations: 160 kB / 284.8 MB, free: 5.113 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.01093, allocations: 8 kB / 284.8 MB, free: 5.105 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.01094, allocations: 8 kB / 284.8 MB, free: 5.098 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.01095, allocations: 4 kB / 284.9 MB, free: 5.094 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.01095, allocations: 7.984 kB / 284.9 MB, free: 5.086 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003817/0.01133, allocations: 0.5615 MB / 285.4 MB, free: 4.484 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.661e-05/0.01139, allocations: 27.84 kB / 285.4 MB, free: 4.457 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.01141, allocations: 12 kB / 285.5 MB, free: 4.445 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.01158, allocations: 35.95 kB / 285.5 MB, free: 4.41 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.963e-05/0.01164, allocations: 43.81 kB / 285.5 MB, free: 4.367 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.01166, allocations: 15.98 kB / 285.6 MB, free: 4.352 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.488e-05/0.01169, allocations: 54.11 kB / 285.6 MB, free: 4.297 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01169, allocations: 4 kB / 285.6 MB, free: 4.293 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002275/0.01192, allocations: 80 kB / 285.7 MB, free: 4.215 MB / 266.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.794e-05/0.012, allocations: 92.34 kB / 285.8 MB, free: 4.113 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001938/0.01219, allocations: 169.6 kB / 285.9 MB, free: 3.945 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.0122, allocations: 4 kB / 285.9 MB, free: 3.941 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.01231, allocations: 129.1 kB / 286.1 MB, free: 3.812 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.01266, allocations: 98.53 kB / 286.2 MB, free: 3.723 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/0.01461, allocations: 1.041 MB / 287.2 MB, free: 2.633 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.111e-05/0.01468, allocations: 93.12 kB / 287.3 MB, free: 2.523 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.355e-05/0.01477, allocations: 38.97 kB / 287.3 MB, free: 2.484 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/0.01494, allocations: 119.3 kB / 287.5 MB, free: 2.367 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01494, allocations: 0 / 287.5 MB, free: 2.367 MB / 266.7 MB Notification: Performance of Templates: time 0.0938/0.1087, allocations: 4.968 MB / 292.4 MB, free: 26.22 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.701414386741817]