Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009183/0.0009183, allocations: 179.5 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.287/1.287, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007282/0.0007284, allocations: 100.4 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002758/0.0002759, allocations: 8 kB / 327 MB, free: 200 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.1965, allocations: 47.57 MB / 374.5 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002295/0.1989, allocations: 2.046 MB / 376.6 MB, free: 43.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.2002, allocations: 0.7346 MB / 377.3 MB, free: 43.2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002336/0.2005, allocations: 4.25 kB / 377.3 MB, free: 43.2 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.2006, allocations: 27.91 kB / 377.4 MB, free: 43.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002602/0.2009, allocations: 86.58 kB / 377.4 MB, free: 43.11 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000349/0.2012, allocations: 94.75 kB / 377.5 MB, free: 43.03 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003573/0.2016, allocations: 421.9 kB / 378 MB, free: 42.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.2018, allocations: 73.81 kB / 378 MB, free: 42.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001838/0.202, allocations: 155.6 kB / 378.2 MB, free: 42.65 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001805/0.2022, allocations: 188.5 kB / 378.4 MB, free: 42.53 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.804e-05/0.2022, allocations: 20.5 kB / 378.4 MB, free: 42.53 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.148e-05/0.2023, allocations: 20.06 kB / 378.4 MB, free: 42.53 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.509e-05/0.2023, allocations: 62.2 kB / 378.5 MB, free: 42.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.904e-05/0.2024, allocations: 80.27 kB / 378.5 MB, free: 42.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002098/0.2026, allocations: 291.5 kB / 378.8 MB, free: 42.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2026, allocations: 4 kB / 378.8 MB, free: 42.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2026, allocations: 0 / 378.8 MB, free: 42.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.2026, allocations: 3.938 kB / 378.8 MB, free: 42.2 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.001334/0.204, allocations: 0.6781 MB / 379.5 MB, free: 41.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.204, allocations: 8.875 kB / 379.5 MB, free: 41.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.097e-05/0.2041, allocations: 34.03 kB / 379.5 MB, free: 41.65 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/0.2044, allocations: 267.7 kB / 379.8 MB, free: 41.38 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003514/0.2048, allocations: 132.1 kB / 379.9 MB, free: 41.28 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.86e-05/0.2048, allocations: 33.06 kB / 380 MB, free: 41.27 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008483/0.2057, allocations: 412.1 kB / 380.4 MB, free: 41.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.2057, allocations: 1.031 kB / 380.4 MB, free: 41.02 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.315e-05/0.2058, allocations: 15 kB / 380.4 MB, free: 41.01 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.2058, allocations: 10.56 kB / 380.4 MB, free: 41.01 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/0.207, allocations: 458.3 kB / 380.8 MB, free: 40.82 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.208, allocations: 0.9852 MB / 381.8 MB, free: 39.96 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.2091, allocations: 450.5 kB / 382.3 MB, free: 39.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006133/0.2097, allocations: 245.5 kB / 382.5 MB, free: 39.62 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.2098, allocations: 12.2 kB / 382.5 MB, free: 39.61 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.2098, allocations: 36.72 kB / 382.6 MB, free: 39.57 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 2.204e-06/0.2098, allocations: 0 / 382.6 MB, free: 39.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=38): time 0.004651/0.2145, allocations: 2.521 MB / 385.1 MB, free: 37.66 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.2145, allocations: 108.5 kB / 385.2 MB, free: 37.53 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.2147, allocations: 203 kB / 385.4 MB, free: 37.38 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.2147, allocations: 31.39 kB / 385.4 MB, free: 37.34 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.552e-05/0.2148, allocations: 146.6 kB / 385.6 MB, free: 37.2 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.251e-05/0.2149, allocations: 142.3 kB / 385.7 MB, free: 37.08 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.104e-05/0.2149, allocations: 6.125 kB / 385.7 MB, free: 37.07 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.138e-05/0.215, allocations: 337.5 kB / 386 MB, free: 36.74 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002971/0.2153, allocations: 112.3 kB / 386.1 MB, free: 36.7 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002875/0.2156, allocations: 174.4 kB / 386.3 MB, free: 36.52 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002836/0.2159, allocations: 142.9 kB / 386.5 MB, free: 36.38 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2159, allocations: 0 / 386.5 MB, free: 36.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00068/0.2166, allocations: 372.8 kB / 386.8 MB, free: 36.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.2166, allocations: 8 kB / 386.8 MB, free: 36.01 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.2166, allocations: 3.953 kB / 386.8 MB, free: 36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.2166, allocations: 4 kB / 386.8 MB, free: 36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006595/0.2173, allocations: 171.9 kB / 387 MB, free: 35.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.2173, allocations: 0 / 387 MB, free: 35.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002268/0.2175, allocations: 23.98 kB / 387 MB, free: 35.81 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.2176, allocations: 16 kB / 387 MB, free: 35.79 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001042/0.2177, allocations: 153.7 kB / 387.2 MB, free: 35.63 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.263e-05/0.2178, allocations: 23.72 kB / 387.2 MB, free: 35.61 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.989e-05/0.2178, allocations: 33.53 kB / 387.2 MB, free: 35.58 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.2178, allocations: 7.953 kB / 387.3 MB, free: 35.57 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.2178, allocations: 3.984 kB / 387.3 MB, free: 35.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.2178, allocations: 0 / 387.3 MB, free: 35.57 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001892/0.2197, allocations: 1.394 MB / 388.7 MB, free: 34.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.2198, allocations: 4 kB / 388.7 MB, free: 34.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007917/0.2205, allocations: 211.8 kB / 388.9 MB, free: 33.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.2206, allocations: 4 kB / 388.9 MB, free: 33.86 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.562e-05/0.2206, allocations: 8.469 kB / 388.9 MB, free: 33.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.2206, allocations: 7.938 kB / 388.9 MB, free: 33.85 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2206, allocations: 3.953 kB / 388.9 MB, free: 33.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001711/0.2223, allocations: 1.065 MB / 390 MB, free: 32.74 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.661e-05/0.2224, allocations: 128.8 kB / 390.1 MB, free: 32.6 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.328e-05/0.2225, allocations: 8 kB / 390.1 MB, free: 32.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004117/0.2229, allocations: 63.95 kB / 390.1 MB, free: 32.53 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.767e-05/0.223, allocations: 44.02 kB / 390.2 MB, free: 32.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/0.223, allocations: 15.98 kB / 390.2 MB, free: 32.47 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.161e-05/0.2231, allocations: 148.6 kB / 390.4 MB, free: 32.32 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2231, allocations: 0 / 390.4 MB, free: 32.32 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003946/0.2235, allocations: 84 kB / 390.4 MB, free: 32.24 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.785e-05/0.2236, allocations: 111.1 kB / 390.5 MB, free: 32.12 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008552/0.2245, allocations: 391.8 kB / 390.9 MB, free: 31.74 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2245, allocations: 4 kB / 390.9 MB, free: 31.74 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006131/0.2251, allocations: 280 kB / 391.2 MB, free: 31.46 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006428/0.2257, allocations: 64.52 kB / 391.3 MB, free: 31.4 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004449/0.2302, allocations: 1.774 MB / 393 MB, free: 29.57 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001572/0.2304, allocations: 0.7724 MB / 393.8 MB, free: 28.77 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.2305, allocations: 31.44 kB / 393.8 MB, free: 28.74 MB / 298.7 MB Notification: Performance of SimCode: time 6.92e-07/0.2305, allocations: 0 / 393.8 MB, free: 28.74 MB / 298.7 MB Notification: Performance of Templates: time 0.004392/0.2349, allocations: 3.821 MB / 397.7 MB, free: 24.93 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches