Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.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.00143/0.00143, allocations: 113 kB / 19.13 MB, free: 3.926 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.001466/0.001466, allocations: 206.6 kB / 22.07 MB, free: 0.9805 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.522/1.522, allocations: 227.4 MB / 252.3 MB, free: 80 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.2395/0.2395, 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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002294/0.002294, allocations: 79.42 kB / 490.9 MB, free: 27.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1282, allocations: 62.45 MB / 0.5404 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003238/0.1315, allocations: 1.68 MB / 0.5421 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001692/0.1332, allocations: 1.007 MB / 0.543 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.037e-05/0.1333, allocations: 4 kB / 0.5431 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002968/0.1336, allocations: 51.75 kB / 0.5431 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003095/0.1339, allocations: 99.58 kB / 0.5432 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.1341, allocations: 79.66 kB / 0.5433 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002264/0.1343, allocations: 95.7 kB / 0.5434 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.855e-05/0.1344, allocations: 12.22 kB / 0.5434 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.1345, allocations: 51.77 kB / 0.5434 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.1347, allocations: 35.8 kB / 0.5435 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.1347, allocations: 4 kB / 0.5435 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.1348, allocations: 43.91 kB / 0.5435 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.974e-05/0.1349, allocations: 15.98 kB / 0.5435 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.925e-05/0.135, allocations: 27.75 kB / 0.5435 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.1352, allocations: 103.5 kB / 0.5436 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.1352, allocations: 8 kB / 0.5437 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1352, allocations: 4 kB / 0.5437 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.1352, allocations: 0 / 0.5437 GB, free: 0.8477 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.000581/0.1358, allocations: 405.7 kB / 0.544 GB, free: 416 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.1358, allocations: 15.97 kB / 0.5441 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.292e-05/0.1359, allocations: 8.891 kB / 0.5441 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002809/0.1362, allocations: 212.1 kB / 0.5443 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.1362, allocations: 384 / 0.5443 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.1362, allocations: 384 / 0.5443 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.1364, allocations: 57.98 kB / 0.5443 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.1364, allocations: 0 / 0.5443 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.1364, allocations: 0 / 0.5443 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.1364, allocations: 0 / 0.5443 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.198e-05/0.1365, allocations: 27.84 kB / 0.5444 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002292/0.1367, allocations: 181.7 kB / 0.5445 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.1369, allocations: 54.61 kB / 0.5446 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.496e-05/0.137, allocations: 20.86 kB / 0.5446 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.137, allocations: 0 / 0.5446 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001417/0.1371, allocations: 67.33 kB / 0.5447 GB, free: 15.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.1372, allocations: 0 / 0.5447 GB, free: 15.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002904/0.1375, allocations: 101.5 kB / 0.5448 GB, free: 15.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.1375, allocations: 51.41 kB / 0.5448 GB, free: 15.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.1377, allocations: 185.2 kB / 0.545 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.1377, allocations: 29.7 kB / 0.545 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.471e-05/0.1378, allocations: 100.1 kB / 0.5451 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.1378, allocations: 7.953 kB / 0.5451 GB, free: 15.15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-05/0.1379, allocations: 25.7 kB / 0.5451 GB, free: 15.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.1381, allocations: 318.8 kB / 0.5454 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.892e-05/0.1381, allocations: 12 kB / 0.5455 GB, free: 14.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.224e-05/0.1382, allocations: 33.7 kB / 0.5455 GB, free: 14.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.975e-05/0.1383, allocations: 45.64 kB / 0.5455 GB, free: 14.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1383, allocations: 256 / 0.5455 GB, free: 14.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001608/0.1385, allocations: 93.47 kB / 0.5456 GB, free: 14.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1385, allocations: 4 kB / 0.5456 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1385, allocations: 0 / 0.5456 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.1385, allocations: 0 / 0.5456 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.015e-05/0.1386, allocations: 16.03 kB / 0.5456 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.1386, allocations: 3.984 kB / 0.5456 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.654e-05/0.1387, allocations: 11.94 kB / 0.5457 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.1387, allocations: 0 / 0.5457 GB, free: 14.57 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 9.896e-05/0.1388, allocations: 117.8 kB / 0.5458 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.146e-05/0.1388, allocations: 11.89 kB / 0.5458 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.107e-05/0.1389, allocations: 16.98 kB / 0.5458 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1389, allocations: 0 / 0.5458 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1389, allocations: 4 kB / 0.5458 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1389, allocations: 4 kB / 0.5458 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.1391, allocations: 189.5 kB / 0.546 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1391, allocations: 0 / 0.546 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.496e-05/0.1391, allocations: 11.88 kB / 0.546 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.1391, allocations: 3.938 kB / 0.546 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.1391, allocations: 4 kB / 0.546 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1391, allocations: 0 / 0.546 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1391, allocations: 0 / 0.546 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001954/0.1393, allocations: 109.1 kB / 0.5461 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.709e-05/0.1394, allocations: 89 kB / 0.5462 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.1394, allocations: 0 / 0.5462 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.456e-05/0.1395, allocations: 3.984 kB / 0.5462 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.201e-05/0.1395, allocations: 4 kB / 0.5462 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.1395, allocations: 4 kB / 0.5462 GB, free: 13.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001347/0.1397, allocations: 136.9 kB / 0.5463 GB, free: 13.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1397, allocations: 0 / 0.5463 GB, free: 13.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002056/0.1399, allocations: 16 kB / 0.5463 GB, free: 13.76 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.001492/0.1414, allocations: 419.2 kB / 0.5467 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000163/0.1415, allocations: 39.98 kB / 0.5468 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1416, allocations: 0 / 0.5468 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.226e-05/0.1416, allocations: 19.98 kB / 0.5468 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.1419, allocations: 39.09 kB / 0.5468 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004252/0.1424, allocations: 223.6 kB / 0.5471 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/0.1427, allocations: 0.7002 MB / 0.5477 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.281e-05/0.1428, allocations: 15.44 kB / 0.5478 GB, free: 12.4 MB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1428, allocations: 0 / 0.5478 GB, free: 12.4 MB / 414.1 MB Notification: Performance of Templates: time 0.003785/0.1466, allocations: 1.714 MB / 0.5494 GB, free: 10.7 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.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.115100872935727]