Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.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.001689/0.00169, allocations: 114 kB / 19.12 MB, free: 4.027 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.001907/0.001907, allocations: 208.9 kB / 22.07 MB, free: 1.078 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.562/1.562, allocations: 227.4 MB / 252.3 MB, free: 88 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.2334/0.2334, allocations: 46.16 MB / 351.8 MB, free: 14.31 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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002195/0.002195, allocations: 79.62 kB / 490.9 MB, free: 28.26 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1371, allocations: 62.45 MB / 0.5404 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.004522/0.1417, allocations: 1.698 MB / 0.5421 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002617/0.1443, allocations: 1.001 MB / 0.543 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.1445, allocations: 0 / 0.543 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004135/0.145, allocations: 67.72 kB / 0.5431 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004453/0.1454, allocations: 99.59 kB / 0.5432 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002905/0.1457, allocations: 79.67 kB / 0.5433 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002472/0.146, allocations: 107.7 kB / 0.5434 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.034e-05/0.1461, allocations: 4.234 kB / 0.5434 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.1462, allocations: 43.78 kB / 0.5434 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.1464, allocations: 43.83 kB / 0.5435 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.1464, allocations: 7.938 kB / 0.5435 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.1466, allocations: 39.92 kB / 0.5435 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.844e-05/0.1467, allocations: 23.97 kB / 0.5435 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.488e-05/0.1467, allocations: 31.75 kB / 0.5436 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003136/0.1471, allocations: 107.5 kB / 0.5437 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1471, allocations: 0 / 0.5437 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1471, allocations: 0 / 0.5437 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.1471, allocations: 0 / 0.5437 GB, free: 0.9648 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0008389/0.148, allocations: 410.7 kB / 0.5441 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.222e-05/0.148, allocations: 12.03 kB / 0.5441 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.555e-05/0.1481, allocations: 16.84 kB / 0.5441 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004496/0.1486, allocations: 212.8 kB / 0.5443 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.1486, allocations: 384 / 0.5443 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.1486, allocations: 384 / 0.5443 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002426/0.1489, allocations: 53.98 kB / 0.5443 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1489, allocations: 0 / 0.5443 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.1489, allocations: 4 kB / 0.5443 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1489, allocations: 0 / 0.5443 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.254e-05/0.149, allocations: 8 kB / 0.5444 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003066/0.1494, allocations: 193.7 kB / 0.5445 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.1496, allocations: 54.56 kB / 0.5446 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.026e-05/0.1497, allocations: 24.78 kB / 0.5446 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.1497, allocations: 3.906 kB / 0.5446 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001858/0.1499, allocations: 67.33 kB / 0.5447 GB, free: 15.76 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 2.033e-06/0.1499, allocations: 4 kB / 0.5447 GB, free: 15.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003756/0.1503, allocations: 97.56 kB / 0.5448 GB, free: 15.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.1504, allocations: 51.41 kB / 0.5448 GB, free: 15.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002879/0.1507, allocations: 195.5 kB / 0.545 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.1507, allocations: 29.7 kB / 0.545 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.489e-05/0.1508, allocations: 104.1 kB / 0.5451 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.318e-05/0.1508, allocations: 11.91 kB / 0.5452 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.843e-05/0.1509, allocations: 21.7 kB / 0.5452 GB, free: 15.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001992/0.1511, allocations: 330.8 kB / 0.5455 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.61e-05/0.1512, allocations: 12 kB / 0.5455 GB, free: 14.87 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.871e-05/0.1513, allocations: 25.7 kB / 0.5455 GB, free: 14.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.1514, allocations: 45.64 kB / 0.5456 GB, free: 14.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.279e-06/0.1515, allocations: 4 kB / 0.5456 GB, free: 14.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000225/0.1517, allocations: 85.75 kB / 0.5457 GB, free: 14.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.1517, allocations: 8 kB / 0.5457 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.1517, allocations: 4.062 kB / 0.5457 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.491e-05/0.1518, allocations: 4 kB / 0.5457 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.1519, allocations: 11.94 kB / 0.5457 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.1519, allocations: 3.984 kB / 0.5457 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.909e-05/0.152, allocations: 4 kB / 0.5457 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.152, allocations: 0 / 0.5457 GB, free: 14.66 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 (7): * Single equations (assignments): 7 * 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.0002784/0.1523, allocations: 125.8 kB / 0.5458 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.1523, allocations: 23.86 kB / 0.5458 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.103e-05/0.1524, allocations: 13 kB / 0.5458 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.1524, allocations: 0 / 0.5458 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1524, allocations: 0 / 0.5458 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.1524, allocations: 0 / 0.5458 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.1527, allocations: 189.6 kB / 0.546 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1527, allocations: 0 / 0.546 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.359e-05/0.1527, allocations: 7.938 kB / 0.546 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1527, allocations: 0 / 0.546 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.1528, allocations: 4 kB / 0.546 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.1528, allocations: 0 / 0.546 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1528, allocations: 4 kB / 0.546 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/0.153, allocations: 109 kB / 0.5461 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.229e-05/0.1531, allocations: 89 kB / 0.5462 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/0.1532, allocations: 0 / 0.5462 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.936e-05/0.1532, allocations: 3.984 kB / 0.5462 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-05/0.1533, allocations: 4 kB / 0.5462 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.1533, allocations: 7.938 kB / 0.5462 GB, free: 13.99 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003178/0.1536, allocations: 156.2 kB / 0.5464 GB, free: 13.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1536, allocations: 0 / 0.5464 GB, free: 13.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000315/0.154, allocations: 19.94 kB / 0.5464 GB, free: 13.82 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001596/0.1556, allocations: 405.5 kB / 0.5468 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001894/0.1558, allocations: 47.91 kB / 0.5468 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1558, allocations: 0 / 0.5468 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.214e-05/0.1559, allocations: 16 kB / 0.5469 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.1562, allocations: 34.83 kB / 0.5469 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005319/0.1567, allocations: 235.5 kB / 0.5471 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004521/0.1572, allocations: 0.7001 MB / 0.5478 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.145e-05/0.1572, allocations: 15.44 kB / 0.5478 GB, free: 12.46 MB / 414.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1572, allocations: 0 / 0.5478 GB, free: 12.46 MB / 414.1 MB Notification: Performance of Templates: time 0.004656/0.1619, allocations: 1.735 MB / 0.5495 GB, free: 10.73 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.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.934454635018483]