Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.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.001575/0.001575, 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.001994/0.001994, 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.621/1.621, allocations: 227.4 MB / 251.6 MB, free: 96 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.2437/0.2437, allocations: 46.17 MB / 351.1 MB, free: 14.3 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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002213/0.002213, allocations: 87.45 kB / 490.3 MB, free: 28.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1407, allocations: 62.45 MB / 0.5398 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.004382/0.1451, allocations: 1.723 MB / 0.5414 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002166/0.1473, allocations: 1.024 MB / 0.5424 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.1475, allocations: 4 kB / 0.5425 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004376/0.148, allocations: 43.7 kB / 0.5425 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004491/0.1485, allocations: 95.59 kB / 0.5426 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003205/0.1488, allocations: 83.67 kB / 0.5427 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002611/0.1491, allocations: 99.69 kB / 0.5428 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.1493, allocations: 12 kB / 0.5428 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.1494, allocations: 47.77 kB / 0.5428 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.1495, allocations: 31.8 kB / 0.5428 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.1495, allocations: 4 kB / 0.5429 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001423/0.1497, allocations: 47.97 kB / 0.5429 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.231e-05/0.1498, allocations: 19.92 kB / 0.5429 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.04e-05/0.1498, allocations: 35.75 kB / 0.5429 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003362/0.1502, allocations: 115.5 kB / 0.5431 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.046e-05/0.1502, allocations: 11.94 kB / 0.5431 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1502, allocations: 0 / 0.5431 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.1502, allocations: 0 / 0.5431 GB, free: 0.7578 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008002/0.151, allocations: 422.6 kB / 0.5435 GB, free: 304 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.1511, allocations: 12.03 kB / 0.5435 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.196e-05/0.1511, allocations: 8.891 kB / 0.5435 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003496/0.1515, allocations: 220.8 kB / 0.5437 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.1515, allocations: 384 / 0.5437 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.1515, allocations: 4.375 kB / 0.5437 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.1517, allocations: 57.98 kB / 0.5438 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.1518, allocations: 3.938 kB / 0.5438 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.1518, allocations: 0 / 0.5438 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1518, allocations: 0 / 0.5438 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.215e-05/0.1519, allocations: 23.98 kB / 0.5438 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004338/0.1523, allocations: 292.9 kB / 0.5441 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.1525, allocations: 54.67 kB / 0.5441 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.694e-05/0.1526, allocations: 24.8 kB / 0.5441 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.1526, allocations: 0 / 0.5441 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001586/0.1527, allocations: 67.38 kB / 0.5442 GB, free: 15.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.1528, allocations: 4 kB / 0.5442 GB, free: 15.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005807/0.1533, allocations: 181.3 kB / 0.5444 GB, free: 15.24 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.1534, allocations: 51.41 kB / 0.5444 GB, free: 15.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.1536, allocations: 195.5 kB / 0.5446 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.1537, allocations: 29.7 kB / 0.5447 GB, free: 14.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.997e-05/0.1537, allocations: 100.1 kB / 0.5447 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.564e-05/0.1538, allocations: 23.84 kB / 0.5448 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.622e-05/0.1538, allocations: 25.72 kB / 0.5448 GB, free: 14.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.154, allocations: 326.8 kB / 0.5451 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.191e-05/0.1541, allocations: 19.98 kB / 0.5451 GB, free: 14.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.695e-05/0.1542, allocations: 37.7 kB / 0.5452 GB, free: 14.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.1543, allocations: 61.64 kB / 0.5452 GB, free: 14.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1543, allocations: 3.938 kB / 0.5452 GB, free: 14.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001936/0.1545, allocations: 109.5 kB / 0.5453 GB, free: 14.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.1545, allocations: 4 kB / 0.5453 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.1545, allocations: 0 / 0.5453 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.1546, allocations: 3.984 kB / 0.5453 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.587e-05/0.1547, allocations: 19.98 kB / 0.5454 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.1547, allocations: 0 / 0.5454 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.014e-05/0.1547, allocations: 0 / 0.5454 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.1547, allocations: 4 kB / 0.5454 GB, free: 14.18 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.0001196/0.1549, allocations: 130.5 kB / 0.5455 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.1549, allocations: 19.91 kB / 0.5455 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.694e-05/0.1549, allocations: 17.34 kB / 0.5455 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.155, allocations: 0 / 0.5455 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.155, allocations: 4 kB / 0.5455 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.155, allocations: 3.984 kB / 0.5455 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004812/0.1555, allocations: 395.2 kB / 0.5459 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.1555, allocations: 4 kB / 0.5459 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.149e-05/0.1555, allocations: 4.375 kB / 0.5459 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1555, allocations: 8.031 kB / 0.5459 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.055e-05/0.1556, allocations: 3.984 kB / 0.5459 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.1556, allocations: 7.938 kB / 0.5459 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.1556, allocations: 4 kB / 0.5459 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002524/0.1558, allocations: 204.5 kB / 0.5461 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.722e-05/0.1559, allocations: 85.02 kB / 0.5462 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.1559, allocations: 8 kB / 0.5462 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.38e-05/0.156, allocations: 11.92 kB / 0.5462 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.1561, allocations: 7.938 kB / 0.5462 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.1561, allocations: 4.188 kB / 0.5462 GB, free: 13.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001433/0.1562, allocations: 152.2 kB / 0.5464 GB, free: 13.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1562, allocations: 3.938 kB / 0.5464 GB, free: 13.01 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.1565, allocations: 20 kB / 0.5464 GB, free: 12.99 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.001795/0.1583, allocations: 460.1 kB / 0.5468 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002142/0.1585, allocations: 59.92 kB / 0.5469 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1585, allocations: 0 / 0.5469 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.347e-05/0.1586, allocations: 31.92 kB / 0.5469 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.159, allocations: 29.08 kB / 0.547 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004846/0.1594, allocations: 238.6 kB / 0.5472 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.1598, allocations: 0.7002 MB / 0.5479 GB, free: 11.6 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.982e-05/0.1599, allocations: 25.17 kB / 0.5479 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.085e-05/0.1599, allocations: 15.44 kB / 0.5479 GB, free: 11.55 MB / 414.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1599, allocations: 0 / 0.5479 GB, free: 11.55 MB / 414.1 MB Notification: Performance of Templates: time 0.00498/0.1649, allocations: 1.739 MB / 0.5496 GB, free: 9.832 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.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.32465435564518]