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.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.001467/0.001467, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001587/0.001587, allocations: 214.8 kB / 24.47 MB, free: 3.777 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.614/1.614, allocations: 207.7 MB / 235.3 MB, free: 9.805 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.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_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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 57.62 kB / 347.7 MB, free: 9.391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.3618, allocations: 49.15 MB / 396.8 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.00351/0.3653, allocations: 2.285 MB / 399.1 MB, free: 7.852 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.3666, allocations: 0.7601 MB / 399.9 MB, free: 7.32 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.3668, allocations: 8.469 kB / 399.9 MB, free: 7.316 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001623/0.3669, allocations: 38.77 kB / 399.9 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002095/0.3671, allocations: 107.3 kB / 400 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003769/0.3675, allocations: 135.6 kB / 400.2 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004523/0.368, allocations: 459 kB / 400.6 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.3681, allocations: 65.97 kB / 400.7 MB, free: 6.879 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002404/0.3684, allocations: 193.4 kB / 400.9 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002312/0.3686, allocations: 180.4 kB / 401 MB, free: 6.723 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.887e-05/0.3687, allocations: 37 kB / 401.1 MB, free: 6.723 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.794e-05/0.3688, allocations: 38.22 kB / 401.1 MB, free: 6.723 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.746e-05/0.3688, allocations: 98.89 kB / 401.2 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.369, allocations: 150.7 kB / 401.4 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004579/0.3694, allocations: 416.2 kB / 401.8 MB, free: 6.418 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3694, allocations: 1.156 kB / 401.8 MB, free: 6.418 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3694, allocations: 0 / 401.8 MB, free: 6.418 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.3694, allocations: 0 / 401.8 MB, free: 6.418 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.001486/0.3709, allocations: 0.6171 MB / 402.4 MB, free: 6.008 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.371, allocations: 12.77 kB / 402.4 MB, free: 6.004 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.408e-05/0.3711, allocations: 35.12 kB / 402.4 MB, free: 5.988 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004138/0.3715, allocations: 219.3 kB / 402.6 MB, free: 5.797 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/0.3716, allocations: 137.2 kB / 402.8 MB, free: 5.66 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.724e-05/0.3717, allocations: 29.33 kB / 402.8 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008822/0.3725, allocations: 387.5 kB / 403.2 MB, free: 5.488 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.78e-05/0.3726, allocations: 1.812 kB / 403.2 MB, free: 5.488 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.437e-05/0.3726, allocations: 10.62 kB / 403.2 MB, free: 5.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/0.3726, allocations: 6.844 kB / 403.2 MB, free: 5.48 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001221/0.3738, allocations: 395.5 kB / 403.6 MB, free: 5.387 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.375, allocations: 0.7925 MB / 404.4 MB, free: 4.805 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.376, allocations: 391.3 kB / 404.8 MB, free: 4.645 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000603/0.3767, allocations: 211.1 kB / 405 MB, free: 4.57 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.911e-05/0.3767, allocations: 4.219 kB / 405 MB, free: 4.57 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.3767, allocations: 42.33 kB / 405 MB, free: 4.523 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.904e-06/0.3767, allocations: 0 / 405 MB, free: 4.523 MB / 318.1 MB Notification: Performance of matching and sorting (n=38): time 0.004523/0.3812, allocations: 1.871 MB / 406.9 MB, free: 3.426 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.3813, allocations: 116.2 kB / 407 MB, free: 3.293 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.3815, allocations: 184.5 kB / 407.2 MB, free: 3.164 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.3815, allocations: 31.98 kB / 407.2 MB, free: 3.129 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.3816, allocations: 152.7 kB / 407.4 MB, free: 2.996 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.082e-05/0.3817, allocations: 143.3 kB / 407.5 MB, free: 2.883 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.3818, allocations: 74.25 kB / 407.6 MB, free: 2.84 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.184e-05/0.3819, allocations: 334.2 kB / 407.9 MB, free: 2.52 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003192/0.3822, allocations: 110.4 kB / 408 MB, free: 2.484 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000351/0.3826, allocations: 168.4 kB / 408.2 MB, free: 2.395 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006461/0.3832, allocations: 301.2 kB / 408.5 MB, free: 2.238 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3832, allocations: 4 kB / 408.5 MB, free: 2.234 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008254/0.384, allocations: 360.4 kB / 408.8 MB, free: 2.094 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.384, allocations: 10.88 kB / 408.8 MB, free: 2.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.3841, allocations: 1.219 kB / 408.8 MB, free: 2.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.3841, allocations: 3.906 kB / 408.8 MB, free: 2.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007138/0.3848, allocations: 146.8 kB / 409 MB, free: 2.078 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.3848, allocations: 4.594 kB / 409 MB, free: 2.078 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002436/0.385, allocations: 30.8 kB / 409 MB, free: 2.066 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/0.3851, allocations: 8.938 kB / 409 MB, free: 2.066 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.0001448/0.3852, allocations: 152.5 kB / 409.2 MB, free: 1.922 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.8e-05/0.3853, allocations: 29.3 kB / 409.2 MB, free: 1.906 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.256e-05/0.3854, allocations: 28.69 kB / 409.2 MB, free: 1.883 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.3854, allocations: 4.781 kB / 409.2 MB, free: 1.883 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.649e-05/0.3854, allocations: 1.469 kB / 409.2 MB, free: 1.883 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.3854, allocations: 5.922 kB / 409.2 MB, free: 1.879 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002256/0.3877, allocations: 1.213 MB / 410.5 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.3877, allocations: 2.281 kB / 410.5 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007995/0.3885, allocations: 170.3 kB / 410.6 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.136e-06/0.3885, allocations: 3.906 kB / 410.6 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-05/0.3885, allocations: 8.938 kB / 410.6 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.704e-06/0.3885, allocations: 12.14 kB / 410.6 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.3885, allocations: 6.125 kB / 410.7 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.3904, allocations: 0.9477 MB / 411.6 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/0.3905, allocations: 52.38 kB / 411.7 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.032e-05/0.3906, allocations: 13.19 kB / 411.7 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003979/0.391, allocations: 46.92 kB / 411.7 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.3911, allocations: 44.14 kB / 411.8 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.682e-05/0.3911, allocations: 15.09 kB / 411.8 MB, free: 236 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001025/0.3912, allocations: 137.8 kB / 411.9 MB, free: 128 kB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3912, allocations: 0 / 411.9 MB, free: 128 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004899/0.3917, allocations: 79 kB / 412 MB, free: 120 kB / 318.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.0001096/0.3918, allocations: 110.1 kB / 412.1 MB, free: 12 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001116/0.3929, allocations: 353.6 kB / 412.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3929, allocations: 7.875 kB / 412.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007866/0.3937, allocations: 244.6 kB / 412.7 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007346/0.3944, allocations: 76.64 kB / 412.8 MB, free: 15.71 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005237/0.3997, allocations: 1.438 MB / 414.2 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001992/0.3999, allocations: 159.3 kB / 414.3 MB, free: 14.68 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002028/0.4001, allocations: 39.59 kB / 414.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.4002, allocations: 36.3 kB / 414.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of SimCode: time 1.213e-06/0.4002, allocations: 0 / 414.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of Templates: time 0.01088/0.4111, allocations: 4.8 MB / 419.2 MB, free: 12.11 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: 5.051964808255434]