Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 167.9 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9612/0.9612, allocations: 177.1 MB / 206 MB, free: 4.48 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 274.2 MB, free: 4.41 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.436e-05/1.555e-05, allocations: 2.312 kB / 274.2 MB, free: 4.406 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002371/0.002386, allocations: 2.453 MB / 276.6 MB, free: 1.953 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.00347, allocations: 0.7562 MB / 277.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.003591, allocations: 7.938 kB / 277.4 MB, free: 1.195 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001237/0.003715, allocations: 39.58 kB / 277.4 MB, free: 1.156 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001662/0.003881, allocations: 111 kB / 277.5 MB, free: 1.047 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002883/0.004169, allocations: 135.7 kB / 277.7 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000353/0.004522, allocations: 482 kB / 278.1 MB, free: 452 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.004645, allocations: 57.12 kB / 278.2 MB, free: 388 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002463/0.004892, allocations: 267.4 kB / 278.5 MB, free: 120 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.005064, allocations: 167.6 kB / 278.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.409e-05/0.005108, allocations: 36 kB / 278.7 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.869e-05/0.005147, allocations: 40 kB / 278.7 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.637e-05/0.005203, allocations: 87.72 kB / 278.8 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.098e-05/0.005294, allocations: 135.7 kB / 278.9 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002525/0.005547, allocations: 303 kB / 279.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.005549, allocations: 4 kB / 279.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.00555, allocations: 4 kB / 279.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.005554, allocations: 0 / 279.2 MB, free: 15.36 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.0008013/0.006355, allocations: 0.6753 MB / 279.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.006386, allocations: 12.03 kB / 279.9 MB, free: 14.63 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.752e-05/0.006464, allocations: 60.7 kB / 280 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.006685, allocations: 208.1 kB / 280.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-05/0.006774, allocations: 135.9 kB / 280.3 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.072e-05/0.006815, allocations: 32.36 kB / 280.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003564/0.007172, allocations: 295.7 kB / 280.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.007186, allocations: 3.953 kB / 280.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.007207, allocations: 8 kB / 280.6 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.007214, allocations: 4 kB / 280.6 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001795/0.007394, allocations: 141.9 kB / 280.8 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007597/0.008153, allocations: 0.8855 MB / 281.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002731/0.008426, allocations: 225.2 kB / 281.9 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.008535, allocations: 106.9 kB / 282 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.00855, allocations: 4 kB / 282 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.008573, allocations: 41.39 kB / 282 MB, free: 12.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.744e-06/0.008575, allocations: 0 / 282 MB, free: 12.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=38): time 0.001251/0.009826, allocations: 1.206 MB / 283.2 MB, free: 10.96 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.009e-05/0.009866, allocations: 106.8 kB / 283.3 MB, free: 10.83 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.009984, allocations: 250 kB / 283.6 MB, free: 10.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.01001, allocations: 29.7 kB / 283.6 MB, free: 10.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.488e-05/0.01008, allocations: 203.5 kB / 283.8 MB, free: 10.33 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.502e-05/0.01016, allocations: 138.7 kB / 283.9 MB, free: 10.2 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.74e-05/0.01025, allocations: 79.8 kB / 284 MB, free: 10.11 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.01037, allocations: 0.5117 MB / 284.5 MB, free: 9.582 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.01047, allocations: 52.95 kB / 284.6 MB, free: 9.531 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.802e-05/0.01056, allocations: 115 kB / 284.7 MB, free: 9.398 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.01071, allocations: 184.2 kB / 284.9 MB, free: 9.199 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.01072, allocations: 0 / 284.9 MB, free: 9.199 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002634/0.01098, allocations: 249.2 kB / 285.1 MB, free: 8.949 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.01099, allocations: 4 kB / 285.1 MB, free: 8.945 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.011, allocations: 4 kB / 285.1 MB, free: 8.941 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.908e-06/0.01101, allocations: 4 kB / 285.1 MB, free: 8.938 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00029/0.0113, allocations: 119.8 kB / 285.3 MB, free: 8.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.0113, allocations: 7.938 kB / 285.3 MB, free: 8.812 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.247e-05/0.01139, allocations: 24.05 kB / 285.3 MB, free: 8.789 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.01141, allocations: 8 kB / 285.3 MB, free: 8.781 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 9.853e-05/0.0115, allocations: 180.5 kB / 285.5 MB, free: 8.594 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.47e-05/0.01158, allocations: 35.86 kB / 285.5 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.587e-05/0.01161, allocations: 29.45 kB / 285.5 MB, free: 8.527 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.01162, allocations: 4 kB / 285.5 MB, free: 8.523 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.01162, allocations: 0 / 285.5 MB, free: 8.523 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.01163, allocations: 11.94 kB / 285.5 MB, free: 8.512 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008752/0.0125, allocations: 1.09 MB / 286.6 MB, free: 7.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.0125, allocations: 0 / 286.6 MB, free: 7.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003562/0.01286, allocations: 144 kB / 286.8 MB, free: 7.199 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.01287, allocations: 4 kB / 286.8 MB, free: 7.195 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/0.01289, allocations: 15.98 kB / 286.8 MB, free: 7.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.01289, allocations: 7.938 kB / 286.8 MB, free: 7.172 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.01289, allocations: 0 / 286.8 MB, free: 7.172 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005044/0.0134, allocations: 0.7617 MB / 287.6 MB, free: 6.359 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.084e-05/0.01347, allocations: 55.81 kB / 287.6 MB, free: 6.305 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.964e-05/0.0135, allocations: 15.98 kB / 287.6 MB, free: 6.289 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.01368, allocations: 31.97 kB / 287.7 MB, free: 6.258 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.046e-05/0.01374, allocations: 43.81 kB / 287.7 MB, free: 6.215 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.01376, allocations: 15.98 kB / 287.7 MB, free: 6.199 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.01e-05/0.01382, allocations: 168.4 kB / 287.9 MB, free: 6.035 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01382, allocations: 0 / 287.9 MB, free: 6.035 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002844/0.0141, allocations: 84 kB / 288 MB, free: 5.953 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 8.77e-05/0.01419, allocations: 113.3 kB / 288.1 MB, free: 5.836 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002322/0.01442, allocations: 194.6 kB / 288.3 MB, free: 5.645 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01443, allocations: 0 / 288.3 MB, free: 5.645 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.01457, allocations: 139.6 kB / 288.4 MB, free: 5.504 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000429/0.015, allocations: 73.16 kB / 288.5 MB, free: 5.434 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002278/0.01728, allocations: 1.186 MB / 289.7 MB, free: 4.188 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.361e-05/0.01734, allocations: 92.81 kB / 289.8 MB, free: 4.078 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001063/0.01745, allocations: 34.97 kB / 289.8 MB, free: 4.043 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001793/0.01763, allocations: 150.1 kB / 289.9 MB, free: 3.895 MB / 266.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01763, allocations: 0 / 289.9 MB, free: 3.895 MB / 266.7 MB Notification: Performance of Templates: time 0.006536/0.02416, allocations: 4.989 MB / 294.9 MB, free: 14.98 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.7624403019435704]