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.001141/0.001141, allocations: 83.58 kB / 21.19 MB, free: 3.383 MB / 18.57 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.001203/0.001203, allocations: 165 kB / 24.56 MB, free: 16 kB / 18.57 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 0.9501/0.9501, allocations: 177.1 MB / 205 MB, free: 5.293 MB / 186.7 MB " [Timeout remaining time 179] 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 1.413e-06/1.413e-06, allocations: 0 / 273 MB, free: 1.414 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.009e-05, allocations: 2.312 kB / 273 MB, free: 1.41 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002527/0.002547, allocations: 2.479 MB / 275.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.003593, allocations: 0.7482 MB / 276.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.003699, allocations: 7.938 kB / 276.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001246/0.003823, allocations: 39.53 kB / 276.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001641/0.003987, allocations: 119 kB / 276.4 MB, free: 14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002926/0.00428, allocations: 131.7 kB / 276.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003302/0.00461, allocations: 486 kB / 277 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.004742, allocations: 53.14 kB / 277 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002344/0.004977, allocations: 271.4 kB / 277.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003931/0.00537, allocations: 171.6 kB / 277.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.143e-05/0.005421, allocations: 36 kB / 277.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.448e-05/0.005466, allocations: 40 kB / 277.5 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.443e-05/0.00552, allocations: 87.7 kB / 277.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.189e-05/0.005612, allocations: 131.7 kB / 277.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002711/0.005883, allocations: 303 kB / 278 MB, free: 12.32 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.005886, allocations: 0 / 278 MB, free: 12.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.005886, allocations: 0 / 278 MB, free: 12.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.005891, allocations: 0 / 278 MB, free: 12.32 MB / 266.7 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.0008286/0.006719, allocations: 0.683 MB / 278.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.006753, allocations: 12.03 kB / 278.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.109e-05/0.006834, allocations: 56.75 kB / 278.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.007076, allocations: 216.1 kB / 279 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/0.007184, allocations: 135.9 kB / 279.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.728e-05/0.007231, allocations: 32.33 kB / 279.1 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004144/0.007646, allocations: 303.8 kB / 279.4 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.007659, allocations: 0 / 279.4 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/0.007684, allocations: 15.94 kB / 279.5 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.007693, allocations: 8 kB / 279.5 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002437/0.007936, allocations: 175.8 kB / 279.6 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007914/0.008728, allocations: 0.9084 MB / 280.6 MB, free: 9.637 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003047/0.009033, allocations: 253.2 kB / 280.8 MB, free: 9.352 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.009181, allocations: 123 kB / 280.9 MB, free: 9.219 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.009199, allocations: 8 kB / 280.9 MB, free: 9.211 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.009223, allocations: 37.39 kB / 281 MB, free: 9.164 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.543e-06/0.009224, allocations: 448 / 281 MB, free: 9.164 MB / 266.7 MB Notification: Performance of matching and sorting (n=38): time 0.001502/0.01073, allocations: 1.381 MB / 282.3 MB, free: 7.613 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.01077, allocations: 110.8 kB / 282.5 MB, free: 7.48 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.01091, allocations: 241.6 kB / 282.7 MB, free: 7.227 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.01093, allocations: 29.7 kB / 282.7 MB, free: 7.191 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.167e-05/0.01102, allocations: 203.5 kB / 282.9 MB, free: 6.988 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.971e-05/0.01111, allocations: 146.6 kB / 283.1 MB, free: 6.844 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.014e-05/0.0112, allocations: 83.83 kB / 283.1 MB, free: 6.754 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.01131, allocations: 0.5001 MB / 283.6 MB, free: 6.242 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.01145, allocations: 64.95 kB / 283.7 MB, free: 6.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.01156, allocations: 135 kB / 283.8 MB, free: 6.023 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000211/0.01177, allocations: 197.7 kB / 284 MB, free: 5.809 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.01177, allocations: 0 / 284 MB, free: 5.809 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003138/0.01209, allocations: 269.1 kB / 284.3 MB, free: 5.543 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.0121, allocations: 10.5 kB / 284.3 MB, free: 5.535 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.01211, allocations: 0 / 284.3 MB, free: 5.535 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.01212, allocations: 4 kB / 284.3 MB, free: 5.531 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003115/0.01244, allocations: 127.9 kB / 284.4 MB, free: 5.406 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.01244, allocations: 3.938 kB / 284.4 MB, free: 5.402 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.849e-05/0.01253, allocations: 23.98 kB / 284.5 MB, free: 5.379 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.01254, allocations: 12 kB / 284.5 MB, free: 5.367 MB / 266.7 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 9.587e-05/0.01264, allocations: 180.5 kB / 284.6 MB, free: 5.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.639e-05/0.01271, allocations: 43.8 kB / 284.7 MB, free: 5.137 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.287e-05/0.01275, allocations: 33.45 kB / 284.7 MB, free: 5.102 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.01275, allocations: 4 kB / 284.7 MB, free: 5.098 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.01276, allocations: 3.938 kB / 284.7 MB, free: 5.094 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.01277, allocations: 7.984 kB / 284.7 MB, free: 5.086 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.0138, allocations: 1.132 MB / 285.9 MB, free: 3.867 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.01381, allocations: 3.984 kB / 285.9 MB, free: 3.863 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003761/0.01418, allocations: 144 kB / 286 MB, free: 3.723 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.01419, allocations: 7.984 kB / 286 MB, free: 3.715 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.01421, allocations: 15.94 kB / 286 MB, free: 3.699 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.01421, allocations: 4 kB / 286 MB, free: 3.695 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.01421, allocations: 0 / 286 MB, free: 3.695 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006116/0.01483, allocations: 0.8165 MB / 286.9 MB, free: 2.828 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.565e-05/0.0149, allocations: 55.81 kB / 286.9 MB, free: 2.773 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.01493, allocations: 12 kB / 286.9 MB, free: 2.762 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/0.01512, allocations: 31.97 kB / 287 MB, free: 2.73 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.807e-05/0.0152, allocations: 47.8 kB / 287 MB, free: 2.684 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.01521, allocations: 16 kB / 287 MB, free: 2.668 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.301e-05/0.01529, allocations: 168.5 kB / 287.2 MB, free: 2.504 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01529, allocations: 0 / 287.2 MB, free: 2.504 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002927/0.01558, allocations: 84 kB / 287.3 MB, free: 2.422 MB / 266.7 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.0001271/0.01571, allocations: 107.2 kB / 287.4 MB, free: 2.309 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003332/0.01604, allocations: 227.7 kB / 287.6 MB, free: 2.086 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01604, allocations: 0 / 287.6 MB, free: 2.086 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00017/0.01621, allocations: 151.4 kB / 287.7 MB, free: 1.934 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004639/0.01667, allocations: 80.58 kB / 287.8 MB, free: 1.855 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002408/0.01908, allocations: 1.19 MB / 289 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.993e-05/0.01915, allocations: 92.81 kB / 289.1 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001051/0.01926, allocations: 34.97 kB / 289.1 MB, free: 472 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.09e-05/0.01935, allocations: 36.48 kB / 289.2 MB, free: 436 kB / 266.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01935, allocations: 0 / 289.2 MB, free: 436 kB / 266.7 MB Notification: Performance of Templates: time 0.09911/0.1185, allocations: 4.755 MB / 293.9 MB, free: 25.73 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7570319487713277]