Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.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.001819/0.00182, allocations: 117 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.002164/0.002165, allocations: 205.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.517/1.517, allocations: 227.4 MB / 251.6 MB, free: 88 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.2511/0.2511, allocations: 46.15 MB / 351.1 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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002324/0.002324, allocations: 79.8 kB / 490.3 MB, free: 27.97 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1462, allocations: 62.45 MB / 0.5398 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.00336/0.1496, allocations: 1.686 MB / 0.5414 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001862/0.1515, allocations: 1.005 MB / 0.5424 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.708e-05/0.1516, allocations: 0 / 0.5424 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000405/0.152, allocations: 83.7 kB / 0.5425 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000361/0.1524, allocations: 119.6 kB / 0.5426 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.1526, allocations: 75.66 kB / 0.5426 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002015/0.1528, allocations: 107.7 kB / 0.5427 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.06e-05/0.1529, allocations: 4.234 kB / 0.5428 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.153, allocations: 55.75 kB / 0.5428 GB, free: 1 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.1531, allocations: 55.77 kB / 0.5429 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.1532, allocations: 7.938 kB / 0.5429 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.1533, allocations: 35.98 kB / 0.5429 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.983e-05/0.1533, allocations: 23.92 kB / 0.5429 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.1535, allocations: 31.75 kB / 0.543 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.1537, allocations: 111.5 kB / 0.5431 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1537, allocations: 0 / 0.5431 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.1537, allocations: 0 / 0.5431 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.1537, allocations: 0 / 0.5431 GB, free: 0.7383 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.0005768/0.1543, allocations: 426.6 kB / 0.5435 GB, free: 280 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.1544, allocations: 8.031 kB / 0.5435 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.533e-05/0.1544, allocations: 16.84 kB / 0.5435 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003538/0.1548, allocations: 220.2 kB / 0.5437 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.1548, allocations: 384 / 0.5437 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-06/0.1548, allocations: 384 / 0.5437 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.155, allocations: 57.92 kB / 0.5438 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.155, allocations: 0 / 0.5438 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.155, allocations: 4 kB / 0.5438 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.155, allocations: 0 / 0.5438 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.734e-05/0.1551, allocations: 15.92 kB / 0.5438 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002311/0.1553, allocations: 189.7 kB / 0.544 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.1555, allocations: 50.56 kB / 0.544 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.781e-05/0.1556, allocations: 20.84 kB / 0.544 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.1556, allocations: 0 / 0.544 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001543/0.1558, allocations: 71.33 kB / 0.5441 GB, free: 15.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 4.198e-06/0.1558, allocations: 4 kB / 0.5441 GB, free: 15.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002933/0.1561, allocations: 97.52 kB / 0.5442 GB, free: 15.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.1561, allocations: 55.39 kB / 0.5442 GB, free: 15.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002239/0.1564, allocations: 223.4 kB / 0.5445 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.1564, allocations: 25.7 kB / 0.5445 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.949e-05/0.1565, allocations: 104.1 kB / 0.5446 GB, free: 14.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.51e-05/0.1565, allocations: 11.95 kB / 0.5446 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-05/0.1566, allocations: 21.7 kB / 0.5446 GB, free: 14.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.1567, allocations: 326.8 kB / 0.5449 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.906e-05/0.1568, allocations: 12 kB / 0.5449 GB, free: 14.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.859e-05/0.1569, allocations: 37.69 kB / 0.545 GB, free: 14.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.157, allocations: 41.64 kB / 0.545 GB, free: 14.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.157, allocations: 0 / 0.545 GB, free: 14.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001643/0.1572, allocations: 97.47 kB / 0.5451 GB, free: 14.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.1572, allocations: 4 kB / 0.5451 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1572, allocations: 320 / 0.5451 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.1572, allocations: 4 kB / 0.5451 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.444e-05/0.1573, allocations: 15.92 kB / 0.5451 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.1573, allocations: 4 kB / 0.5451 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.323e-05/0.1574, allocations: 4 kB / 0.5451 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.1574, allocations: 0 / 0.5451 GB, free: 14.37 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.0001193/0.1575, allocations: 131.5 kB / 0.5453 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.1575, allocations: 19.88 kB / 0.5453 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.606e-05/0.1576, allocations: 17 kB / 0.5453 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1576, allocations: 0 / 0.5453 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.433e-06/0.1576, allocations: 3.984 kB / 0.5453 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1576, allocations: 0 / 0.5453 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001696/0.1578, allocations: 181.6 kB / 0.5455 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1578, allocations: 4 kB / 0.5455 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.282e-05/0.1578, allocations: 11.86 kB / 0.5455 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.1578, allocations: 4 kB / 0.5455 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.1578, allocations: 0 / 0.5455 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1578, allocations: 0 / 0.5455 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1579, allocations: 4 kB / 0.5455 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001885/0.158, allocations: 109 kB / 0.5456 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-05/0.1581, allocations: 92.94 kB / 0.5457 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.1581, allocations: 0 / 0.5457 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.366e-05/0.1582, allocations: 4 kB / 0.5457 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.367e-05/0.1582, allocations: 7.922 kB / 0.5457 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.1582, allocations: 4 kB / 0.5457 GB, free: 13.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001582/0.1584, allocations: 169.2 kB / 0.5459 GB, free: 13.53 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1584, allocations: 0 / 0.5459 GB, free: 13.53 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000214/0.1586, allocations: 23.94 kB / 0.5459 GB, free: 13.5 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.001611/0.1603, allocations: 408.5 kB / 0.5463 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001799/0.1604, allocations: 39.98 kB / 0.5463 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1605, allocations: 0 / 0.5463 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.037e-05/0.1605, allocations: 23.92 kB / 0.5463 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.1608, allocations: 42.28 kB / 0.5464 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005428/0.1614, allocations: 230.2 kB / 0.5466 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00036/0.1618, allocations: 0.708 MB / 0.5473 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.284e-05/0.1618, allocations: 16.53 kB / 0.5473 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.09e-05/0.1619, allocations: 11.44 kB / 0.5473 GB, free: 12.12 MB / 414.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1619, allocations: 4 kB / 0.5473 GB, free: 12.12 MB / 414.1 MB Notification: Performance of Templates: time 0.005004/0.1669, allocations: 1.515 MB / 0.5488 GB, free: 10.62 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.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.242027033120394]