Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 165.9 kB / 24.99 MB, free: 8.793 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9902/0.9902, allocations: 177.1 MB / 205.3 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 273 MB, free: 1.863 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.454e-05/1.58e-05, allocations: 2.312 kB / 273 MB, free: 1.859 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002269/0.002285, allocations: 2.474 MB / 275.5 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008642/0.003149, allocations: 0.7443 MB / 276.3 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.892e-05/0.003248, allocations: 7.938 kB / 276.3 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001224/0.003371, allocations: 47.47 kB / 276.3 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001448/0.003516, allocations: 111.1 kB / 276.4 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.003777, allocations: 131.6 kB / 276.6 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003023/0.00408, allocations: 482 kB / 277 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.004216, allocations: 57.08 kB / 277.1 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002181/0.004434, allocations: 263.5 kB / 277.3 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.004585, allocations: 171.6 kB / 277.5 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.44e-05/0.00463, allocations: 40 kB / 277.5 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.767e-05/0.004667, allocations: 43.94 kB / 277.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.263e-05/0.00472, allocations: 83.77 kB / 277.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.081e-05/0.004811, allocations: 131.7 kB / 277.8 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.005063, allocations: 303 kB / 278.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.005066, allocations: 4 kB / 278.1 MB, free: 12.78 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.005067, allocations: 0 / 278.1 MB, free: 12.78 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.005071, allocations: 0 / 278.1 MB, free: 12.78 MB / 266.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.0008597/0.005931, allocations: 0.683 MB / 278.8 MB, free: 12.06 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.005962, allocations: 8.031 kB / 278.8 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.905e-05/0.006051, allocations: 60.69 kB / 278.8 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.006299, allocations: 216.1 kB / 279.1 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.006402, allocations: 139.9 kB / 279.2 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.213e-05/0.006444, allocations: 28.33 kB / 279.2 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004156/0.006859, allocations: 303.8 kB / 279.5 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.006874, allocations: 0 / 279.5 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.509e-05/0.006899, allocations: 12 kB / 279.5 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.006909, allocations: 4 kB / 279.5 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002639/0.007173, allocations: 183.8 kB / 279.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008397/0.008012, allocations: 0.9124 MB / 280.6 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000315/0.008327, allocations: 253.2 kB / 280.9 MB, free: 9.809 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.008474, allocations: 119 kB / 281 MB, free: 9.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.008491, allocations: 12.44 kB / 281 MB, free: 9.668 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.008513, allocations: 41.33 kB / 281 MB, free: 9.617 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.213e-06/0.008514, allocations: 0 / 281 MB, free: 9.617 MB / 266.7 MB Notification: Performance of matching and sorting (n=38): time 0.001516/0.01003, allocations: 1.373 MB / 282.4 MB, free: 8.074 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.01008, allocations: 114.8 kB / 282.5 MB, free: 7.938 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.01021, allocations: 237.6 kB / 282.8 MB, free: 7.688 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.01024, allocations: 29.7 kB / 282.8 MB, free: 7.652 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.98e-05/0.01032, allocations: 199.5 kB / 283 MB, free: 7.453 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.935e-05/0.01039, allocations: 146.7 kB / 283.1 MB, free: 7.309 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.374e-05/0.01048, allocations: 83.83 kB / 283.2 MB, free: 7.219 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.01059, allocations: 0.5001 MB / 283.7 MB, free: 6.707 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.01072, allocations: 64.95 kB / 283.8 MB, free: 6.645 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.01084, allocations: 139 kB / 283.9 MB, free: 6.484 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002225/0.01107, allocations: 197.5 kB / 284.1 MB, free: 6.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.01107, allocations: 0 / 284.1 MB, free: 6.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003118/0.01138, allocations: 265.2 kB / 284.4 MB, free: 6.004 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.01139, allocations: 8 kB / 284.4 MB, free: 5.996 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.0114, allocations: 0 / 284.4 MB, free: 5.996 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.01141, allocations: 4 kB / 284.4 MB, free: 5.992 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003144/0.01173, allocations: 131.9 kB / 284.5 MB, free: 5.863 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.01173, allocations: 7.938 kB / 284.5 MB, free: 5.855 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.92e-05/0.01182, allocations: 15.98 kB / 284.5 MB, free: 5.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.01184, allocations: 16 kB / 284.5 MB, free: 5.824 MB / 266.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.286e-05/0.01193, allocations: 176.5 kB / 284.7 MB, free: 5.641 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.362e-05/0.012, allocations: 39.81 kB / 284.7 MB, free: 5.602 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.003e-05/0.01204, allocations: 33.45 kB / 284.8 MB, free: 5.566 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.01205, allocations: 4 kB / 284.8 MB, free: 5.562 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.01206, allocations: 7.938 kB / 284.8 MB, free: 5.555 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.01206, allocations: 3.984 kB / 284.8 MB, free: 5.551 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009579/0.01302, allocations: 1.14 MB / 285.9 MB, free: 4.324 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.01302, allocations: 0 / 285.9 MB, free: 4.324 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003741/0.0134, allocations: 147.8 kB / 286.1 MB, free: 4.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.0134, allocations: 4 kB / 286.1 MB, free: 4.176 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.01342, allocations: 8.188 kB / 286.1 MB, free: 4.168 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.01342, allocations: 11.98 kB / 286.1 MB, free: 4.156 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.01343, allocations: 4 kB / 286.1 MB, free: 4.152 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006023/0.01403, allocations: 0.8125 MB / 286.9 MB, free: 3.289 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.253e-05/0.0141, allocations: 55.81 kB / 287 MB, free: 3.234 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.01413, allocations: 8 kB / 287 MB, free: 3.227 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.01432, allocations: 35.97 kB / 287 MB, free: 3.191 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.439e-05/0.0144, allocations: 47.8 kB / 287.1 MB, free: 3.145 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.01441, allocations: 16 kB / 287.1 MB, free: 3.129 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.268e-05/0.01448, allocations: 172.5 kB / 287.2 MB, free: 2.961 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01448, allocations: 0 / 287.2 MB, free: 2.961 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000279/0.01476, allocations: 80 kB / 287.3 MB, free: 2.883 MB / 266.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.349e-05/0.01486, allocations: 113.8 kB / 287.4 MB, free: 2.766 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003011/0.01516, allocations: 228 kB / 287.7 MB, free: 2.539 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01516, allocations: 0 / 287.7 MB, free: 2.539 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001642/0.01532, allocations: 143.4 kB / 287.8 MB, free: 2.395 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004354/0.01576, allocations: 84.61 kB / 287.9 MB, free: 2.316 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/0.01818, allocations: 1.19 MB / 289.1 MB, free: 1.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.499e-05/0.01824, allocations: 92.81 kB / 289.2 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001018/0.01834, allocations: 42.94 kB / 289.2 MB, free: 0.918 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.323e-05/0.01843, allocations: 32.5 kB / 289.2 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01843, allocations: 0 / 289.2 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of Templates: time 0.005819/0.02425, allocations: 4.465 MB / 293.7 MB, free: 12.48 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8873574601020664]