Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.001359/0.001359, allocations: 119.5 kB / 18.45 MB, free: 4.613 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.001567/0.001567, allocations: 201.8 kB / 21.4 MB, free: 1.668 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.516/1.516, allocations: 227.4 MB / 251.6 MB, free: 36 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.2371/0.2371, allocations: 46.16 MB / 351.1 MB, free: 14.24 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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002274/0.002274, allocations: 80.47 kB / 490.3 MB, free: 27.95 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1325, allocations: 62.45 MB / 0.5398 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003779/0.1364, allocations: 1.93 MB / 0.5417 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002078/0.1385, allocations: 1.112 MB / 0.5428 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.1386, allocations: 7.938 kB / 0.5428 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004618/0.1391, allocations: 171.4 kB / 0.5429 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004409/0.1396, allocations: 183.2 kB / 0.5431 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003173/0.1399, allocations: 119.6 kB / 0.5432 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003228/0.1402, allocations: 239.4 kB / 0.5434 GB, free: 340 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.1404, allocations: 33.56 kB / 0.5435 GB, free: 304 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.1405, allocations: 115.5 kB / 0.5436 GB, free: 188 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.1407, allocations: 123.6 kB / 0.5437 GB, free: 64 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.629e-05/0.1408, allocations: 12 kB / 0.5437 GB, free: 52 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.1409, allocations: 64.02 kB / 0.5438 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.646e-05/0.141, allocations: 51.73 kB / 0.5438 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.96e-05/0.1411, allocations: 83.34 kB / 0.5439 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003334/0.1415, allocations: 230.9 kB / 0.5441 GB, free: 15.63 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1415, allocations: 0 / 0.5441 GB, free: 15.63 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1415, allocations: 4 kB / 0.5441 GB, free: 15.62 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1415, allocations: 0 / 0.5441 GB, free: 15.62 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007847/0.1423, allocations: 0.5484 MB / 0.5447 GB, free: 15.03 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.1423, allocations: 12.03 kB / 0.5447 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.841e-05/0.1424, allocations: 36.72 kB / 0.5447 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004258/0.1428, allocations: 271.8 kB / 0.545 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.1429, allocations: 8.359 kB / 0.545 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.111e-05/0.1429, allocations: 12.38 kB / 0.545 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.1432, allocations: 115.6 kB / 0.5451 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.1432, allocations: 0 / 0.5451 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.1432, allocations: 0 / 0.5451 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.1432, allocations: 4 kB / 0.5451 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000139/0.1434, allocations: 43.97 kB / 0.5451 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006632/0.1441, allocations: 468.7 kB / 0.5456 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004223/0.1445, allocations: 125.2 kB / 0.5457 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.1446, allocations: 41.83 kB / 0.5458 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.1446, allocations: 8 kB / 0.5458 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002547/0.1449, allocations: 117 kB / 0.5459 GB, free: 13.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.402e-06/0.1449, allocations: 3.938 kB / 0.5459 GB, free: 13.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001431/0.1464, allocations: 0.5049 MB / 0.5464 GB, free: 13.13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.491e-05/0.1464, allocations: 77.11 kB / 0.5464 GB, free: 13.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004502/0.1469, allocations: 375.3 kB / 0.5468 GB, free: 12.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.1469, allocations: 29.7 kB / 0.5468 GB, free: 12.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.1471, allocations: 144.5 kB / 0.547 GB, free: 12.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.951e-05/0.1472, allocations: 75.38 kB / 0.547 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.025e-05/0.1472, allocations: 41.7 kB / 0.5471 GB, free: 12.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002044/0.1475, allocations: 338.8 kB / 0.5474 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.1476, allocations: 63.97 kB / 0.5475 GB, free: 11.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001846/0.1478, allocations: 91.34 kB / 0.5475 GB, free: 11.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003044/0.1481, allocations: 159.5 kB / 0.5477 GB, free: 11.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.1481, allocations: 4 kB / 0.5477 GB, free: 11.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000429/0.1486, allocations: 233.2 kB / 0.5479 GB, free: 11.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.1486, allocations: 8 kB / 0.5479 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.1486, allocations: 0 / 0.5479 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.1486, allocations: 7.922 kB / 0.5479 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.1488, allocations: 47.92 kB / 0.548 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.1488, allocations: 0 / 0.548 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.846e-05/0.1489, allocations: 8 kB / 0.548 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.1489, allocations: 8 kB / 0.548 GB, free: 11.37 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.000169/0.1491, allocations: 161.8 kB / 0.5482 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.717e-05/0.1492, allocations: 31.81 kB / 0.5482 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.542e-05/0.1493, allocations: 37.77 kB / 0.5482 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.1493, allocations: 7.938 kB / 0.5482 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.1493, allocations: 0 / 0.5482 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.1493, allocations: 3.984 kB / 0.5482 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.1503, allocations: 0.7156 MB / 0.5489 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1503, allocations: 0 / 0.5489 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.797e-05/0.1504, allocations: 35.92 kB / 0.549 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.1504, allocations: 8.172 kB / 0.549 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.1504, allocations: 4 kB / 0.549 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.1505, allocations: 7.938 kB / 0.549 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1505, allocations: 0 / 0.549 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005344/0.151, allocations: 425.1 kB / 0.5494 GB, free: 9.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.873e-05/0.1511, allocations: 104.9 kB / 0.5495 GB, free: 9.719 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.156e-05/0.1512, allocations: 11.98 kB / 0.5495 GB, free: 9.707 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.1513, allocations: 8 kB / 0.5495 GB, free: 9.699 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/0.1514, allocations: 27.91 kB / 0.5495 GB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-05/0.1514, allocations: 8 kB / 0.5495 GB, free: 9.664 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003284/0.1517, allocations: 273.9 kB / 0.5498 GB, free: 9.395 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.365e-06/0.1517, allocations: 0 / 0.5498 GB, free: 9.395 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003672/0.1521, allocations: 55.86 kB / 0.5499 GB, free: 9.34 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002032/0.1542, allocations: 0.5081 MB / 0.5504 GB, free: 9.008 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003865/0.1546, allocations: 159.8 kB / 0.5505 GB, free: 8.852 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.1546, allocations: 0 / 0.5505 GB, free: 8.852 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001768/0.1547, allocations: 83.78 kB / 0.5506 GB, free: 8.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005795/0.1553, allocations: 67.72 kB / 0.5507 GB, free: 8.707 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000932/0.1563, allocations: 0.5005 MB / 0.5511 GB, free: 8.164 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004353/0.1567, allocations: 0.7674 MB / 0.5519 GB, free: 7.371 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000109/0.1568, allocations: 33.92 kB / 0.5519 GB, free: 7.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.633e-05/0.1569, allocations: 31.42 kB / 0.552 GB, free: 7.309 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1569, allocations: 4 kB / 0.552 GB, free: 7.305 MB / 414.1 MB Notification: Performance of Templates: time 0.00763/0.1646, allocations: 3.151 MB / 0.555 GB, free: 4.18 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.290597138926387]