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.001751/0.001751, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.002074/0.002074, allocations: 214.7 kB / 24.48 MB, free: 3.941 MB / 14.72 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 2.197/2.197, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001947/0.001947, allocations: 43.94 kB / 378.9 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3113, allocations: 53.37 MB / 432.3 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.00501/0.3164, allocations: 2.304 MB / 434.6 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002023/0.3184, allocations: 0.7406 MB / 435.4 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001722/0.3186, allocations: 7.938 kB / 435.4 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001896/0.3187, allocations: 47.52 kB / 435.4 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003272/0.3191, allocations: 111.1 kB / 435.5 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004489/0.3195, allocations: 127.8 kB / 435.6 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00061/0.3201, allocations: 462.2 kB / 436.1 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002074/0.3203, allocations: 72.03 kB / 436.2 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003354/0.3207, allocations: 195.4 kB / 436.4 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003577/0.321, allocations: 211.3 kB / 436.6 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.461e-05/0.3211, allocations: 36 kB / 436.6 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.637e-05/0.3212, allocations: 36 kB / 436.6 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.3213, allocations: 79.81 kB / 436.7 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002125/0.3215, allocations: 159.4 kB / 436.9 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005784/0.3221, allocations: 418.2 kB / 437.3 MB, free: 1.723 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.3221, allocations: 0 / 437.3 MB, free: 1.723 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3221, allocations: 0 / 437.3 MB, free: 1.723 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.501e-05/0.3221, allocations: 0 / 437.3 MB, free: 1.723 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.002057/0.3242, allocations: 0.6171 MB / 437.9 MB, free: 1.078 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.3242, allocations: 8.031 kB / 437.9 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.3243, allocations: 36.75 kB / 437.9 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005096/0.3248, allocations: 206 kB / 438.1 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001837/0.325, allocations: 143.6 kB / 438.3 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.902e-05/0.3251, allocations: 24 kB / 438.3 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.3265, allocations: 382.3 kB / 438.7 MB, free: 236 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.948e-05/0.3265, allocations: 8 kB / 438.7 MB, free: 228 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.742e-05/0.3266, allocations: 15.92 kB / 438.7 MB, free: 212 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.3266, allocations: 8 kB / 438.7 MB, free: 204 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001776/0.3284, allocations: 390.4 kB / 439.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00174/0.3301, allocations: 0.8175 MB / 439.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/0.3316, allocations: 383.6 kB / 440.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009167/0.3325, allocations: 214.4 kB / 440.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.243e-05/0.3325, allocations: 7.938 kB / 440.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.394e-05/0.3325, allocations: 38.56 kB / 440.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 2.815e-06/0.3325, allocations: 0 / 440.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.00673/0.3393, allocations: 1.873 MB / 442.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.836e-05/0.3394, allocations: 110.8 kB / 442.5 MB, free: 12.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002535/0.3396, allocations: 187 kB / 442.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.735e-05/0.3397, allocations: 34.08 kB / 442.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.3398, allocations: 148.8 kB / 442.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001713/0.34, allocations: 154.7 kB / 443 MB, free: 11.6 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001803/0.3401, allocations: 74.11 kB / 443.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.3403, allocations: 338.8 kB / 443.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004621/0.3408, allocations: 104.8 kB / 443.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000535/0.3413, allocations: 173.4 kB / 443.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008593/0.3422, allocations: 289 kB / 444 MB, free: 10.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.3422, allocations: 4 kB / 444 MB, free: 10.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001253/0.3435, allocations: 367.2 kB / 444.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.3435, allocations: 11.94 kB / 444.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.3435, allocations: 96 / 444.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.3435, allocations: 8 kB / 444.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009368/0.3444, allocations: 147.8 kB / 444.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.248e-05/0.3445, allocations: 4 kB / 444.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003486/0.3448, allocations: 23.97 kB / 444.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-05/0.3449, allocations: 16 kB / 444.6 MB, free: 10.02 MB / 350.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.0002353/0.3451, allocations: 141.8 kB / 444.7 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001564/0.3453, allocations: 35.75 kB / 444.7 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.644e-05/0.3454, allocations: 33.45 kB / 444.8 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.3454, allocations: 4 kB / 444.8 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.3454, allocations: 4 kB / 444.8 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.842e-06/0.3454, allocations: 0 / 444.8 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003328/0.3487, allocations: 1.186 MB / 446 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.397e-06/0.3487, allocations: 4 kB / 446 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/0.35, allocations: 168 kB / 446.1 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/0.35, allocations: 0 / 446.1 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.876e-05/0.35, allocations: 23.98 kB / 446.1 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/0.35, allocations: 4 kB / 446.1 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.797e-06/0.35, allocations: 7.875 kB / 446.2 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002816/0.3528, allocations: 0.9452 MB / 447.1 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002282/0.3531, allocations: 51.88 kB / 447.2 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.329e-05/0.3532, allocations: 12 kB / 447.2 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006796/0.3538, allocations: 51.94 kB / 447.2 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/0.354, allocations: 43.81 kB / 447.3 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.422e-05/0.354, allocations: 19.92 kB / 447.3 MB, free: 7.168 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001683/0.3542, allocations: 131.3 kB / 447.4 MB, free: 7.039 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3542, allocations: 0 / 447.4 MB, free: 7.039 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007161/0.3549, allocations: 84.09 kB / 447.5 MB, free: 6.957 MB / 350.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.0001746/0.3551, allocations: 119.1 kB / 447.6 MB, free: 6.828 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001472/0.3566, allocations: 355.7 kB / 448 MB, free: 6.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.3566, allocations: 0 / 448 MB, free: 6.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009664/0.3575, allocations: 240.9 kB / 448.2 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.3586, allocations: 72.05 kB / 448.3 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007184/0.3658, allocations: 1.441 MB / 449.7 MB, free: 4.684 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.3661, allocations: 163.9 kB / 449.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002656/0.3663, allocations: 38.95 kB / 449.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.3665, allocations: 31.42 kB / 449.9 MB, free: 4.434 MB / 350.1 MB Notification: Performance of SimCode: time 1.503e-06/0.3665, allocations: 0 / 449.9 MB, free: 4.434 MB / 350.1 MB Notification: Performance of Templates: time 0.01323/0.3797, allocations: 4.905 MB / 454.8 MB, free: 15.59 MB / 366.1 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=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 6.772854381997604]