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.001095/0.001095, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001535/0.002629, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001102/0.001102, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001463/0.002565, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9481/0.9481, allocations: 177.4 MB / 189.9 MB, free: 4.84 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08788/1.036, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.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.723e-06/1.723e-06, allocations: 0 / 245 MB, free: 13.67 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.605e-05/2.777e-05, allocations: 2.312 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002536/0.002563, allocations: 2.502 MB / 247.5 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.003742, allocations: 0.7868 MB / 248.3 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.713e-05/0.003839, allocations: 7.938 kB / 248.3 MB, free: 10.35 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.961e-05/0.003919, allocations: 51.52 kB / 248.3 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001456/0.004065, allocations: 107 kB / 248.5 MB, free: 10.19 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002018/0.004266, allocations: 131.7 kB / 248.6 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003069/0.004573, allocations: 478 kB / 249 MB, free: 9.594 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.004696, allocations: 59.09 kB / 249.1 MB, free: 9.535 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000263/0.004959, allocations: 291.4 kB / 249.4 MB, free: 9.25 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.005114, allocations: 167.6 kB / 249.6 MB, free: 9.086 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.62e-05/0.00516, allocations: 36 kB / 249.6 MB, free: 9.051 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.844e-05/0.005199, allocations: 40 kB / 249.6 MB, free: 9.012 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.544e-05/0.005244, allocations: 59.81 kB / 249.7 MB, free: 8.953 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.481e-05/0.005329, allocations: 103.8 kB / 249.8 MB, free: 8.852 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002518/0.005581, allocations: 259.1 kB / 250 MB, free: 8.598 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.487e-05/0.005596, allocations: 0 / 250 MB, free: 8.598 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.005597, allocations: 4 kB / 250 MB, free: 8.594 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.533e-05/0.005612, allocations: 0 / 250 MB, free: 8.594 MB / 250.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.0007932/0.006405, allocations: 0.6205 MB / 250.7 MB, free: 7.949 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.941e-05/0.006434, allocations: 12.62 kB / 250.7 MB, free: 7.938 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000324/0.006758, allocations: 44.91 kB / 250.7 MB, free: 7.895 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.006976, allocations: 182.2 kB / 250.9 MB, free: 7.691 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.364e-05/0.00707, allocations: 135.9 kB / 251 MB, free: 7.535 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.762e-05/0.007107, allocations: 32.36 kB / 251.1 MB, free: 7.504 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003103/0.007418, allocations: 279.2 kB / 251.3 MB, free: 7.211 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.007434, allocations: 7.953 kB / 251.3 MB, free: 7.203 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.007452, allocations: 12 kB / 251.4 MB, free: 7.191 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.00746, allocations: 8 kB / 251.4 MB, free: 7.184 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001551/0.007615, allocations: 123.3 kB / 251.5 MB, free: 7.066 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006105/0.008225, allocations: 0.6133 MB / 252.1 MB, free: 6.43 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.008436, allocations: 187.8 kB / 252.3 MB, free: 6.219 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.233e-05/0.008519, allocations: 87 kB / 252.4 MB, free: 6.125 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.008536, allocations: 7.938 kB / 252.4 MB, free: 6.117 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.008556, allocations: 42.5 kB / 252.4 MB, free: 6.066 MB / 250.7 MB Notification: Performance of pre-optimization done (n=32): time 1.443e-06/0.008558, allocations: 0 / 252.4 MB, free: 6.066 MB / 250.7 MB Notification: Performance of matching and sorting (n=38): time 0.001153/0.00971, allocations: 1.152 MB / 253.6 MB, free: 4.762 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.009752, allocations: 106.8 kB / 253.7 MB, free: 4.633 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.009859, allocations: 186.5 kB / 253.9 MB, free: 4.438 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.009879, allocations: 33.7 kB / 253.9 MB, free: 4.398 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.791e-05/0.009937, allocations: 140.7 kB / 254 MB, free: 4.254 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.325e-05/0.01001, allocations: 146.7 kB / 254.2 MB, free: 4.109 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.224e-05/0.01008, allocations: 78.14 kB / 254.2 MB, free: 4.027 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.736e-05/0.01016, allocations: 342.8 kB / 254.6 MB, free: 3.684 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.528e-05/0.01025, allocations: 44.97 kB / 254.6 MB, free: 3.637 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.048e-05/0.01032, allocations: 98.03 kB / 254.7 MB, free: 3.527 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.01045, allocations: 176.1 kB / 254.9 MB, free: 3.344 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.01045, allocations: 0 / 254.9 MB, free: 3.344 MB / 250.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0001845/0.01064, allocations: 184.5 kB / 255.1 MB, free: 3.16 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.01065, allocations: 8 kB / 255.1 MB, free: 3.152 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.01066, allocations: 0 / 255.1 MB, free: 3.152 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.01067, allocations: 4 kB / 255.1 MB, free: 3.148 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003531/0.01102, allocations: 155.2 kB / 255.2 MB, free: 3 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.01103, allocations: 11.92 kB / 255.2 MB, free: 2.988 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.629e-05/0.0111, allocations: 16 kB / 255.3 MB, free: 2.973 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.01111, allocations: 8 kB / 255.3 MB, free: 2.965 MB / 250.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 8.587e-05/0.0112, allocations: 133.8 kB / 255.4 MB, free: 2.824 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.318e-05/0.01125, allocations: 27.98 kB / 255.4 MB, free: 2.797 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.614e-05/0.01129, allocations: 33.45 kB / 255.5 MB, free: 2.77 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.01129, allocations: 8 kB / 255.5 MB, free: 2.762 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.0113, allocations: 3.938 kB / 255.5 MB, free: 2.758 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.0113, allocations: 7.969 kB / 255.5 MB, free: 2.75 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007073/0.01201, allocations: 0.8012 MB / 256.3 MB, free: 1.887 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.01201, allocations: 4 kB / 256.3 MB, free: 1.883 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003681/0.01238, allocations: 163.7 kB / 256.4 MB, free: 1.723 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.695e-05/0.01244, allocations: 23.86 kB / 256.5 MB, free: 1.699 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.01244, allocations: 8.188 kB / 256.5 MB, free: 1.691 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.01246, allocations: 15.98 kB / 256.5 MB, free: 1.676 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.01246, allocations: 4 kB / 256.5 MB, free: 1.672 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.01247, allocations: 4 kB / 256.5 MB, free: 1.668 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003807/0.01285, allocations: 0.5627 MB / 257.1 MB, free: 1.066 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.01287, allocations: 8 kB / 257.1 MB, free: 1.059 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.01304, allocations: 35.97 kB / 257.1 MB, free: 1.023 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.064e-05/0.0131, allocations: 43.86 kB / 257.1 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.01311, allocations: 15.94 kB / 257.2 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.498e-05/0.01315, allocations: 48.8 kB / 257.2 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01315, allocations: 0 / 257.2 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002345/0.01338, allocations: 84 kB / 257.3 MB, free: 0.832 MB / 250.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 9.488e-05/0.01348, allocations: 88.36 kB / 257.4 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000193/0.01367, allocations: 182.7 kB / 257.6 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.939e-06/0.01368, allocations: 7.984 kB / 257.6 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003631/0.01404, allocations: 116.6 kB / 257.7 MB, free: 440 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.0144, allocations: 111.5 kB / 257.8 MB, free: 332 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004598/0.019, allocations: 1.014 MB / 258.8 MB, free: 15.26 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.205e-05/0.01906, allocations: 97.06 kB / 258.9 MB, free: 15.14 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.01917, allocations: 42.95 kB / 258.9 MB, free: 15.1 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.01934, allocations: 119.3 kB / 259.1 MB, free: 14.98 MB / 266.7 MB Notification: Performance of SimCode: time 1.062e-06/0.01934, allocations: 0 / 259.1 MB, free: 14.98 MB / 266.7 MB Notification: Performance of Templates: time 0.006354/0.02569, allocations: 5.127 MB / 264.2 MB, free: 9.93 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 -emit_protected -ignoreHideResult -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.502858527004719]