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.001994/0.001994, allocations: 84.25 kB / 20.68 MB, free: 1.039 MB / 14.72 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.002422/0.002422, allocations: 158.4 kB / 23.95 MB, free: 4.168 MB / 14.72 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.435/1.435, allocations: 177 MB / 204.1 MB, free: 9.148 MB / 190.1 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 1.373e-06/1.373e-06, allocations: 0 / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.116e-05/2.253e-05, allocations: 2.281 kB / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003292/0.003314, allocations: 2.293 MB / 327.3 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001488/0.004803, allocations: 0.7482 MB / 328 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.004944, allocations: 8.344 kB / 328 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001474/0.005091, allocations: 42.84 kB / 328.1 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000245/0.005336, allocations: 111.5 kB / 328.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003716/0.005708, allocations: 130.7 kB / 328.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005239/0.006231, allocations: 494.8 kB / 328.8 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001839/0.006415, allocations: 58.73 kB / 328.9 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004219/0.006837, allocations: 272.1 kB / 329.1 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000294/0.007131, allocations: 165 kB / 329.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.315e-05/0.007214, allocations: 36.47 kB / 329.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.988e-05/0.007304, allocations: 37.84 kB / 329.4 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.007427, allocations: 88.52 kB / 329.5 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002038/0.007631, allocations: 129.9 kB / 329.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007221/0.008353, allocations: 442 kB / 330 MB, free: 13.46 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.008356, allocations: 0 / 330 MB, free: 13.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.008358, allocations: 4 kB / 330 MB, free: 13.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.008371, allocations: 1.344 kB / 330 MB, free: 13.46 MB / 302.1 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.001799/0.01017, allocations: 0.6099 MB / 330.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.01021, allocations: 13.14 kB / 330.6 MB, free: 12.97 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.01032, allocations: 39.17 kB / 330.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004788/0.0108, allocations: 213.8 kB / 330.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001789/0.01098, allocations: 141.1 kB / 331 MB, free: 12.6 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.171e-05/0.01105, allocations: 25.41 kB / 331 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.01212, allocations: 379.7 kB / 331.4 MB, free: 12.36 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/0.01215, allocations: 5.203 kB / 331.4 MB, free: 12.36 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.906e-05/0.01219, allocations: 14.44 kB / 331.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.01219, allocations: 6.938 kB / 331.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.01353, allocations: 386.2 kB / 331.8 MB, free: 12.17 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/0.01497, allocations: 0.8002 MB / 332.6 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/0.01628, allocations: 401.1 kB / 333 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007034/0.01698, allocations: 200.1 kB / 333.2 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.01701, allocations: 7.5 kB / 333.2 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/0.01705, allocations: 41.45 kB / 333.3 MB, free: 11.11 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.724e-06/0.01705, allocations: 1.031 kB / 333.3 MB, free: 11.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=38): time 0.005117/0.02216, allocations: 1.88 MB / 335.1 MB, free: 9.781 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.25e-05/0.02225, allocations: 116.3 kB / 335.3 MB, free: 9.648 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.02245, allocations: 189.8 kB / 335.4 MB, free: 9.496 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.218e-05/0.02249, allocations: 31.95 kB / 335.5 MB, free: 9.461 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.02261, allocations: 156 kB / 335.6 MB, free: 9.316 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.02274, allocations: 138.5 kB / 335.8 MB, free: 9.195 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/0.02288, allocations: 77.8 kB / 335.8 MB, free: 9.141 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.02305, allocations: 332.4 kB / 336.2 MB, free: 8.812 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003336/0.02338, allocations: 109.3 kB / 336.3 MB, free: 8.766 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003641/0.02375, allocations: 167.9 kB / 336.4 MB, free: 8.652 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007102/0.02446, allocations: 293.5 kB / 336.7 MB, free: 8.484 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.02446, allocations: 2.125 kB / 336.7 MB, free: 8.484 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009269/0.02539, allocations: 370.9 kB / 337.1 MB, free: 8.301 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.02541, allocations: 6.062 kB / 337.1 MB, free: 8.301 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.02541, allocations: 1.281 kB / 337.1 MB, free: 8.301 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.02543, allocations: 2.75 kB / 337.1 MB, free: 8.301 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007588/0.02619, allocations: 152 kB / 337.2 MB, free: 8.254 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.0262, allocations: 3.219 kB / 337.2 MB, free: 8.254 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002518/0.02645, allocations: 25.64 kB / 337.3 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.02648, allocations: 13.25 kB / 337.3 MB, free: 8.238 MB / 302.1 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.0001881/0.02666, allocations: 150.3 kB / 337.4 MB, free: 8.094 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.02677, allocations: 33.91 kB / 337.5 MB, free: 8.074 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.802e-05/0.02685, allocations: 26.28 kB / 337.5 MB, free: 8.051 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.02686, allocations: 7.422 kB / 337.5 MB, free: 8.047 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/0.02687, allocations: 9.094 kB / 337.5 MB, free: 8.039 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.02687, allocations: 1.156 kB / 337.5 MB, free: 8.039 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0026/0.02947, allocations: 1.203 MB / 338.7 MB, free: 6.855 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.02948, allocations: 0 / 338.7 MB, free: 6.855 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009524/0.03043, allocations: 172 kB / 338.9 MB, free: 6.688 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.03044, allocations: 4 kB / 338.9 MB, free: 6.684 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.475e-05/0.03047, allocations: 11.98 kB / 338.9 MB, free: 6.672 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/0.03048, allocations: 4 kB / 338.9 MB, free: 6.668 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/0.03048, allocations: 7.938 kB / 338.9 MB, free: 6.66 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002315/0.0328, allocations: 0.9414 MB / 339.8 MB, free: 5.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.03294, allocations: 55.77 kB / 339.9 MB, free: 5.625 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.183e-05/0.033, allocations: 20.12 kB / 339.9 MB, free: 5.605 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004702/0.03347, allocations: 47.88 kB / 340 MB, free: 5.559 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.03358, allocations: 43.88 kB / 340 MB, free: 5.516 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-05/0.03361, allocations: 12 kB / 340 MB, free: 5.504 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001283/0.03374, allocations: 147 kB / 340.2 MB, free: 5.359 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.03374, allocations: 0 / 340.2 MB, free: 5.359 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004986/0.03424, allocations: 76 kB / 340.2 MB, free: 5.285 MB / 302.1 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.0001412/0.03438, allocations: 107.2 kB / 340.3 MB, free: 5.172 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001108/0.03549, allocations: 355.5 kB / 340.7 MB, free: 4.828 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.03549, allocations: 0 / 340.7 MB, free: 4.828 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007739/0.03626, allocations: 239.8 kB / 340.9 MB, free: 4.594 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007368/0.037, allocations: 75.8 kB / 341 MB, free: 4.523 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005417/0.04242, allocations: 1.301 MB / 342.3 MB, free: 3.164 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001825/0.0426, allocations: 160 kB / 342.5 MB, free: 2.992 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000166/0.04276, allocations: 38.95 kB / 342.5 MB, free: 2.953 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.0429, allocations: 32.48 kB / 342.5 MB, free: 2.922 MB / 302.1 MB Notification: Performance of SimCode: time 6.11e-07/0.0429, allocations: 0 / 342.5 MB, free: 2.922 MB / 302.1 MB Notification: Performance of Templates: time 0.009854/0.05275, allocations: 4.432 MB / 347 MB, free: 14.54 MB / 318.1 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.328719049692154]