Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.001418/0.001418, allocations: 113.9 kB / 19.12 MB, free: 3.922 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.001511/0.001511, allocations: 204.9 kB / 22.07 MB, free: 0.9766 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.543/1.543, allocations: 227.4 MB / 252.3 MB, free: 100 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2457/0.2457, allocations: 46.17 MB / 351.8 MB, free: 14.29 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002289/0.002289, allocations: 78.34 kB / 491 MB, free: 28.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1433, allocations: 62.45 MB / 0.5404 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003536/0.1468, allocations: 1.725 MB / 0.5421 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001946/0.1488, allocations: 1.052 MB / 0.5431 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.322e-05/0.1489, allocations: 0 / 0.5431 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003373/0.1493, allocations: 39.77 kB / 0.5432 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003746/0.1497, allocations: 95.53 kB / 0.5433 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002504/0.1499, allocations: 79.61 kB / 0.5433 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002223/0.1502, allocations: 111.7 kB / 0.5435 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.1503, allocations: 12 kB / 0.5435 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.713e-05/0.1504, allocations: 43.78 kB / 0.5435 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.865e-05/0.1505, allocations: 47.77 kB / 0.5436 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.1505, allocations: 8 kB / 0.5436 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002227/0.1508, allocations: 107.9 kB / 0.5437 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.494e-05/0.1508, allocations: 19.92 kB / 0.5437 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.948e-05/0.1509, allocations: 43.7 kB / 0.5437 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003302/0.1512, allocations: 175.3 kB / 0.5439 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1513, allocations: 0 / 0.5439 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1513, allocations: 0 / 0.5439 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.1513, allocations: 0 / 0.5439 GB, free: 0.7109 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007213/0.152, allocations: 445.5 kB / 0.5443 GB, free: 236 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.152, allocations: 8.031 kB / 0.5443 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.393e-05/0.1521, allocations: 16.83 kB / 0.5443 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000382/0.1525, allocations: 212.1 kB / 0.5445 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.1525, allocations: 384 / 0.5445 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.1526, allocations: 4.375 kB / 0.5445 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.1527, allocations: 71.69 kB / 0.5446 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.1528, allocations: 0 / 0.5446 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.1528, allocations: 12 kB / 0.5446 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.1528, allocations: 0 / 0.5446 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.657e-05/0.1529, allocations: 15.98 kB / 0.5446 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004271/0.1533, allocations: 276.9 kB / 0.5449 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/0.1535, allocations: 66.55 kB / 0.545 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.898e-05/0.1536, allocations: 32.97 kB / 0.545 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.1536, allocations: 4 kB / 0.545 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/0.1538, allocations: 75.31 kB / 0.5451 GB, free: 15.33 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.472e-06/0.1538, allocations: 0 / 0.5451 GB, free: 15.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006539/0.1545, allocations: 205.3 kB / 0.5453 GB, free: 15.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.202e-05/0.1546, allocations: 81.09 kB / 0.5454 GB, free: 15.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.1548, allocations: 178.1 kB / 0.5455 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.1548, allocations: 29.7 kB / 0.5455 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.116e-05/0.1549, allocations: 92.14 kB / 0.5456 GB, free: 14.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.451e-05/0.1549, allocations: 35.72 kB / 0.5457 GB, free: 14.67 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.848e-05/0.155, allocations: 33.7 kB / 0.5457 GB, free: 14.63 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.1552, allocations: 326.8 kB / 0.546 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.146e-05/0.1553, allocations: 32.08 kB / 0.546 GB, free: 14.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.233e-05/0.1554, allocations: 56.38 kB / 0.5461 GB, free: 14.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.1555, allocations: 77.64 kB / 0.5462 GB, free: 14.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.1556, allocations: 0 / 0.5462 GB, free: 14.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002329/0.1558, allocations: 121.5 kB / 0.5463 GB, free: 14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.1558, allocations: 11.98 kB / 0.5463 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1558, allocations: 0 / 0.5463 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.1559, allocations: 0 / 0.5463 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.156, allocations: 24.06 kB / 0.5463 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.156, allocations: 8 kB / 0.5463 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.213e-05/0.1561, allocations: 3.984 kB / 0.5463 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.1561, allocations: 4 kB / 0.5463 GB, free: 13.95 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001251/0.1562, allocations: 129.7 kB / 0.5465 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.73e-05/0.1563, allocations: 11.91 kB / 0.5465 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.834e-05/0.1563, allocations: 16.7 kB / 0.5465 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1563, allocations: 0 / 0.5465 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1563, allocations: 4 kB / 0.5465 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1563, allocations: 4 kB / 0.5465 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005607/0.1569, allocations: 419.2 kB / 0.5469 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.1569, allocations: 4 kB / 0.5469 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.713e-05/0.157, allocations: 15.92 kB / 0.5469 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.157, allocations: 3.938 kB / 0.5469 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.157, allocations: 11.94 kB / 0.5469 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.157, allocations: 0 / 0.5469 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.157, allocations: 0 / 0.5469 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002838/0.1573, allocations: 216.3 kB / 0.5471 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.122e-05/0.1574, allocations: 93.05 kB / 0.5472 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/0.1574, allocations: 7.938 kB / 0.5472 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.199e-05/0.1575, allocations: 0 / 0.5472 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.1575, allocations: 12.17 kB / 0.5472 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.1576, allocations: 4 kB / 0.5472 GB, free: 12.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001232/0.1577, allocations: 135 kB / 0.5474 GB, free: 12.78 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1577, allocations: 4 kB / 0.5474 GB, free: 12.78 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003389/0.1581, allocations: 59.75 kB / 0.5474 GB, free: 12.72 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002038/0.1601, allocations: 0.5422 MB / 0.548 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002372/0.1603, allocations: 79.84 kB / 0.548 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1604, allocations: 0 / 0.548 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.794e-05/0.1605, allocations: 35.98 kB / 0.5481 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/0.1608, allocations: 34.3 kB / 0.5481 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005057/0.1613, allocations: 240.8 kB / 0.5483 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.1618, allocations: 0.7046 MB / 0.549 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.933e-05/0.1618, allocations: 19.42 kB / 0.549 GB, free: 11.21 MB / 414.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1618, allocations: 0 / 0.549 GB, free: 11.21 MB / 414.1 MB Notification: Performance of Templates: time 0.005319/0.1672, allocations: 2.57 MB / 0.5516 GB, free: 8.641 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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: 8.149210314033553]