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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001083/0.001083, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.628/1.628, allocations: 226.8 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009887/0.0009886, allocations: 100.5 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008959/0.0008959, allocations: 51.92 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.2004, allocations: 50.44 MB / 407 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002665/0.2032, allocations: 2.484 MB / 409.5 MB, free: 25.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008924/0.2041, allocations: 0.7735 MB / 410.3 MB, free: 24.56 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.676e-05/0.2042, allocations: 4 kB / 410.3 MB, free: 24.55 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001307/0.2043, allocations: 27.72 kB / 410.3 MB, free: 24.53 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001538/0.2045, allocations: 99.28 kB / 410.4 MB, free: 24.43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002432/0.2047, allocations: 107.8 kB / 410.5 MB, free: 24.32 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002601/0.205, allocations: 450.2 kB / 411 MB, free: 23.88 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.2051, allocations: 77.89 kB / 411.1 MB, free: 23.8 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.2053, allocations: 171.4 kB / 411.2 MB, free: 23.63 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.2054, allocations: 191.3 kB / 411.4 MB, free: 23.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.016e-05/0.2055, allocations: 20 kB / 411.4 MB, free: 23.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.389e-05/0.2056, allocations: 24 kB / 411.5 MB, free: 23.4 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.941e-05/0.2056, allocations: 71.72 kB / 411.5 MB, free: 23.33 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.2057, allocations: 163.3 kB / 411.7 MB, free: 23.17 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002269/0.206, allocations: 396.1 kB / 412.1 MB, free: 22.79 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.706e-06/0.206, allocations: 0 / 412.1 MB, free: 22.79 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.206, allocations: 0 / 412.1 MB, free: 22.79 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.206, allocations: 0 / 412.1 MB, free: 22.79 MB / 298.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.001304/0.2073, allocations: 0.6783 MB / 412.7 MB, free: 22.06 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.2074, allocations: 12.03 kB / 412.8 MB, free: 22.05 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.738e-05/0.2074, allocations: 28.66 kB / 412.8 MB, free: 22.02 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.2077, allocations: 275.5 kB / 413.1 MB, free: 21.71 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003316/0.208, allocations: 128.2 kB / 413.2 MB, free: 21.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.197e-05/0.2081, allocations: 35.89 kB / 413.2 MB, free: 21.54 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007632/0.2088, allocations: 375.2 kB / 413.6 MB, free: 21.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.2089, allocations: 4 kB / 413.6 MB, free: 21.15 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.913e-05/0.2089, allocations: 15.94 kB / 413.6 MB, free: 21.14 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.2089, allocations: 4 kB / 413.6 MB, free: 21.13 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.21, allocations: 391.6 kB / 414 MB, free: 20.75 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009391/0.211, allocations: 0.966 MB / 415 MB, free: 19.73 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009076/0.2119, allocations: 395.8 kB / 415.3 MB, free: 19.31 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005369/0.2124, allocations: 230.3 kB / 415.6 MB, free: 19.08 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.2125, allocations: 0 / 415.6 MB, free: 19.08 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/0.2125, allocations: 46.48 kB / 415.6 MB, free: 19.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 1.202e-06/0.2125, allocations: 0 / 415.6 MB, free: 19.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=38): time 0.003934/0.2164, allocations: 2.317 MB / 417.9 MB, free: 16.45 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.2165, allocations: 114.8 kB / 418 MB, free: 16.31 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.2166, allocations: 203.2 kB / 418.2 MB, free: 16.1 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.2166, allocations: 33.7 kB / 418.3 MB, free: 16.06 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.103e-05/0.2167, allocations: 144.7 kB / 418.4 MB, free: 15.91 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.338e-05/0.2168, allocations: 138 kB / 418.5 MB, free: 15.78 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.2169, allocations: 74.11 kB / 418.6 MB, free: 15.7 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.724e-05/0.2169, allocations: 334.8 kB / 418.9 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002787/0.2172, allocations: 108.8 kB / 419.1 MB, free: 15.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003055/0.2175, allocations: 173.4 kB / 419.2 MB, free: 15.07 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005573/0.2181, allocations: 291.6 kB / 419.5 MB, free: 14.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.2181, allocations: 0 / 419.5 MB, free: 14.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006868/0.2188, allocations: 372.4 kB / 419.9 MB, free: 14.4 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.2188, allocations: 8 kB / 419.9 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.2188, allocations: 0 / 419.9 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.2188, allocations: 4 kB / 419.9 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006359/0.2195, allocations: 151.8 kB / 420 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.2195, allocations: 7.984 kB / 420 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.2197, allocations: 28.91 kB / 420.1 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.2197, allocations: 16 kB / 420.1 MB, free: 14.19 MB / 298.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 9.16e-05/0.2198, allocations: 147.3 kB / 420.2 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.392e-05/0.2199, allocations: 31.56 kB / 420.3 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.703e-05/0.22, allocations: 29.52 kB / 420.3 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.22, allocations: 11.94 kB / 420.3 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.22, allocations: 0 / 420.3 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.22, allocations: 0 / 420.3 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001829/0.2218, allocations: 1.342 MB / 421.6 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.2219, allocations: 4 kB / 421.6 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007777/0.2226, allocations: 168 kB / 421.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.2227, allocations: 4 kB / 421.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-05/0.2227, allocations: 19.92 kB / 421.8 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.2227, allocations: 4 kB / 421.8 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.2227, allocations: 0 / 421.8 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006302/0.229, allocations: 3.431 MB / 425.3 MB, free: 8.742 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.007e-05/0.2291, allocations: 132.8 kB / 425.4 MB, free: 8.594 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.709e-05/0.2292, allocations: 8 kB / 425.4 MB, free: 8.586 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003948/0.2296, allocations: 47.95 kB / 425.5 MB, free: 8.539 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.668e-05/0.2297, allocations: 47.81 kB / 425.5 MB, free: 8.492 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.233e-05/0.2297, allocations: 12 kB / 425.5 MB, free: 8.48 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.223e-05/0.2298, allocations: 160.5 kB / 425.7 MB, free: 8.324 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2298, allocations: 0 / 425.7 MB, free: 8.324 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004928/0.2303, allocations: 116 kB / 425.8 MB, free: 8.211 MB / 298.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.077e-05/0.2304, allocations: 114 kB / 425.9 MB, free: 8.094 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008505/0.2312, allocations: 355.8 kB / 426.2 MB, free: 7.746 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2312, allocations: 0 / 426.2 MB, free: 7.746 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005781/0.2318, allocations: 248 kB / 426.5 MB, free: 7.504 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006677/0.2325, allocations: 67.44 kB / 426.5 MB, free: 7.438 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004475/0.237, allocations: 1.788 MB / 428.3 MB, free: 5.582 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001665/0.2372, allocations: 0.7763 MB / 429.1 MB, free: 4.781 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001801/0.2374, allocations: 42.97 kB / 429.2 MB, free: 4.738 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.2375, allocations: 39.41 kB / 429.2 MB, free: 4.699 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.2375, allocations: 0 / 429.2 MB, free: 4.699 MB / 298.7 MB Notification: Performance of Templates: time 0.006668/0.2442, allocations: 4.876 MB / 434.1 MB, free: 15.86 MB / 314.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches