Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.007969/0.007969, allocations: 110.1 kB / 21.98 MB, free: 5.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001623/0.001623, allocations: 218.2 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.493/1.493, allocations: 230.6 MB / 259 MB, free: 8.027 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 63.89 kB / 379.8 MB, free: 2.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2748, allocations: 53.36 MB / 433.2 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003959/0.2787, allocations: 2.473 MB / 435.6 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001694/0.2804, allocations: 0.7834 MB / 436.4 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.2806, allocations: 7.938 kB / 436.4 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001667/0.2807, allocations: 39.59 kB / 436.5 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002267/0.281, allocations: 115 kB / 436.6 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003826/0.2813, allocations: 127.8 kB / 436.7 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004971/0.2818, allocations: 462.2 kB / 437.1 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001787/0.282, allocations: 66.02 kB / 437.2 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002601/0.2823, allocations: 191.4 kB / 437.4 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002705/0.2825, allocations: 207.3 kB / 437.6 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.696e-05/0.2826, allocations: 36 kB / 437.6 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.227e-05/0.2827, allocations: 36 kB / 437.7 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.469e-05/0.2827, allocations: 91.73 kB / 437.8 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000174/0.2829, allocations: 179.3 kB / 437.9 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004899/0.2834, allocations: 411.7 kB / 438.3 MB, free: 1.758 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/0.2834, allocations: 4 kB / 438.3 MB, free: 1.754 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2834, allocations: 3.938 kB / 438.3 MB, free: 1.75 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.2834, allocations: 0 / 438.3 MB, free: 1.75 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.001606/0.285, allocations: 0.6144 MB / 439 MB, free: 1.105 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.2851, allocations: 8.031 kB / 439 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.268e-05/0.2852, allocations: 36.75 kB / 439 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004484/0.2856, allocations: 214 kB / 439.2 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001272/0.2857, allocations: 84.2 kB / 439.3 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.768e-05/0.2858, allocations: 28 kB / 439.3 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009249/0.2867, allocations: 378.4 kB / 439.7 MB, free: 328 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.2868, allocations: 3.938 kB / 439.7 MB, free: 324 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.339e-05/0.2868, allocations: 12 kB / 439.7 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.2868, allocations: 8 kB / 439.7 MB, free: 304 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00118/0.288, allocations: 398.4 kB / 440.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.2894, allocations: 0.9342 MB / 441 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.2905, allocations: 391.5 kB / 441.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005854/0.291, allocations: 210.4 kB / 441.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.2911, allocations: 4 kB / 441.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.2911, allocations: 46.5 kB / 441.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 2.114e-06/0.2911, allocations: 0 / 441.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.00467/0.2958, allocations: 1.874 MB / 443.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.092e-05/0.2959, allocations: 118.7 kB / 443.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.2961, allocations: 203.5 kB / 443.9 MB, free: 11.87 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.892e-05/0.2961, allocations: 29.7 kB / 443.9 MB, free: 11.83 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.2963, allocations: 148.8 kB / 444 MB, free: 11.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/0.2964, allocations: 150.7 kB / 444.2 MB, free: 11.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.2965, allocations: 78.02 kB / 444.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.2967, allocations: 338.8 kB / 444.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003169/0.297, allocations: 112.8 kB / 444.7 MB, free: 11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003467/0.2974, allocations: 165.5 kB / 444.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006654/0.298, allocations: 285.9 kB / 445.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.298, allocations: 4 kB / 445.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008379/0.2989, allocations: 371.8 kB / 445.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.2989, allocations: 10.66 kB / 445.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.2989, allocations: 3.938 kB / 445.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.2989, allocations: 8 kB / 445.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007051/0.2996, allocations: 151.8 kB / 445.7 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/0.2996, allocations: 7.984 kB / 445.7 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002355/0.2999, allocations: 23.98 kB / 445.7 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/0.2999, allocations: 12 kB / 445.7 MB, free: 9.945 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.0001673/0.3001, allocations: 141.8 kB / 445.9 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.3002, allocations: 39.73 kB / 445.9 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.911e-05/0.3002, allocations: 29.47 kB / 445.9 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.3002, allocations: 8 kB / 445.9 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.3003, allocations: 4 kB / 445.9 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.3003, allocations: 3.984 kB / 445.9 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002395/0.3027, allocations: 1.291 MB / 447.2 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.3027, allocations: 0 / 447.2 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008356/0.3035, allocations: 168 kB / 447.4 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.328e-05/0.3035, allocations: 7.984 kB / 447.4 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.878e-05/0.3035, allocations: 15.94 kB / 447.4 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.3036, allocations: 4 kB / 447.4 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.3036, allocations: 4 kB / 447.4 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002016/0.3056, allocations: 0.9599 MB / 448.4 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/0.3057, allocations: 55.83 kB / 448.4 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.488e-05/0.3058, allocations: 15.92 kB / 448.5 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004057/0.3062, allocations: 43.95 kB / 448.5 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.3063, allocations: 47.88 kB / 448.5 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.611e-05/0.3063, allocations: 11.98 kB / 448.6 MB, free: 6.969 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001439/0.3065, allocations: 148.6 kB / 448.7 MB, free: 6.824 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3065, allocations: 4.031 kB / 448.7 MB, free: 6.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004933/0.307, allocations: 87.94 kB / 448.8 MB, free: 6.734 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.0001319/0.3071, allocations: 103.2 kB / 448.9 MB, free: 6.621 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001014/0.3081, allocations: 359.8 kB / 449.2 MB, free: 6.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3081, allocations: 0 / 449.2 MB, free: 6.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006716/0.3088, allocations: 236 kB / 449.5 MB, free: 6.039 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007328/0.3095, allocations: 80.05 kB / 449.6 MB, free: 5.969 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004921/0.3144, allocations: 1.469 MB / 451 MB, free: 4.441 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004456/0.3149, allocations: 0.7643 MB / 451.8 MB, free: 3.648 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001562/0.3151, allocations: 35.42 kB / 451.8 MB, free: 3.617 MB / 350.1 MB Notification: Performance of SimCode: time 1.462e-06/0.3151, allocations: 0 / 451.8 MB, free: 3.617 MB / 350.1 MB Notification: Performance of Templates: time 0.007079/0.3221, allocations: 3.926 MB / 455.7 MB, free: 15.7 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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: 7.493658016901463]