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.001453/0.001453, allocations: 96.25 kB / 20.96 MB, free: 3.473 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.001619/0.001619, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 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.462/1.462, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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 2.855e-06/2.855e-06, allocations: 0 / 272.2 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.705e-05/3.99e-05, allocations: 6.312 kB / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.006215/0.006255, allocations: 2.306 MB / 274.5 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002389/0.008644, allocations: 0.7288 MB / 275.2 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002973/0.008941, allocations: 7.938 kB / 275.2 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002623/0.009203, allocations: 47.52 kB / 275.3 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004896/0.009693, allocations: 111 kB / 275.4 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006245/0.01032, allocations: 131.7 kB / 275.5 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008986/0.01122, allocations: 482 kB / 276 MB, free: 14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002384/0.01145, allocations: 49.14 kB / 276 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006674/0.01212, allocations: 271.4 kB / 276.3 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004517/0.01257, allocations: 167.6 kB / 276.5 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000123/0.0127, allocations: 36 kB / 276.5 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.01281, allocations: 40 kB / 276.5 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.01295, allocations: 87.72 kB / 276.6 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002851/0.01323, allocations: 139.7 kB / 276.8 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008381/0.01407, allocations: 442.6 kB / 277.2 MB, free: 12.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.01408, allocations: 0 / 277.2 MB, free: 12.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.01408, allocations: 0 / 277.2 MB, free: 12.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.623e-05/0.0141, allocations: 0 / 277.2 MB, free: 12.79 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.002774/0.01687, allocations: 0.6105 MB / 277.8 MB, free: 12.14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/0.01693, allocations: 11.98 kB / 277.8 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002547/0.01719, allocations: 64.7 kB / 277.9 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007456/0.01793, allocations: 213.9 kB / 278.1 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002706/0.0182, allocations: 135.9 kB / 278.2 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.01831, allocations: 28.36 kB / 278.2 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001559/0.01987, allocations: 390.5 kB / 278.6 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.381e-05/0.01991, allocations: 3.953 kB / 278.6 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.518e-05/0.01996, allocations: 12 kB / 278.6 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.01997, allocations: 4 kB / 278.6 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001926/0.0219, allocations: 387.6 kB / 279 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002217/0.02412, allocations: 0.7984 MB / 279.8 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001877/0.02599, allocations: 399.9 kB / 280.2 MB, free: 9.605 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001094/0.02709, allocations: 218.6 kB / 280.4 MB, free: 9.383 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.277e-05/0.02713, allocations: 8 kB / 280.4 MB, free: 9.375 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.228e-05/0.02719, allocations: 38.56 kB / 280.5 MB, free: 9.328 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 2.835e-06/0.0272, allocations: 0 / 280.5 MB, free: 9.328 MB / 266.7 MB Notification: Performance of matching and sorting (n=38): time 0.007983/0.03518, allocations: 1.889 MB / 282.4 MB, free: 7.289 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.03529, allocations: 110.8 kB / 282.5 MB, free: 7.156 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002577/0.03554, allocations: 186.6 kB / 282.6 MB, free: 6.961 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.879e-05/0.03559, allocations: 37.7 kB / 282.7 MB, free: 6.918 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.03573, allocations: 148.7 kB / 282.8 MB, free: 6.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/0.03589, allocations: 150.7 kB / 283 MB, free: 6.621 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/0.03605, allocations: 66.19 kB / 283 MB, free: 6.547 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002115/0.03627, allocations: 338.8 kB / 283.4 MB, free: 6.207 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003549/0.03662, allocations: 112.9 kB / 283.5 MB, free: 6.098 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003992/0.03702, allocations: 170 kB / 283.6 MB, free: 5.914 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007216/0.03774, allocations: 284 kB / 283.9 MB, free: 5.621 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.03774, allocations: 4 kB / 283.9 MB, free: 5.617 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000958/0.0387, allocations: 379.8 kB / 284.3 MB, free: 5.246 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.03872, allocations: 8 kB / 284.3 MB, free: 5.238 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.03873, allocations: 0 / 284.3 MB, free: 5.238 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.856e-05/0.03876, allocations: 4 kB / 284.3 MB, free: 5.234 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007807/0.03954, allocations: 151.8 kB / 284.5 MB, free: 5.086 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.837e-05/0.03956, allocations: 11.92 kB / 284.5 MB, free: 5.074 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002463/0.03981, allocations: 27.98 kB / 284.5 MB, free: 5.047 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.03983, allocations: 12 kB / 284.5 MB, free: 5.035 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 0.0001923/0.04002, allocations: 145.7 kB / 284.7 MB, free: 4.883 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.04015, allocations: 43.81 kB / 284.7 MB, free: 4.84 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.597e-05/0.04023, allocations: 33.45 kB / 284.7 MB, free: 4.805 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.04023, allocations: 4 kB / 284.7 MB, free: 4.801 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.544e-05/0.04025, allocations: 7.922 kB / 284.7 MB, free: 4.793 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.04025, allocations: 7.938 kB / 284.7 MB, free: 4.785 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002614/0.04287, allocations: 1.187 MB / 285.9 MB, free: 3.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.04287, allocations: 0 / 285.9 MB, free: 3.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009161/0.04379, allocations: 171.9 kB / 286.1 MB, free: 3.352 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.04379, allocations: 4 kB / 286.1 MB, free: 3.348 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.59e-05/0.04384, allocations: 11.98 kB / 286.1 MB, free: 3.336 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.04385, allocations: 4 kB / 286.1 MB, free: 3.332 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.04385, allocations: 4 kB / 286.1 MB, free: 3.328 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002295/0.04615, allocations: 0.9608 MB / 287.1 MB, free: 2.328 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001418/0.04629, allocations: 51.83 kB / 287.1 MB, free: 2.277 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.793e-05/0.04634, allocations: 8 kB / 287.1 MB, free: 2.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004556/0.04679, allocations: 51.94 kB / 287.2 MB, free: 2.219 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.04691, allocations: 43.81 kB / 287.2 MB, free: 2.176 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-05/0.04695, allocations: 20.11 kB / 287.3 MB, free: 2.156 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000144/0.0471, allocations: 135.3 kB / 287.4 MB, free: 2.023 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0471, allocations: 0 / 287.4 MB, free: 2.023 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004791/0.04758, allocations: 84 kB / 287.5 MB, free: 1.941 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 0.0001557/0.04773, allocations: 103.2 kB / 287.6 MB, free: 1.832 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001126/0.04886, allocations: 367.5 kB / 287.9 MB, free: 1.473 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.04886, allocations: 0 / 287.9 MB, free: 1.473 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000738/0.0496, allocations: 244 kB / 288.2 MB, free: 1.234 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007825/0.05038, allocations: 85.86 kB / 288.3 MB, free: 1.152 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005334/0.05571, allocations: 1.314 MB / 289.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/0.05592, allocations: 160 kB / 289.7 MB, free: 15.61 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001859/0.05611, allocations: 38.97 kB / 289.8 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.05625, allocations: 36.48 kB / 289.8 MB, free: 15.54 MB / 282.7 MB Notification: Performance of SimCode: time 8.52e-07/0.05625, allocations: 0 / 289.8 MB, free: 15.54 MB / 282.7 MB Notification: Performance of Templates: time 0.01034/0.06659, allocations: 4.446 MB / 294.2 MB, free: 11.14 MB / 282.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.4245526439044625]