Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.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.001339/0.001339, allocations: 114 kB / 19.13 MB, free: 3.945 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.001476/0.001476, allocations: 200.9 kB / 22.07 MB, free: 1 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.449/1.449, allocations: 227.5 MB / 252.3 MB, free: 76 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.2283/0.2283, allocations: 46.14 MB / 351.8 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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00228/0.00228, allocations: 83.14 kB / 490.9 MB, free: 28.06 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1199, allocations: 62.44 MB / 0.5404 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003198/0.1231, allocations: 1.688 MB / 0.5421 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.1249, allocations: 1.006 MB / 0.543 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.316e-05/0.125, allocations: 4 kB / 0.543 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003192/0.1253, allocations: 51.75 kB / 0.5431 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003458/0.1257, allocations: 103.6 kB / 0.5432 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002403/0.126, allocations: 67.69 kB / 0.5433 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001869/0.1262, allocations: 107.7 kB / 0.5434 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.178e-05/0.1262, allocations: 8.172 kB / 0.5434 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.04e-05/0.1263, allocations: 43.78 kB / 0.5434 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.996e-05/0.1264, allocations: 27.84 kB / 0.5434 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.1264, allocations: 4 kB / 0.5434 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.949e-05/0.1265, allocations: 28 kB / 0.5435 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.074e-05/0.1266, allocations: 35.78 kB / 0.5435 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.965e-05/0.1267, allocations: 35.69 kB / 0.5435 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.1269, allocations: 119.4 kB / 0.5436 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1269, allocations: 0 / 0.5436 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.1269, allocations: 4 kB / 0.5437 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1269, allocations: 0 / 0.5437 GB, free: 0.8477 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.0006178/0.1276, allocations: 453.4 kB / 0.5441 GB, free: 368 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.1276, allocations: 12.03 kB / 0.5441 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.86e-05/0.1277, allocations: 12.88 kB / 0.5441 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003177/0.128, allocations: 217.1 kB / 0.5443 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.128, allocations: 384 / 0.5443 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.128, allocations: 8.312 kB / 0.5443 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.1282, allocations: 54 kB / 0.5444 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.1282, allocations: 3.984 kB / 0.5444 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.1282, allocations: 3.938 kB / 0.5444 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1282, allocations: 0 / 0.5444 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.78e-05/0.1283, allocations: 8 kB / 0.5444 GB, free: 0 / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002268/0.1285, allocations: 197.7 kB / 0.5446 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.1287, allocations: 62.55 kB / 0.5446 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.713e-05/0.1288, allocations: 16.86 kB / 0.5447 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.1288, allocations: 0 / 0.5447 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001567/0.129, allocations: 71.31 kB / 0.5447 GB, free: 15.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.129, allocations: 0 / 0.5447 GB, free: 15.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.000293/0.1293, allocations: 101.6 kB / 0.5448 GB, free: 15.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/0.1294, allocations: 59.34 kB / 0.5449 GB, free: 15.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002707/0.1296, allocations: 274.7 kB / 0.5451 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.1297, allocations: 29.7 kB / 0.5452 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.22e-05/0.1298, allocations: 112.1 kB / 0.5453 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/0.1298, allocations: 11.91 kB / 0.5453 GB, free: 14.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.25e-05/0.1299, allocations: 21.7 kB / 0.5453 GB, free: 14.94 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.13, allocations: 326.8 kB / 0.5456 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.209e-05/0.1301, allocations: 12.25 kB / 0.5456 GB, free: 14.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.801e-05/0.1302, allocations: 33.7 kB / 0.5457 GB, free: 14.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.1303, allocations: 45.7 kB / 0.5457 GB, free: 14.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1303, allocations: 0 / 0.5457 GB, free: 14.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001715/0.1305, allocations: 89.47 kB / 0.5458 GB, free: 14.42 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.1305, allocations: 4 kB / 0.5458 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1305, allocations: 3.938 kB / 0.5458 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.1306, allocations: 4 kB / 0.5458 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.592e-05/0.1306, allocations: 20.02 kB / 0.5458 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.1307, allocations: 3.938 kB / 0.5458 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.014e-05/0.1307, allocations: 7.953 kB / 0.5458 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.034e-06/0.1307, allocations: 0 / 0.5458 GB, free: 14.38 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.0001258/0.1309, allocations: 133.8 kB / 0.546 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.874e-05/0.1309, allocations: 19.84 kB / 0.546 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.374e-05/0.1309, allocations: 16.98 kB / 0.546 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.131, allocations: 4 kB / 0.546 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.131, allocations: 0 / 0.546 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.131, allocations: 4 kB / 0.546 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/0.1312, allocations: 189.6 kB / 0.5462 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1312, allocations: 3.938 kB / 0.5462 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.68e-05/0.1312, allocations: 11.94 kB / 0.5462 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1312, allocations: 0 / 0.5462 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.1312, allocations: 7.984 kB / 0.5462 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1312, allocations: 0 / 0.5462 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1312, allocations: 0 / 0.5462 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/0.1315, allocations: 117 kB / 0.5463 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.165e-05/0.1315, allocations: 96.89 kB / 0.5464 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.1316, allocations: 8 kB / 0.5464 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.569e-05/0.1316, allocations: 0 / 0.5464 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.482e-05/0.1316, allocations: 7.984 kB / 0.5464 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.1317, allocations: 0 / 0.5464 GB, free: 13.67 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002004/0.1319, allocations: 200.6 kB / 0.5466 GB, free: 13.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1319, allocations: 0 / 0.5466 GB, free: 13.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002198/0.1321, allocations: 19.98 kB / 0.5466 GB, free: 13.46 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.001496/0.1336, allocations: 403.4 kB / 0.547 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001723/0.1338, allocations: 51.92 kB / 0.5471 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.1338, allocations: 0 / 0.5471 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.545e-05/0.1339, allocations: 19.94 kB / 0.5471 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.1342, allocations: 39.08 kB / 0.5471 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000543/0.1347, allocations: 304 kB / 0.5474 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.1351, allocations: 0.7119 MB / 0.5481 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.785e-05/0.1352, allocations: 15.44 kB / 0.5481 GB, free: 12.02 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1352, allocations: 0 / 0.5481 GB, free: 12.02 MB / 414.1 MB Notification: Performance of Templates: time 0.00421/0.1394, allocations: 1.898 MB / 0.55 GB, free: 10.12 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.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: 7.783474707044661]