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.001526/0.001526, allocations: 120.5 kB / 18.46 MB, free: 4.582 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.001723/0.001723, allocations: 190.6 kB / 21.4 MB, free: 1.648 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.539/1.539, allocations: 225.6 MB / 249.8 MB, free: 3.461 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.001548/0.001548, allocations: 43.92 kB / 366.8 MB, free: 316 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1119, allocations: 52.15 MB / 418.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.004005/0.1159, allocations: 2.457 MB / 421.4 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.1174, allocations: 0.7444 MB / 422.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.1175, allocations: 4 kB / 422.1 MB, free: 8.844 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001655/0.1177, allocations: 35.59 kB / 422.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002197/0.1179, allocations: 107 kB / 422.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003744/0.1182, allocations: 127.7 kB / 422.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004998/0.1187, allocations: 466.2 kB / 422.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.1189, allocations: 64.88 kB / 422.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002461/0.1192, allocations: 191.4 kB / 423.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002654/0.1194, allocations: 199.3 kB / 423.3 MB, free: 7.672 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.451e-05/0.1195, allocations: 40 kB / 423.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.901e-05/0.1196, allocations: 36 kB / 423.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.887e-05/0.1197, allocations: 95.66 kB / 423.5 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001826/0.1198, allocations: 179.2 kB / 423.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004732/0.1203, allocations: 414.5 kB / 424.1 MB, free: 6.922 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.1203, allocations: 0 / 424.1 MB, free: 6.922 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1203, allocations: 0 / 424.1 MB, free: 6.922 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.1203, allocations: 0 / 424.1 MB, free: 6.922 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.001656/0.122, allocations: 0.6898 MB / 424.8 MB, free: 6.184 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.122, allocations: 12.03 kB / 424.8 MB, free: 6.172 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.1221, allocations: 36.73 kB / 424.8 MB, free: 6.137 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000441/0.1226, allocations: 275.6 kB / 425.1 MB, free: 5.828 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/0.1227, allocations: 92.27 kB / 425.2 MB, free: 5.727 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.597e-05/0.1228, allocations: 24 kB / 425.2 MB, free: 5.703 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009745/0.1237, allocations: 379.2 kB / 425.6 MB, free: 5.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/0.1238, allocations: 3.953 kB / 425.6 MB, free: 5.316 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.8e-05/0.1238, allocations: 12 kB / 425.6 MB, free: 5.305 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.1238, allocations: 7.938 kB / 425.6 MB, free: 5.297 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001289/0.1251, allocations: 395.5 kB / 426 MB, free: 4.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.1265, allocations: 0.9586 MB / 426.9 MB, free: 3.895 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/0.1277, allocations: 399.5 kB / 427.3 MB, free: 3.477 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006414/0.1283, allocations: 210.4 kB / 427.5 MB, free: 3.262 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.1283, allocations: 4 kB / 427.5 MB, free: 3.258 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.1284, allocations: 42.5 kB / 427.6 MB, free: 3.207 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 2.074e-06/0.1284, allocations: 4 kB / 427.6 MB, free: 3.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.00524/0.1336, allocations: 2.318 MB / 429.9 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.179e-05/0.1337, allocations: 114.8 kB / 430 MB, free: 496 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/0.1339, allocations: 207.1 kB / 430.2 MB, free: 280 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.652e-05/0.134, allocations: 29.7 kB / 430.2 MB, free: 244 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.1341, allocations: 148.8 kB / 430.4 MB, free: 92 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/0.1342, allocations: 150.9 kB / 430.5 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.1344, allocations: 78.06 kB / 430.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.1345, allocations: 338.8 kB / 430.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003368/0.1349, allocations: 104.8 kB / 431 MB, free: 15.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003561/0.1352, allocations: 169.5 kB / 431.2 MB, free: 15.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006949/0.1359, allocations: 285.9 kB / 431.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1359, allocations: 0 / 431.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000884/0.1368, allocations: 384.4 kB / 431.8 MB, free: 14.56 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.1368, allocations: 8 kB / 431.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.1368, allocations: 0 / 431.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.1369, allocations: 4 kB / 431.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007317/0.1376, allocations: 151.8 kB / 432 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.1376, allocations: 0 / 432 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.1378, allocations: 27.98 kB / 432 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/0.1379, allocations: 12 kB / 432 MB, free: 14.36 MB / 366.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.0001833/0.1381, allocations: 145.7 kB / 432.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.1382, allocations: 35.78 kB / 432.2 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.433e-05/0.1382, allocations: 29.53 kB / 432.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.341e-06/0.1382, allocations: 4 kB / 432.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.1382, allocations: 0 / 432.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/0.1383, allocations: 12.92 kB / 432.3 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002525/0.1408, allocations: 1.334 MB / 433.6 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.1408, allocations: 0 / 433.6 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008763/0.1417, allocations: 171.8 kB / 433.8 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.1417, allocations: 4.094 kB / 433.8 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.434e-05/0.1417, allocations: 19.88 kB / 433.8 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.371e-06/0.1417, allocations: 7.938 kB / 433.8 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.1417, allocations: 4 kB / 433.8 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002127/0.1438, allocations: 0.9521 MB / 434.8 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001627/0.144, allocations: 133 kB / 434.9 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.999e-05/0.144, allocations: 11.94 kB / 434.9 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004254/0.1445, allocations: 44.08 kB / 434.9 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.1446, allocations: 43.88 kB / 435 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.032e-05/0.1446, allocations: 20 kB / 435 MB, free: 11.24 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001508/0.1448, allocations: 152.6 kB / 435.2 MB, free: 11.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1448, allocations: 0 / 435.2 MB, free: 11.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004693/0.1452, allocations: 84 kB / 435.2 MB, free: 11.01 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.000151/0.1454, allocations: 107.2 kB / 435.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001056/0.1464, allocations: 362.7 kB / 435.7 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1464, allocations: 0 / 435.7 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006958/0.1471, allocations: 239.6 kB / 435.9 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000699/0.1478, allocations: 76.08 kB / 436 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005357/0.1532, allocations: 1.468 MB / 437.5 MB, free: 8.703 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004438/0.1536, allocations: 0.7682 MB / 438.2 MB, free: 7.906 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/0.1538, allocations: 31.61 kB / 438.3 MB, free: 7.879 MB / 366.1 MB Notification: Performance of SimCode: time 7.82e-07/0.1538, allocations: 0 / 438.3 MB, free: 7.879 MB / 366.1 MB Notification: Performance of Templates: time 0.006893/0.1607, allocations: 3.943 MB / 442.2 MB, free: 3.945 MB / 366.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.511606395011768]