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.001337/0.001337, allocations: 117.1 kB / 19.13 MB, free: 3.918 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.001503/0.001503, allocations: 206.6 kB / 22.08 MB, free: 0.9727 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.506/1.506, allocations: 227.4 MB / 252.3 MB, free: 64 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.2566/0.2566, allocations: 46.18 MB / 351.8 MB, free: 14.28 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.002333/0.002333, allocations: 76.25 kB / 491 MB, free: 27.96 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1462, allocations: 62.45 MB / 0.5405 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003411/0.1497, allocations: 1.92 MB / 0.5423 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001944/0.1516, allocations: 1.118 MB / 0.5434 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.1518, allocations: 4 kB / 0.5434 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004389/0.1522, allocations: 175.4 kB / 0.5436 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004329/0.1527, allocations: 179.3 kB / 0.5438 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002733/0.1529, allocations: 119.6 kB / 0.5439 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003389/0.1533, allocations: 239.3 kB / 0.5441 GB, free: 380 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.1534, allocations: 37.56 kB / 0.5441 GB, free: 340 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.1536, allocations: 107.6 kB / 0.5442 GB, free: 232 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000183/0.1538, allocations: 135.5 kB / 0.5444 GB, free: 96 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.76e-05/0.1538, allocations: 8 kB / 0.5444 GB, free: 88 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.154, allocations: 67.92 kB / 0.5444 GB, free: 20 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.1541, allocations: 47.89 kB / 0.5445 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.402e-05/0.1542, allocations: 87.36 kB / 0.5446 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003241/0.1545, allocations: 226.8 kB / 0.5448 GB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1545, allocations: 4 kB / 0.5448 GB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1546, allocations: 0 / 0.5448 GB, free: 15.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.1546, allocations: 0 / 0.5448 GB, free: 15.66 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.0007927/0.1554, allocations: 0.5445 MB / 0.5453 GB, free: 15.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.1554, allocations: 11.97 kB / 0.5453 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.743e-05/0.1555, allocations: 32.73 kB / 0.5454 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004457/0.1559, allocations: 275.8 kB / 0.5456 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.156, allocations: 12.36 kB / 0.5456 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.992e-05/0.156, allocations: 16.36 kB / 0.5457 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/0.1563, allocations: 113.3 kB / 0.5458 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.1563, allocations: 0 / 0.5458 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.1563, allocations: 8 kB / 0.5458 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.1563, allocations: 0 / 0.5458 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.1565, allocations: 39.97 kB / 0.5458 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005765/0.157, allocations: 476.8 kB / 0.5463 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003791/0.1574, allocations: 117.2 kB / 0.5464 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.1575, allocations: 45.77 kB / 0.5464 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.1576, allocations: 4 kB / 0.5464 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000224/0.1578, allocations: 121 kB / 0.5465 GB, free: 13.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.1578, allocations: 0 / 0.5465 GB, free: 13.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001408/0.1592, allocations: 0.4968 MB / 0.547 GB, free: 13.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.776e-05/0.1593, allocations: 81.11 kB / 0.5471 GB, free: 13.08 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004729/0.1598, allocations: 367.3 kB / 0.5475 GB, free: 12.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.262e-05/0.1599, allocations: 33.7 kB / 0.5475 GB, free: 12.67 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.16, allocations: 144.5 kB / 0.5476 GB, free: 12.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.951e-05/0.1601, allocations: 79.36 kB / 0.5477 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.935e-05/0.1602, allocations: 41.7 kB / 0.5477 GB, free: 12.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001905/0.1604, allocations: 346.8 kB / 0.5481 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.1605, allocations: 55.97 kB / 0.5481 GB, free: 11.99 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.1607, allocations: 95.34 kB / 0.5482 GB, free: 11.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002847/0.161, allocations: 163.4 kB / 0.5484 GB, free: 11.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.161, allocations: 4 kB / 0.5484 GB, free: 11.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003977/0.1614, allocations: 233.3 kB / 0.5486 GB, free: 11.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.1614, allocations: 4 kB / 0.5486 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.1614, allocations: 0 / 0.5486 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.1614, allocations: 7.938 kB / 0.5486 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.1616, allocations: 39.97 kB / 0.5486 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.1616, allocations: 7.938 kB / 0.5487 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.496e-05/0.1617, allocations: 11.94 kB / 0.5487 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.1617, allocations: 16.06 kB / 0.5487 GB, free: 11.39 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.0001657/0.1619, allocations: 157.8 kB / 0.5488 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.841e-05/0.1619, allocations: 27.81 kB / 0.5489 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.854e-05/0.162, allocations: 41.77 kB / 0.5489 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.162, allocations: 0 / 0.5489 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.162, allocations: 4 kB / 0.5489 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.162, allocations: 3.984 kB / 0.5489 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009354/0.163, allocations: 0.7155 MB / 0.5496 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.163, allocations: 4 kB / 0.5496 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.538e-05/0.1631, allocations: 31.92 kB / 0.5496 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1631, allocations: 0 / 0.5496 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.1631, allocations: 8 kB / 0.5496 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.1631, allocations: 4 kB / 0.5497 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1631, allocations: 1.062 kB / 0.5497 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005085/0.1637, allocations: 428.5 kB / 0.5501 GB, free: 9.875 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.754e-05/0.1637, allocations: 104.9 kB / 0.5502 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.96e-05/0.1638, allocations: 15.98 kB / 0.5502 GB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.1639, allocations: 8 kB / 0.5502 GB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.885e-05/0.164, allocations: 19.92 kB / 0.5502 GB, free: 9.711 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.471e-05/0.164, allocations: 11.98 kB / 0.5502 GB, free: 9.699 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000292/0.1643, allocations: 277.9 kB / 0.5505 GB, free: 9.426 MB / 414.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1643, allocations: 0 / 0.5505 GB, free: 9.426 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000348/0.1647, allocations: 51.92 kB / 0.5505 GB, free: 9.375 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.001957/0.1667, allocations: 0.515 MB / 0.551 GB, free: 9.051 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003522/0.167, allocations: 151.8 kB / 0.5512 GB, free: 8.902 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.167, allocations: 0 / 0.5512 GB, free: 8.902 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001657/0.1672, allocations: 87.83 kB / 0.5513 GB, free: 8.816 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005661/0.1678, allocations: 73.22 kB / 0.5513 GB, free: 8.754 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008408/0.1686, allocations: 0.5325 MB / 0.5518 GB, free: 8.176 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/0.1691, allocations: 0.7674 MB / 0.5526 GB, free: 7.383 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.289e-05/0.1691, allocations: 35.75 kB / 0.5526 GB, free: 7.348 MB / 414.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1691, allocations: 0 / 0.5526 GB, free: 7.348 MB / 414.1 MB Notification: Performance of Templates: time 0.006139/0.1753, allocations: 3.608 MB / 0.5562 GB, free: 3.746 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.49424607399851]