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.001369/0.001369, allocations: 106 kB / 21.18 MB, free: 0.6992 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.001409/0.001409, allocations: 179.9 kB / 24.46 MB, free: 4.062 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.655/1.655, allocations: 207.6 MB / 235.2 MB, free: 10.02 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.001795/0.001795, allocations: 51.91 kB / 347.7 MB, free: 9.574 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3376, allocations: 49.15 MB / 396.8 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003476/0.3411, allocations: 2.446 MB / 399.3 MB, free: 7.781 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001277/0.3423, allocations: 0.7925 MB / 400 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.3425, allocations: 4.094 kB / 400 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001623/0.3426, allocations: 50.36 kB / 400.1 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001975/0.3428, allocations: 111.6 kB / 400.2 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003453/0.3432, allocations: 126 kB / 400.3 MB, free: 7.023 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004249/0.3436, allocations: 463 kB / 400.8 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.3438, allocations: 70.94 kB / 400.9 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002231/0.344, allocations: 193.1 kB / 401 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002457/0.3442, allocations: 204.2 kB / 401.2 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.617e-05/0.3443, allocations: 41.25 kB / 401.3 MB, free: 6.57 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.368e-05/0.3444, allocations: 37.41 kB / 401.3 MB, free: 6.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.765e-05/0.3444, allocations: 87.27 kB / 401.4 MB, free: 6.512 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001543/0.3446, allocations: 178.6 kB / 401.6 MB, free: 6.406 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004883/0.3451, allocations: 416.9 kB / 402 MB, free: 6.25 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3451, allocations: 0 / 402 MB, free: 6.25 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3451, allocations: 0 / 402 MB, free: 6.25 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.3451, allocations: 1.062 kB / 402 MB, free: 6.25 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.001426/0.3465, allocations: 0.6154 MB / 402.6 MB, free: 5.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.3466, allocations: 17.61 kB / 402.6 MB, free: 5.832 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.094e-05/0.3467, allocations: 35.53 kB / 402.7 MB, free: 5.816 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000342/0.347, allocations: 215.4 kB / 402.9 MB, free: 5.629 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.953e-05/0.3471, allocations: 84.81 kB / 402.9 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.598e-05/0.3471, allocations: 34.14 kB / 403 MB, free: 5.539 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008235/0.348, allocations: 377.2 kB / 403.3 MB, free: 5.387 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.348, allocations: 1.812 kB / 403.3 MB, free: 5.387 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.355e-05/0.348, allocations: 10.44 kB / 403.4 MB, free: 5.379 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.348, allocations: 11.31 kB / 403.4 MB, free: 5.375 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.3492, allocations: 398.5 kB / 403.8 MB, free: 5.281 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.3504, allocations: 0.9107 MB / 404.7 MB, free: 4.641 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.3514, allocations: 394.8 kB / 405.1 MB, free: 4.477 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006516/0.3521, allocations: 216.1 kB / 405.3 MB, free: 4.398 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.525e-05/0.3521, allocations: 3.5 kB / 405.3 MB, free: 4.398 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.3522, allocations: 45.7 kB / 405.3 MB, free: 4.348 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.743e-06/0.3522, allocations: 0 / 405.3 MB, free: 4.348 MB / 318.1 MB Notification: Performance of matching and sorting (n=38): time 0.00422/0.3564, allocations: 1.877 MB / 407.2 MB, free: 3.242 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.3564, allocations: 106.9 kB / 407.3 MB, free: 3.117 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.3566, allocations: 202 kB / 407.5 MB, free: 2.988 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.3566, allocations: 35.11 kB / 407.5 MB, free: 2.949 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.814e-05/0.3567, allocations: 147.5 kB / 407.7 MB, free: 2.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.54e-05/0.3568, allocations: 151.4 kB / 407.8 MB, free: 2.699 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.3569, allocations: 71.27 kB / 407.9 MB, free: 2.66 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.135e-05/0.357, allocations: 338.2 kB / 408.2 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002973/0.3573, allocations: 110.3 kB / 408.3 MB, free: 2.301 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003049/0.3576, allocations: 167.5 kB / 408.5 MB, free: 2.211 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005684/0.3582, allocations: 295.3 kB / 408.8 MB, free: 2.059 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.3582, allocations: 0 / 408.8 MB, free: 2.059 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007657/0.3589, allocations: 373.2 kB / 409.1 MB, free: 1.906 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.359, allocations: 5.344 kB / 409.1 MB, free: 1.906 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.359, allocations: 2.75 kB / 409.1 MB, free: 1.906 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.359, allocations: 4.062 kB / 409.2 MB, free: 1.906 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007007/0.3597, allocations: 147.7 kB / 409.3 MB, free: 1.895 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.3597, allocations: 8.609 kB / 409.3 MB, free: 1.891 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002283/0.3599, allocations: 22.92 kB / 409.3 MB, free: 1.887 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.3599, allocations: 13.12 kB / 409.3 MB, free: 1.883 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.0001231/0.3601, allocations: 147.2 kB / 409.5 MB, free: 1.742 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.495e-05/0.3602, allocations: 33.17 kB / 409.5 MB, free: 1.723 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.211e-05/0.3602, allocations: 34.59 kB / 409.6 MB, free: 1.699 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.3602, allocations: 4 kB / 409.6 MB, free: 1.699 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.3602, allocations: 1.281 kB / 409.6 MB, free: 1.699 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/0.3602, allocations: 3.422 kB / 409.6 MB, free: 1.699 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001987/0.3622, allocations: 1.319 MB / 410.9 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.3622, allocations: 2.094 kB / 410.9 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007942/0.363, allocations: 166.7 kB / 411 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.363, allocations: 7.641 kB / 411.1 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.782e-05/0.3631, allocations: 13.78 kB / 411.1 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.663e-06/0.3631, allocations: 8.234 kB / 411.1 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.3631, allocations: 5.344 kB / 411.1 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001632/0.3647, allocations: 0.9534 MB / 412 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001591/0.3649, allocations: 56.23 kB / 412.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.495e-05/0.3649, allocations: 17.05 kB / 412.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000406/0.3653, allocations: 45.48 kB / 412.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.3654, allocations: 37.19 kB / 412.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.232e-05/0.3655, allocations: 21.48 kB / 412.2 MB, free: 15.9 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001433/0.3656, allocations: 148.4 kB / 412.3 MB, free: 15.79 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3656, allocations: 0 / 412.3 MB, free: 15.79 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004653/0.3661, allocations: 82.91 kB / 412.4 MB, free: 15.78 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.0001471/0.3662, allocations: 107 kB / 412.5 MB, free: 15.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.3672, allocations: 360.8 kB / 412.9 MB, free: 15.52 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3672, allocations: 0 / 412.9 MB, free: 15.52 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006674/0.3679, allocations: 240.8 kB / 413.1 MB, free: 15.42 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007012/0.3686, allocations: 69.31 kB / 413.2 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004933/0.3735, allocations: 1.437 MB / 414.6 MB, free: 14.46 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004452/0.374, allocations: 0.7665 MB / 415.4 MB, free: 13.72 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002107/0.3742, allocations: 43.94 kB / 415.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.3743, allocations: 32.56 kB / 415.5 MB, free: 13.69 MB / 334.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3743, allocations: 1.062 kB / 415.5 MB, free: 13.69 MB / 334.1 MB Notification: Performance of Templates: time 0.01029/0.3846, allocations: 4.588 MB / 420.1 MB, free: 11.37 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.876857438124716]