Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001217/0.001217, allocations: 108 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001471/0.001471, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2298/0.2298, allocations: 46.11 MB / 343.8 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001322, allocations: 79.91 kB / 417 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1284, allocations: 62.45 MB / 479.5 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003109/0.1316, allocations: 1.781 MB / 481.3 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.1332, allocations: 1.013 MB / 482.3 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.727e-05/0.1332, allocations: 4 kB / 482.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003051/0.1336, allocations: 39.84 kB / 482.3 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003175/0.1339, allocations: 67.75 kB / 482.4 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.1341, allocations: 71.86 kB / 482.5 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001996/0.1344, allocations: 99.7 kB / 482.6 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.1345, allocations: 15.98 kB / 482.6 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.1346, allocations: 47.7 kB / 482.6 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.412e-05/0.1347, allocations: 39.8 kB / 482.7 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.1347, allocations: 4 kB / 482.7 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.1349, allocations: 43.97 kB / 482.7 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.152e-05/0.1349, allocations: 15.92 kB / 482.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.855e-05/0.135, allocations: 31.75 kB / 482.8 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002526/0.1353, allocations: 115.9 kB / 482.9 MB, free: 2.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1353, allocations: 0 / 482.9 MB, free: 2.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1353, allocations: 0 / 482.9 MB, free: 2.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.1353, allocations: 0 / 482.9 MB, free: 2.23 MB / 350.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.0006487/0.136, allocations: 407.1 kB / 483.3 MB, free: 1.785 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.136, allocations: 15.97 kB / 483.3 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.41e-05/0.1361, allocations: 8.844 kB / 483.3 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002884/0.1364, allocations: 208.1 kB / 483.5 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.1364, allocations: 4.375 kB / 483.5 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.1364, allocations: 4.125 kB / 483.5 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.1366, allocations: 61.61 kB / 483.6 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.1367, allocations: 0 / 483.6 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.1367, allocations: 0 / 483.6 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1367, allocations: 0 / 483.6 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.7e-05/0.1368, allocations: 23.98 kB / 483.6 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004478/0.1373, allocations: 288.7 kB / 483.9 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000232/0.1375, allocations: 62.61 kB / 483.9 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.152e-05/0.1376, allocations: 16.86 kB / 483.9 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.1376, allocations: 4 kB / 484 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002431/0.1379, allocations: 67.38 kB / 484 MB, free: 0.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.753e-06/0.1379, allocations: 4 kB / 484 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007018/0.1386, allocations: 161.2 kB / 484.2 MB, free: 0.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.1387, allocations: 55.41 kB / 484.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.1389, allocations: 174.2 kB / 484.4 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.1389, allocations: 29.7 kB / 484.4 MB, free: 480 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.705e-05/0.139, allocations: 100.1 kB / 484.5 MB, free: 376 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.9e-05/0.1391, allocations: 35.56 kB / 484.6 MB, free: 340 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.717e-05/0.1392, allocations: 17.72 kB / 484.6 MB, free: 316 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.1393, allocations: 326.8 kB / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.44e-05/0.1394, allocations: 23.98 kB / 484.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.1395, allocations: 37.64 kB / 485 MB, free: 15.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.1397, allocations: 61.7 kB / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1397, allocations: 0 / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002637/0.14, allocations: 97.91 kB / 485.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.14, allocations: 8 kB / 485.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.14, allocations: 0 / 485.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1401, allocations: 0 / 485.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.1402, allocations: 19.98 kB / 485.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.1402, allocations: 8.141 kB / 485.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.923e-05/0.1403, allocations: 11.91 kB / 485.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.1403, allocations: 8 kB / 485.2 MB, free: 15.69 MB / 366.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.0001348/0.1405, allocations: 128.3 kB / 485.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.136e-05/0.1405, allocations: 7.906 kB / 485.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.336e-05/0.1406, allocations: 12.72 kB / 485.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.1406, allocations: 0 / 485.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.1406, allocations: 0 / 485.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/0.1406, allocations: 7.922 kB / 485.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005949/0.1412, allocations: 399.2 kB / 485.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1412, allocations: 0 / 485.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.764e-05/0.1413, allocations: 8 kB / 485.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1413, allocations: 0 / 485.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.1413, allocations: 7.922 kB / 485.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.145e-06/0.1413, allocations: 4 kB / 485.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1413, allocations: 0 / 485.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003162/0.1416, allocations: 212.2 kB / 485.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.561e-05/0.1417, allocations: 85.02 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.1418, allocations: 3.938 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.1419, allocations: 4 kB / 486 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.723e-05/0.1419, allocations: 7.984 kB / 486 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.142, allocations: 4 kB / 486 MB, free: 14.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001443/0.1421, allocations: 127.2 kB / 486.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1421, allocations: 4 kB / 486.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004672/0.1426, allocations: 28.17 kB / 486.2 MB, free: 14.55 MB / 366.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.001523/0.1441, allocations: 446.1 kB / 486.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002591/0.1444, allocations: 67.91 kB / 486.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1444, allocations: 0 / 486.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.944e-05/0.1445, allocations: 27.94 kB / 486.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005492/0.1451, allocations: 38.84 kB / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005751/0.1457, allocations: 231.5 kB / 487 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.1461, allocations: 0.7002 MB / 487.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.903e-05/0.1462, allocations: 16.88 kB / 487.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.547e-05/0.1463, allocations: 23.42 kB / 487.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1463, allocations: 4 kB / 487.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of Templates: time 0.006131/0.1524, allocations: 1.695 MB / 489.4 MB, free: 11.45 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches