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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|elastoBacklash.phi_rel|elastoBacklash.w_rel|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00131/0.00131, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00131/0.00131, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.604/1.604, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002559/0.002559, allocations: 59.91 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4539/0.4565, allocations: 50.54 MB / 409.9 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.006869/0.4634, allocations: 2.455 MB / 412.4 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002894/0.4664, allocations: 0.764 MB / 413.1 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003634/0.4668, allocations: 7.938 kB / 413.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002916/0.4671, allocations: 39.58 kB / 413.2 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000536/0.4677, allocations: 111.1 kB / 413.3 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007159/0.4684, allocations: 127.3 kB / 413.4 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008888/0.4694, allocations: 466.2 kB / 413.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003282/0.4697, allocations: 88.86 kB / 414 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004695/0.4702, allocations: 191.4 kB / 414.1 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005244/0.4708, allocations: 207.2 kB / 414.3 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001239/0.4709, allocations: 36 kB / 414.4 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.4711, allocations: 40 kB / 414.4 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.4712, allocations: 87.72 kB / 414.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003115/0.4716, allocations: 167.3 kB / 414.7 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007547/0.4723, allocations: 415.8 kB / 415.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.187e-05/0.4724, allocations: 4 kB / 415.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.511e-06/0.4724, allocations: 3.984 kB / 415.1 MB, free: 12.35 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.4724, allocations: 0 / 415.1 MB, free: 12.35 MB / 334.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.002926/0.4753, allocations: 0.6783 MB / 415.8 MB, free: 11.62 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/0.4754, allocations: 12.03 kB / 415.8 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/0.4756, allocations: 32.56 kB / 415.8 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007143/0.4763, allocations: 276.6 kB / 416.1 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001927/0.4765, allocations: 88.27 kB / 416.2 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/0.4767, allocations: 31.91 kB / 416.2 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.4783, allocations: 375.2 kB / 416.6 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.18e-05/0.4783, allocations: 4 kB / 416.6 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.967e-05/0.4784, allocations: 12 kB / 416.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.4785, allocations: 4 kB / 416.6 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002309/0.4808, allocations: 399.5 kB / 417 MB, free: 10.35 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002622/0.4834, allocations: 0.9621 MB / 417.9 MB, free: 9.332 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002228/0.4857, allocations: 419.5 kB / 418.3 MB, free: 8.895 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001254/0.487, allocations: 206.4 kB / 418.5 MB, free: 8.684 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.704e-05/0.487, allocations: 11.98 kB / 418.6 MB, free: 8.672 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.303e-05/0.4871, allocations: 42.5 kB / 418.6 MB, free: 8.621 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 4.889e-06/0.4871, allocations: 0 / 418.6 MB, free: 8.621 MB / 334.1 MB Notification: Performance of matching and sorting (n=38): time 0.009595/0.4968, allocations: 2.309 MB / 420.9 MB, free: 6.047 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.4969, allocations: 106.8 kB / 421 MB, free: 5.918 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000398/0.4973, allocations: 211.2 kB / 421.2 MB, free: 5.703 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.485e-05/0.4974, allocations: 29.7 kB / 421.2 MB, free: 5.668 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.4976, allocations: 152.6 kB / 421.4 MB, free: 5.516 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002112/0.4979, allocations: 141.9 kB / 421.5 MB, free: 5.375 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002461/0.4981, allocations: 71.06 kB / 421.6 MB, free: 5.301 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002074/0.4984, allocations: 334.8 kB / 421.9 MB, free: 4.965 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006962/0.4991, allocations: 112.8 kB / 422 MB, free: 4.852 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007147/0.4998, allocations: 169.4 kB / 422.2 MB, free: 4.672 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/0.5011, allocations: 292.8 kB / 422.5 MB, free: 4.371 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.5011, allocations: 0 / 422.5 MB, free: 4.371 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001718/0.5029, allocations: 364.7 kB / 422.8 MB, free: 4.012 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/0.5029, allocations: 4.094 kB / 422.9 MB, free: 4.008 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.5029, allocations: 8 kB / 422.9 MB, free: 4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.143e-05/0.503, allocations: 4 kB / 422.9 MB, free: 3.996 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/0.5044, allocations: 155.7 kB / 423 MB, free: 3.844 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-05/0.5045, allocations: 7.922 kB / 423 MB, free: 3.836 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004966/0.505, allocations: 23.98 kB / 423 MB, free: 3.812 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.13e-05/0.505, allocations: 12 kB / 423.1 MB, free: 3.801 MB / 334.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.0002953/0.5053, allocations: 149.7 kB / 423.2 MB, free: 3.645 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000197/0.5056, allocations: 31.66 kB / 423.2 MB, free: 3.613 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001173/0.5057, allocations: 33.52 kB / 423.3 MB, free: 3.582 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.5057, allocations: 4 kB / 423.3 MB, free: 3.578 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.5057, allocations: 0 / 423.3 MB, free: 3.578 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.717e-05/0.5058, allocations: 7.984 kB / 423.3 MB, free: 3.57 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004503/0.5103, allocations: 1.311 MB / 424.6 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.455e-05/0.5103, allocations: 3.984 kB / 424.6 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001789/0.5122, allocations: 171.9 kB / 424.8 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.49e-05/0.5122, allocations: 4 kB / 424.8 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-05/0.5123, allocations: 15.92 kB / 424.8 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-05/0.5123, allocations: 4 kB / 424.8 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/0.5123, allocations: 4 kB / 424.8 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004067/0.5164, allocations: 0.9516 MB / 425.7 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003246/0.5168, allocations: 136.9 kB / 425.9 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.5169, allocations: 19.92 kB / 425.9 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008824/0.5178, allocations: 43.95 kB / 425.9 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001923/0.518, allocations: 39.89 kB / 426 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.109e-05/0.5181, allocations: 19.98 kB / 426 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000262/0.5184, allocations: 148.6 kB / 426.1 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of sort global known variables: time 6.42e-07/0.5184, allocations: 0 / 426.1 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009408/0.5194, allocations: 80 kB / 426.2 MB, free: 488 kB / 334.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.0002203/0.5196, allocations: 119.1 kB / 426.3 MB, free: 356 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002133/0.5218, allocations: 367.9 kB / 426.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.5218, allocations: 0 / 426.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001502/0.5233, allocations: 248 kB / 426.9 MB, free: 15.74 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/0.5247, allocations: 72.77 kB / 427 MB, free: 15.67 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01029/0.535, allocations: 1.446 MB / 428.5 MB, free: 14.17 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005177/0.5356, allocations: 0.7719 MB / 429.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002801/0.5359, allocations: 31.42 kB / 429.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of SimCode: time 1.402e-06/0.5359, allocations: 4 kB / 429.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of Templates: time 0.01223/0.5482, allocations: 3.936 MB / 433.2 MB, free: 9.418 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches