Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.001629/0.001629, allocations: 119.5 kB / 18.41 MB, free: 4.555 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.001712/0.001712, allocations: 192.3 kB / 21.35 MB, free: 1.621 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 222.9 MB / 247 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.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.0.0_Modelica.Mechanics.Rotational.Examples.Backlash") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001724, allocations: 47.92 kB / 358.7 MB, free: 8.434 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1125, allocations: 49.43 MB / 408.1 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.004271/0.1168, allocations: 2.455 MB / 410.5 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001593/0.1184, allocations: 0.7249 MB / 411.3 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001635/0.1186, allocations: 7.938 kB / 411.3 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001711/0.1188, allocations: 43.58 kB / 411.3 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002483/0.1191, allocations: 103.1 kB / 411.4 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004176/0.1195, allocations: 131.8 kB / 411.5 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005089/0.12, allocations: 462.2 kB / 412 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002041/0.1202, allocations: 88.89 kB / 412.1 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002473/0.1205, allocations: 183.4 kB / 412.3 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002611/0.1208, allocations: 207.3 kB / 412.5 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.327e-05/0.1208, allocations: 40 kB / 412.5 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.54e-05/0.1209, allocations: 40 kB / 412.5 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.56e-05/0.121, allocations: 87.67 kB / 412.6 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001817/0.1212, allocations: 175.3 kB / 412.8 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004785/0.1217, allocations: 414.4 kB / 413.2 MB, free: 1.812 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1217, allocations: 0 / 413.2 MB, free: 1.812 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1217, allocations: 0 / 413.2 MB, free: 1.812 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.1217, allocations: 0 / 413.2 MB, free: 1.812 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.001709/0.1234, allocations: 0.6936 MB / 413.9 MB, free: 1.07 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.1235, allocations: 8.031 kB / 413.9 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.1236, allocations: 44.69 kB / 413.9 MB, free: 1.02 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000508/0.1241, allocations: 271.7 kB / 414.2 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001507/0.1243, allocations: 88.27 kB / 414.3 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.036e-05/0.1244, allocations: 24 kB / 414.3 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009431/0.1253, allocations: 383.2 kB / 414.7 MB, free: 212 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/0.1254, allocations: 7.953 kB / 414.7 MB, free: 204 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.218e-05/0.1254, allocations: 8 kB / 414.7 MB, free: 196 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.1254, allocations: 12 kB / 414.7 MB, free: 184 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.1267, allocations: 395.5 kB / 415.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/0.1281, allocations: 0.9586 MB / 416.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.1292, allocations: 399.6 kB / 416.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006455/0.1299, allocations: 218.4 kB / 416.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.1299, allocations: 7.984 kB / 416.7 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.13, allocations: 38.56 kB / 416.7 MB, free: 14.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 2.574e-06/0.13, allocations: 0 / 416.7 MB, free: 14.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.005313/0.1353, allocations: 2.333 MB / 419 MB, free: 11.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.12e-05/0.1354, allocations: 106.8 kB / 419.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002372/0.1356, allocations: 203.2 kB / 419.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.515e-05/0.1357, allocations: 37.7 kB / 419.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.1358, allocations: 148.8 kB / 419.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.1359, allocations: 146.7 kB / 419.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.1361, allocations: 74.11 kB / 419.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.1363, allocations: 338.8 kB / 420.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003267/0.1366, allocations: 108.8 kB / 420.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000362/0.137, allocations: 169.4 kB / 420.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006807/0.1376, allocations: 291.8 kB / 420.6 MB, free: 9.805 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.1377, allocations: 4 kB / 420.6 MB, free: 9.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009047/0.1386, allocations: 375.5 kB / 421 MB, free: 9.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.1386, allocations: 7.938 kB / 421 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.1386, allocations: 4 kB / 421 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.1386, allocations: 4.094 kB / 421 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007201/0.1394, allocations: 139.8 kB / 421.2 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.1394, allocations: 8 kB / 421.2 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000239/0.1396, allocations: 23.98 kB / 421.2 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.471e-05/0.1397, allocations: 19.98 kB / 421.2 MB, free: 9.227 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.0001686/0.1399, allocations: 149.7 kB / 421.4 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.14, allocations: 35.78 kB / 421.4 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.495e-05/0.14, allocations: 37.52 kB / 421.4 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.1401, allocations: 4 kB / 421.4 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.1401, allocations: 0 / 421.4 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.1401, allocations: 0 / 421.4 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002552/0.1426, allocations: 1.331 MB / 422.8 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.1427, allocations: 4 kB / 422.8 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008556/0.1435, allocations: 172 kB / 422.9 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.1435, allocations: 0 / 422.9 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.375e-05/0.1436, allocations: 15.94 kB / 423 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.789e-06/0.1436, allocations: 11.92 kB / 423 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1436, allocations: 0 / 423 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002149/0.1458, allocations: 0.9526 MB / 423.9 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001726/0.1459, allocations: 125 kB / 424 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.146e-05/0.146, allocations: 15.94 kB / 424.1 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004402/0.1465, allocations: 55.88 kB / 424.1 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.1466, allocations: 35.95 kB / 424.1 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.231e-05/0.1466, allocations: 12 kB / 424.2 MB, free: 6.121 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000177/0.1468, allocations: 160.5 kB / 424.3 MB, free: 5.965 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1468, allocations: 0 / 424.3 MB, free: 5.965 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004645/0.1473, allocations: 80 kB / 424.4 MB, free: 5.887 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.0001675/0.1474, allocations: 119.1 kB / 424.5 MB, free: 5.758 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001095/0.1485, allocations: 363.8 kB / 424.9 MB, free: 5.402 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1486, allocations: 0 / 424.9 MB, free: 5.402 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000724/0.1493, allocations: 252 kB / 425.1 MB, free: 5.156 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007128/0.15, allocations: 71.81 kB / 425.2 MB, free: 5.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005272/0.1553, allocations: 1.484 MB / 426.7 MB, free: 3.543 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004275/0.1558, allocations: 0.7643 MB / 427.4 MB, free: 2.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/0.1559, allocations: 35.42 kB / 427.5 MB, free: 2.719 MB / 350.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1559, allocations: 0 / 427.5 MB, free: 2.719 MB / 350.1 MB Notification: Performance of Templates: time 0.192/0.348, allocations: 3.886 MB / 431.3 MB, free: 22.38 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 7.550621303031221]