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.001699/0.001699, allocations: 118 kB / 18.46 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.002281/0.002281, allocations: 207.4 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.535/1.535, allocations: 227.4 MB / 251.6 MB, free: 15.94 MB / 206.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.2389/0.2389, allocations: 46.17 MB / 351.1 MB, free: 14.4 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.002342/0.002342, allocations: 80.36 kB / 490.3 MB, free: 27.93 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1397, allocations: 62.46 MB / 0.5398 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003435/0.1432, allocations: 1.681 MB / 0.5414 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001745/0.1449, allocations: 1.009 MB / 0.5424 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.505e-05/0.145, allocations: 0 / 0.5424 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003199/0.1453, allocations: 55.73 kB / 0.5424 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003099/0.1457, allocations: 103.5 kB / 0.5425 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001685/0.1459, allocations: 67.73 kB / 0.5426 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002049/0.1461, allocations: 107.7 kB / 0.5427 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.244e-05/0.1461, allocations: 8.172 kB / 0.5427 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.421e-05/0.1462, allocations: 47.78 kB / 0.5428 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.196e-05/0.1463, allocations: 39.84 kB / 0.5428 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.1464, allocations: 4 kB / 0.5428 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.807e-05/0.1465, allocations: 35.98 kB / 0.5428 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.147e-05/0.1465, allocations: 15.92 kB / 0.5428 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.888e-05/0.1466, allocations: 35.73 kB / 0.5429 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.1468, allocations: 99.52 kB / 0.543 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.1468, allocations: 0 / 0.543 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1468, allocations: 3.938 kB / 0.543 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.1468, allocations: 0 / 0.543 GB, free: 0.8945 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.0005754/0.1474, allocations: 414.8 kB / 0.5434 GB, free: 452 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.1475, allocations: 8.031 kB / 0.5434 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.265e-05/0.1475, allocations: 12.89 kB / 0.5434 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.1478, allocations: 208.1 kB / 0.5436 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.1478, allocations: 8.375 kB / 0.5436 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.1478, allocations: 384 / 0.5436 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.148, allocations: 53.98 kB / 0.5437 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.148, allocations: 3.984 kB / 0.5437 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.148, allocations: 4 kB / 0.5437 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.148, allocations: 0 / 0.5437 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.744e-05/0.1481, allocations: 19.92 kB / 0.5437 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002254/0.1483, allocations: 181.6 kB / 0.5439 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.1485, allocations: 50.61 kB / 0.5439 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.371e-05/0.1486, allocations: 16.86 kB / 0.5439 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.1486, allocations: 8 kB / 0.5439 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001495/0.1488, allocations: 71.27 kB / 0.544 GB, free: 15.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.603e-06/0.1488, allocations: 0 / 0.544 GB, free: 15.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003209/0.1491, allocations: 93.61 kB / 0.5441 GB, free: 15.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.1492, allocations: 55.41 kB / 0.5441 GB, free: 15.53 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.1494, allocations: 181.2 kB / 0.5443 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.1494, allocations: 25.7 kB / 0.5443 GB, free: 15.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.337e-05/0.1495, allocations: 104.1 kB / 0.5444 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/0.1495, allocations: 11.95 kB / 0.5444 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.558e-05/0.1496, allocations: 21.7 kB / 0.5445 GB, free: 15.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.1497, allocations: 322.8 kB / 0.5448 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.246e-05/0.1498, allocations: 12 kB / 0.5448 GB, free: 14.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.063e-05/0.1499, allocations: 29.64 kB / 0.5448 GB, free: 14.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.15, allocations: 49.7 kB / 0.5449 GB, free: 14.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.15, allocations: 0 / 0.5449 GB, free: 14.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001752/0.1502, allocations: 85.78 kB / 0.5449 GB, free: 14.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.1502, allocations: 10.34 kB / 0.545 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1502, allocations: 0 / 0.545 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.1502, allocations: 0 / 0.545 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.191e-05/0.1503, allocations: 15.98 kB / 0.545 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.1503, allocations: 4 kB / 0.545 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.547e-05/0.1504, allocations: 7.969 kB / 0.545 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.1504, allocations: 8 kB / 0.545 GB, free: 14.61 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 0.0001113/0.1505, allocations: 119 kB / 0.5451 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.495e-05/0.1506, allocations: 15.88 kB / 0.5451 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.098e-05/0.1506, allocations: 13 kB / 0.5451 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.1506, allocations: 0 / 0.5451 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1506, allocations: 3.938 kB / 0.5451 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.1506, allocations: 3.938 kB / 0.5451 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.1508, allocations: 193.6 kB / 0.5453 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1508, allocations: 0 / 0.5453 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.214e-05/0.1509, allocations: 11.94 kB / 0.5453 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.1509, allocations: 0 / 0.5453 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.679e-06/0.1509, allocations: 3.938 kB / 0.5453 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1509, allocations: 0 / 0.5453 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1509, allocations: 4 kB / 0.5453 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/0.1511, allocations: 105.1 kB / 0.5454 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.49e-05/0.1512, allocations: 85 kB / 0.5455 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.1512, allocations: 4 kB / 0.5455 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.423e-05/0.1512, allocations: 7.984 kB / 0.5455 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.381e-05/0.1513, allocations: 4 kB / 0.5455 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.1513, allocations: 0 / 0.5455 GB, free: 13.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001226/0.1514, allocations: 140.9 kB / 0.5457 GB, free: 13.81 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1514, allocations: 3.938 kB / 0.5457 GB, free: 13.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002128/0.1516, allocations: 16 kB / 0.5457 GB, free: 13.79 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.001523/0.1532, allocations: 401.9 kB / 0.5461 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001608/0.1534, allocations: 43.98 kB / 0.5461 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1534, allocations: 0 / 0.5461 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.581e-05/0.1534, allocations: 23.92 kB / 0.5461 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.1537, allocations: 33.61 kB / 0.5462 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004228/0.1541, allocations: 193.9 kB / 0.5464 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.1545, allocations: 0.7041 MB / 0.547 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.855e-05/0.1546, allocations: 16.53 kB / 0.5471 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.145e-05/0.1546, allocations: 15.44 kB / 0.5471 GB, free: 12.46 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1546, allocations: 0 / 0.5471 GB, free: 12.46 MB / 414.1 MB Notification: Performance of Templates: time 0.004533/0.1591, allocations: 1.511 MB / 0.5485 GB, free: 10.96 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 5.222842982970178]