Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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.001656/0.001656, allocations: 116.3 kB / 18.45 MB, free: 4.594 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.002102/0.002102, allocations: 209 kB / 21.41 MB, free: 1.645 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.52/1.52, allocations: 227.4 MB / 251.6 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.2546/0.2546, allocations: 46.17 MB / 351.1 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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 84.27 kB / 490.3 MB, free: 27.99 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1225, allocations: 62.44 MB / 0.5398 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.004119/0.1267, allocations: 1.736 MB / 0.5415 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003176/0.1299, allocations: 1.631 MB / 0.543 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001639/0.1301, allocations: 3.938 kB / 0.543 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004524/0.1305, allocations: 31.78 kB / 0.5431 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005238/0.1311, allocations: 107.5 kB / 0.5432 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003545/0.1315, allocations: 75.66 kB / 0.5433 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002804/0.1318, allocations: 107.7 kB / 0.5434 GB, free: 464 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.1319, allocations: 16 kB / 0.5434 GB, free: 448 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.1321, allocations: 51.77 kB / 0.5434 GB, free: 396 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002413/0.1323, allocations: 35.84 kB / 0.5435 GB, free: 360 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.1324, allocations: 4 kB / 0.5435 GB, free: 356 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002803/0.1327, allocations: 115.9 kB / 0.5436 GB, free: 240 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.372e-05/0.1327, allocations: 15.92 kB / 0.5436 GB, free: 224 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.76e-05/0.1328, allocations: 31.8 kB / 0.5436 GB, free: 192 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004115/0.1332, allocations: 175.3 kB / 0.5438 GB, free: 16 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.1333, allocations: 4 kB / 0.5438 GB, free: 12 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1333, allocations: 4 kB / 0.5438 GB, free: 8 kB / 398.1 MB Notification: Performance of Transformations before backend: time 8.627e-06/0.1333, allocations: 0 / 0.5438 GB, free: 8 kB / 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.0009866/0.1343, allocations: 430.5 kB / 0.5442 GB, free: 15.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.932e-05/0.1344, allocations: 12.02 kB / 0.5442 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.1345, allocations: 12.84 kB / 0.5442 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006532/0.1351, allocations: 215.2 kB / 0.5444 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.1352, allocations: 4.375 kB / 0.5444 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.591e-05/0.1352, allocations: 4.125 kB / 0.5444 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002558/0.1355, allocations: 75.33 kB / 0.5445 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.1355, allocations: 0 / 0.5445 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.1355, allocations: 3.984 kB / 0.5445 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1355, allocations: 0 / 0.5445 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.1356, allocations: 23.98 kB / 0.5445 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006468/0.1363, allocations: 284.9 kB / 0.5448 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002565/0.1366, allocations: 58.62 kB / 0.5449 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.598e-05/0.1367, allocations: 24.84 kB / 0.5449 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.353e-05/0.1367, allocations: 0 / 0.5449 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002317/0.1369, allocations: 79.33 kB / 0.545 GB, free: 14.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.824e-06/0.137, allocations: 0 / 0.545 GB, free: 14.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000862/0.1378, allocations: 173.4 kB / 0.5451 GB, free: 14.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.138, allocations: 77.11 kB / 0.5452 GB, free: 14.37 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002803/0.1382, allocations: 162.5 kB / 0.5454 GB, free: 14.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.763e-05/0.1383, allocations: 29.7 kB / 0.5454 GB, free: 14.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.1384, allocations: 96.12 kB / 0.5455 GB, free: 14.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.627e-05/0.1385, allocations: 31.73 kB / 0.5455 GB, free: 14.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.239e-05/0.1386, allocations: 29.7 kB / 0.5455 GB, free: 14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002605/0.1389, allocations: 322.8 kB / 0.5458 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.191e-05/0.139, allocations: 24 kB / 0.5459 GB, free: 13.65 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.1391, allocations: 50.44 kB / 0.5459 GB, free: 13.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.1393, allocations: 53.7 kB / 0.546 GB, free: 13.53 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.1393, allocations: 0 / 0.546 GB, free: 13.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000294/0.1396, allocations: 105.6 kB / 0.5461 GB, free: 13.42 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.1396, allocations: 12.05 kB / 0.5461 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1396, allocations: 0 / 0.5461 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.1397, allocations: 0 / 0.5461 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.1398, allocations: 16 kB / 0.5461 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.1398, allocations: 0 / 0.5461 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.488e-05/0.1399, allocations: 3.938 kB / 0.5461 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.1399, allocations: 7.984 kB / 0.5461 GB, free: 13.38 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 (10): * Single equations (assignments): 10 * 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.0001873/0.1401, allocations: 125.8 kB / 0.5462 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.545e-05/0.1402, allocations: 7.953 kB / 0.5462 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.138e-05/0.1402, allocations: 20.7 kB / 0.5462 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.1403, allocations: 0 / 0.5462 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.1403, allocations: 0 / 0.5462 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-05/0.1403, allocations: 7.938 kB / 0.5463 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007182/0.141, allocations: 395.3 kB / 0.5466 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.141, allocations: 0 / 0.5466 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.903e-05/0.1411, allocations: 8 kB / 0.5466 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.1411, allocations: 0 / 0.5466 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.1411, allocations: 7.938 kB / 0.5466 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1411, allocations: 4.406 kB / 0.5467 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.1411, allocations: 0 / 0.5467 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003553/0.1415, allocations: 208.2 kB / 0.5469 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.1416, allocations: 85.06 kB / 0.5469 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.651e-05/0.1417, allocations: 11.94 kB / 0.5469 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.936e-05/0.1418, allocations: 4 kB / 0.5469 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.387e-05/0.1418, allocations: 11.98 kB / 0.547 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.1419, allocations: 0 / 0.547 GB, free: 12.4 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001651/0.142, allocations: 131.9 kB / 0.5471 GB, free: 12.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 3e-07/0.142, allocations: 0 / 0.5471 GB, free: 12.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004134/0.1425, allocations: 47.86 kB / 0.5471 GB, free: 12.22 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 (8): * Single equations (assignments): 6 * 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.002403/0.1449, allocations: 0.5442 MB / 0.5477 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002826/0.1452, allocations: 63.91 kB / 0.5477 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.1452, allocations: 0 / 0.5477 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.1453, allocations: 27.94 kB / 0.5478 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004108/0.1457, allocations: 33.97 kB / 0.5478 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006129/0.1464, allocations: 195 kB / 0.548 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000511/0.1469, allocations: 0.6924 MB / 0.5486 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001071/0.147, allocations: 29.16 kB / 0.5487 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.881e-05/0.1471, allocations: 23.42 kB / 0.5487 GB, free: 10.75 MB / 414.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1471, allocations: 0 / 0.5487 GB, free: 10.75 MB / 414.1 MB Notification: Performance of Templates: time 0.007656/0.1547, allocations: 2.354 MB / 0.551 GB, free: 8.41 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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: 5.336708402261138]