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.001049/0.001049, allocations: 109.8 kB / 18.45 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.001112/0.001113, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.31/1.31, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 59.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.199, allocations: 50.53 MB / 409.9 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.0033/0.2023, allocations: 2.451 MB / 412.4 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.2036, allocations: 0.7717 MB / 413.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001353/0.2037, allocations: 4 kB / 413.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001474/0.2039, allocations: 47.52 kB / 413.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002031/0.2041, allocations: 103.1 kB / 413.3 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00034/0.2045, allocations: 127.8 kB / 413.4 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004254/0.2049, allocations: 466.2 kB / 413.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.2051, allocations: 80.88 kB / 414 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002496/0.2053, allocations: 191.4 kB / 414.1 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002371/0.2056, allocations: 207.3 kB / 414.3 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.035e-05/0.2056, allocations: 40 kB / 414.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.659e-05/0.2057, allocations: 36 kB / 414.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.524e-05/0.2058, allocations: 87.73 kB / 414.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001647/0.206, allocations: 175.2 kB / 414.7 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003749/0.2063, allocations: 415.8 kB / 415.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2064, allocations: 4 kB / 415.1 MB, free: 12.37 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2064, allocations: 0 / 415.1 MB, free: 12.37 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.2064, allocations: 3.938 kB / 415.1 MB, free: 12.37 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.001522/0.2079, allocations: 0.6822 MB / 415.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.208, allocations: 12.03 kB / 415.8 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.278e-05/0.208, allocations: 32.56 kB / 415.8 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003583/0.2084, allocations: 268.6 kB / 416.1 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.865e-05/0.2085, allocations: 88.27 kB / 416.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.233e-05/0.2086, allocations: 31.91 kB / 416.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009014/0.2095, allocations: 383.2 kB / 416.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.2095, allocations: 0 / 416.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.62e-05/0.2096, allocations: 12 kB / 416.6 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.2096, allocations: 4 kB / 416.6 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/0.2108, allocations: 395.5 kB / 417 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/0.212, allocations: 0.9699 MB / 417.9 MB, free: 9.344 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.2131, allocations: 407.6 kB / 418.3 MB, free: 8.918 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006194/0.2137, allocations: 214.4 kB / 418.5 MB, free: 8.699 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.2137, allocations: 4 kB / 418.6 MB, free: 8.695 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.2137, allocations: 42.55 kB / 418.6 MB, free: 8.645 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.674e-06/0.2137, allocations: 0 / 418.6 MB, free: 8.645 MB / 334.1 MB Notification: Performance of matching and sorting (n=38): time 0.004638/0.2184, allocations: 2.325 MB / 420.9 MB, free: 6.059 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.2185, allocations: 106.8 kB / 421 MB, free: 5.93 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.2187, allocations: 203.2 kB / 421.2 MB, free: 5.723 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.058e-05/0.2187, allocations: 29.7 kB / 421.2 MB, free: 5.688 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.891e-05/0.2188, allocations: 156.6 kB / 421.4 MB, free: 5.531 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.826e-05/0.2189, allocations: 134 kB / 421.5 MB, free: 5.398 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.219, allocations: 74.11 kB / 421.6 MB, free: 5.32 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.2191, allocations: 338.8 kB / 421.9 MB, free: 4.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003087/0.2195, allocations: 112.8 kB / 422 MB, free: 4.867 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003293/0.2198, allocations: 165.5 kB / 422.2 MB, free: 4.691 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006309/0.2204, allocations: 292.2 kB / 422.5 MB, free: 4.391 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.2204, allocations: 0 / 422.5 MB, free: 4.391 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008063/0.2213, allocations: 361.1 kB / 422.8 MB, free: 4.031 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.2213, allocations: 11.94 kB / 422.9 MB, free: 4.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.2213, allocations: 0 / 422.9 MB, free: 4.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.2213, allocations: 4 kB / 422.9 MB, free: 4.016 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007148/0.222, allocations: 147.9 kB / 423 MB, free: 3.871 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.2221, allocations: 11.92 kB / 423 MB, free: 3.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.2223, allocations: 23.98 kB / 423 MB, free: 3.836 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.2223, allocations: 12 kB / 423.1 MB, free: 3.824 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.0001363/0.2225, allocations: 145.7 kB / 423.2 MB, free: 3.672 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.2226, allocations: 35.59 kB / 423.2 MB, free: 3.637 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.708e-05/0.2226, allocations: 33.52 kB / 423.3 MB, free: 3.605 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.2226, allocations: 0 / 423.3 MB, free: 3.605 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.2226, allocations: 11.98 kB / 423.3 MB, free: 3.594 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.2228, allocations: 128.7 kB / 423.4 MB, free: 3.449 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.044e-05/0.2228, allocations: 15.98 kB / 423.4 MB, free: 3.434 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006915/0.2235, allocations: 95.88 kB / 423.5 MB, free: 3.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.019e-05/0.2236, allocations: 31.95 kB / 423.5 MB, free: 3.309 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001714/0.2254, allocations: 0.7447 MB / 424.3 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001933/0.2273, allocations: 0.9921 MB / 425.3 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005979/0.2279, allocations: 220.1 kB / 425.5 MB, free: 1.332 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001107/0.228, allocations: 152.6 kB / 425.6 MB, free: 1.184 MB / 334.1 MB Notification: Performance of Backend: time 2.61e-07/0.228, allocations: 0 / 425.6 MB, free: 1.184 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008686/0.2289, allocations: 266 kB / 425.9 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of SimCode: time 0.001398/0.2303, allocations: 1.249 MB / 427.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of Templates: time 0.007997/0.2383, allocations: 4.493 MB / 431.6 MB, free: 11.16 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