Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00188/0.00188, allocations: 103.9 kB / 19.75 MB, free: 2.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002524/0.002524, allocations: 190.5 kB / 22.93 MB, free: 5.48 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.526/1.526, allocations: 207.6 MB / 233.5 MB, free: 11 MB / 190.1 MB " [Timeout remaining time 178] 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 62.72 kB / 345.4 MB, free: 10.45 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3209, allocations: 49.11 MB / 394.5 MB, free: 9.453 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.004962/0.3258, allocations: 2.45 MB / 397 MB, free: 7.727 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.3275, allocations: 0.8048 MB / 397.8 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001702/0.3277, allocations: 8.094 kB / 397.8 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002123/0.3279, allocations: 38.73 kB / 397.8 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002389/0.3281, allocations: 103.1 kB / 397.9 MB, free: 7.047 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003996/0.3285, allocations: 133.6 kB / 398 MB, free: 6.969 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005053/0.329, allocations: 464.3 kB / 398.5 MB, free: 6.746 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000183/0.3292, allocations: 61.55 kB / 398.5 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002632/0.3295, allocations: 189.3 kB / 398.7 MB, free: 6.629 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002734/0.3297, allocations: 207.3 kB / 398.9 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.063e-05/0.3298, allocations: 37.62 kB / 399 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.372e-05/0.3299, allocations: 38.12 kB / 399 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.092e-05/0.33, allocations: 88.69 kB / 399.1 MB, free: 6.477 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000172/0.3301, allocations: 179.9 kB / 399.3 MB, free: 6.371 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00052/0.3306, allocations: 413 kB / 399.7 MB, free: 6.219 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3306, allocations: 9.438 kB / 399.7 MB, free: 6.211 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3307, allocations: 0 / 399.7 MB, free: 6.211 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.3307, allocations: 0 / 399.7 MB, free: 6.211 MB / 318.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.001592/0.3323, allocations: 0.6836 MB / 400.4 MB, free: 5.715 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.3323, allocations: 8.969 kB / 400.4 MB, free: 5.715 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.977e-05/0.3324, allocations: 39.16 kB / 400.4 MB, free: 5.695 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003475/0.3327, allocations: 277.3 kB / 400.7 MB, free: 5.438 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/0.3329, allocations: 85.19 kB / 400.8 MB, free: 5.363 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.867e-05/0.3329, allocations: 33.84 kB / 400.8 MB, free: 5.348 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009146/0.3338, allocations: 377.5 kB / 401.2 MB, free: 5.195 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.534e-05/0.3339, allocations: 2.984 kB / 401.2 MB, free: 5.195 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.831e-05/0.3339, allocations: 10.81 kB / 401.2 MB, free: 5.188 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.3339, allocations: 6.688 kB / 401.2 MB, free: 5.188 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/0.3351, allocations: 397.9 kB / 401.6 MB, free: 5.094 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001315/0.3364, allocations: 0.9527 MB / 402.5 MB, free: 4.414 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.3374, allocations: 395.7 kB / 402.9 MB, free: 4.25 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000571/0.338, allocations: 214.1 kB / 403.1 MB, free: 4.172 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.181e-05/0.338, allocations: 5.047 kB / 403.1 MB, free: 4.172 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.338, allocations: 37.36 kB / 403.2 MB, free: 4.129 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.693e-06/0.338, allocations: 0 / 403.2 MB, free: 4.129 MB / 318.1 MB Notification: Performance of matching and sorting (n=38): time 0.004544/0.3426, allocations: 2.334 MB / 405.5 MB, free: 2.453 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.3426, allocations: 107 kB / 405.6 MB, free: 2.328 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/0.3428, allocations: 202.5 kB / 405.8 MB, free: 2.199 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.3428, allocations: 35.08 kB / 405.8 MB, free: 2.16 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.661e-05/0.3429, allocations: 148.7 kB / 406 MB, free: 2.027 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.683e-05/0.343, allocations: 146.3 kB / 406.1 MB, free: 1.91 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.3432, allocations: 75.39 kB / 406.2 MB, free: 1.867 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.453e-05/0.3432, allocations: 340.5 kB / 406.5 MB, free: 1.539 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003197/0.3436, allocations: 106.2 kB / 406.6 MB, free: 1.508 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000312/0.3439, allocations: 172.1 kB / 406.8 MB, free: 1.414 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005801/0.3445, allocations: 295.7 kB / 407.1 MB, free: 1.262 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.3445, allocations: 0 / 407.1 MB, free: 1.262 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007909/0.3452, allocations: 375 kB / 407.5 MB, free: 1.109 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.3453, allocations: 6.344 kB / 407.5 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.3453, allocations: 1.062 kB / 407.5 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.583e-05/0.3453, allocations: 2.812 kB / 407.5 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000705/0.346, allocations: 143.6 kB / 407.6 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.346, allocations: 4.141 kB / 407.6 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002275/0.3462, allocations: 31.25 kB / 407.6 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.699e-05/0.3463, allocations: 16.58 kB / 407.7 MB, free: 1.082 MB / 318.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.0001389/0.3464, allocations: 152.4 kB / 407.8 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.437e-05/0.3465, allocations: 29.58 kB / 407.8 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.151e-05/0.3466, allocations: 37.66 kB / 407.9 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.271e-06/0.3466, allocations: 4.812 kB / 407.9 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.3466, allocations: 1.438 kB / 407.9 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.3466, allocations: 1.781 kB / 407.9 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002296/0.3489, allocations: 1.331 MB / 409.2 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.3489, allocations: 7.406 kB / 409.2 MB, free: 4 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000846/0.3497, allocations: 165.5 kB / 409.4 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.3498, allocations: 8.188 kB / 409.4 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.495e-05/0.3498, allocations: 17.45 kB / 409.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.478e-06/0.3498, allocations: 6.688 kB / 409.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.3498, allocations: 2.969 kB / 409.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002111/0.3519, allocations: 0.9484 MB / 410.4 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002187/0.3521, allocations: 134 kB / 410.5 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.719e-05/0.3522, allocations: 16.5 kB / 410.5 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004387/0.3526, allocations: 44.88 kB / 410.6 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.3528, allocations: 36.33 kB / 410.6 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.59e-05/0.3528, allocations: 14.33 kB / 410.6 MB, free: 15.11 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000202/0.353, allocations: 151.7 kB / 410.8 MB, free: 14.99 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.353, allocations: 0 / 410.8 MB, free: 14.99 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005067/0.3535, allocations: 84.09 kB / 410.8 MB, free: 14.98 MB / 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.0001667/0.3537, allocations: 114.4 kB / 410.9 MB, free: 14.87 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001063/0.3548, allocations: 352.8 kB / 411.3 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3548, allocations: 5.469 kB / 411.3 MB, free: 14.72 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006993/0.3555, allocations: 238.1 kB / 411.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007379/0.3562, allocations: 82.91 kB / 411.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005249/0.3614, allocations: 1.44 MB / 413.1 MB, free: 13.65 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005398/0.362, allocations: 0.7669 MB / 413.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002318/0.3622, allocations: 41.02 kB / 413.9 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.3623, allocations: 36.02 kB / 413.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of SimCode: time 1.613e-06/0.3623, allocations: 0.9688 kB / 413.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of Templates: time 0.01205/0.3744, allocations: 4.508 MB / 418.4 MB, free: 10.61 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.854169248603284]