Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001331/0.001331, allocations: 77.7 kB / 21.25 MB, free: 0.5469 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.001468/0.001468, allocations: 161.3 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 177.1 MB / 204.7 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.Backlash") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 61.64 kB / 325.5 MB, free: 192 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0961/0.09808, allocations: 53.38 MB / 378.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.005607/0.1037, allocations: 2.306 MB / 381.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002099/0.1058, allocations: 0.7366 MB / 381.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002172/0.106, allocations: 7.938 kB / 381.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002357/0.1062, allocations: 43.58 kB / 382 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003809/0.1066, allocations: 111.1 kB / 382.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005812/0.1072, allocations: 135.6 kB / 382.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008099/0.108, allocations: 458.2 kB / 382.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002285/0.1082, allocations: 57.14 kB / 382.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004222/0.1087, allocations: 191.4 kB / 382.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004256/0.1091, allocations: 187.2 kB / 383.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.1092, allocations: 36 kB / 383.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.1093, allocations: 40 kB / 383.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.1095, allocations: 87.73 kB / 383.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002755/0.1097, allocations: 151.4 kB / 383.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007257/0.1105, allocations: 418.4 kB / 383.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1105, allocations: 0 / 383.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1105, allocations: 0 / 383.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.1105, allocations: 3.938 kB / 383.8 MB, free: 10.52 MB / 350.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.002253/0.1127, allocations: 0.626 MB / 384.5 MB, free: 9.863 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/0.1128, allocations: 11.98 kB / 384.5 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001328/0.1129, allocations: 36.75 kB / 384.5 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006106/0.1135, allocations: 206.7 kB / 384.7 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000219/0.1137, allocations: 143.5 kB / 384.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.367e-05/0.1138, allocations: 28 kB / 384.9 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001586/0.1154, allocations: 382.4 kB / 385.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.015e-05/0.1155, allocations: 0 / 385.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.248e-05/0.1155, allocations: 12 kB / 385.3 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.1155, allocations: 4 kB / 385.3 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002038/0.1176, allocations: 395.5 kB / 385.6 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001853/0.1194, allocations: 0.8062 MB / 386.4 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001731/0.1211, allocations: 391.5 kB / 386.8 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009883/0.1221, allocations: 202.9 kB / 387 MB, free: 7.145 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.471e-05/0.1222, allocations: 11.94 kB / 387 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.191e-05/0.1222, allocations: 38.55 kB / 387.1 MB, free: 7.086 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 2.395e-06/0.1222, allocations: 3.938 kB / 387.1 MB, free: 7.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.007427/0.1296, allocations: 1.874 MB / 389 MB, free: 5.055 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001747/0.1298, allocations: 106.8 kB / 389.1 MB, free: 4.926 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003748/0.1302, allocations: 194.9 kB / 389.3 MB, free: 4.723 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.987e-05/0.1302, allocations: 33.7 kB / 389.3 MB, free: 4.684 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.1304, allocations: 156.7 kB / 389.4 MB, free: 4.527 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/0.1306, allocations: 142.7 kB / 389.6 MB, free: 4.387 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002141/0.1308, allocations: 78.19 kB / 389.7 MB, free: 4.305 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000227/0.131, allocations: 338.8 kB / 390 MB, free: 3.965 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005312/0.1316, allocations: 108.9 kB / 390.1 MB, free: 3.855 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005928/0.1322, allocations: 166 kB / 390.3 MB, free: 3.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.1332, allocations: 294.9 kB / 390.5 MB, free: 3.379 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1332, allocations: 0 / 390.5 MB, free: 3.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001281/0.1345, allocations: 361.2 kB / 390.9 MB, free: 3.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.1345, allocations: 7.938 kB / 390.9 MB, free: 3.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.1345, allocations: 4 kB / 390.9 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.1345, allocations: 4.094 kB / 390.9 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/0.1357, allocations: 143.8 kB / 391 MB, free: 2.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.954e-05/0.1357, allocations: 15.92 kB / 391.1 MB, free: 2.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003699/0.1361, allocations: 27.98 kB / 391.1 MB, free: 2.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.976e-05/0.1361, allocations: 12 kB / 391.1 MB, free: 2.809 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.0002353/0.1363, allocations: 145.7 kB / 391.2 MB, free: 2.656 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001667/0.1365, allocations: 31.75 kB / 391.3 MB, free: 2.625 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.61e-05/0.1366, allocations: 37.45 kB / 391.3 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.1366, allocations: 4 kB / 391.3 MB, free: 2.582 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.1366, allocations: 0 / 391.3 MB, free: 2.582 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.1366, allocations: 3.984 kB / 391.3 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003801/0.1404, allocations: 1.191 MB / 392.5 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.1404, allocations: 0 / 392.5 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00134/0.1418, allocations: 171.9 kB / 392.7 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.431e-05/0.1418, allocations: 7.984 kB / 392.7 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.312e-05/0.1418, allocations: 8 kB / 392.7 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.705e-06/0.1418, allocations: 8.469 kB / 392.7 MB, free: 1.117 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/0.1418, allocations: 7.938 kB / 392.7 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003172/0.145, allocations: 0.9452 MB / 393.7 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001862/0.1452, allocations: 55.81 kB / 393.7 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.451e-05/0.1453, allocations: 19.98 kB / 393.7 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006627/0.1459, allocations: 39.95 kB / 393.8 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001726/0.1461, allocations: 39.95 kB / 393.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-05/0.1462, allocations: 19.98 kB / 393.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001791/0.1463, allocations: 143.2 kB / 394 MB, free: 15.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1463, allocations: 0 / 394 MB, free: 15.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007433/0.1471, allocations: 76 kB / 394 MB, free: 15.73 MB / 366.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.0001968/0.1473, allocations: 111.2 kB / 394.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00155/0.1488, allocations: 354.5 kB / 394.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1488, allocations: 0 / 394.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00105/0.1499, allocations: 248 kB / 394.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.151, allocations: 71.61 kB / 394.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007165/0.1582, allocations: 1.433 MB / 396.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.1584, allocations: 156 kB / 396.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002501/0.1586, allocations: 38.97 kB / 396.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001842/0.1588, allocations: 36.48 kB / 396.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1588, allocations: 0 / 396.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of Templates: time 0.009631/0.1685, allocations: 4.467 MB / 400.9 MB, free: 8.824 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.326747304061428]