Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001159/0.001159, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001241/0.001241, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.209/0.209, allocations: 46.13 MB / 344.2 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 86.36 kB / 417.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1227, allocations: 62.45 MB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003077/0.1259, allocations: 1.723 MB / 481.8 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00163/0.1275, allocations: 1.029 MB / 482.8 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.124e-05/0.1276, allocations: 4 kB / 482.8 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003118/0.1279, allocations: 43.75 kB / 482.9 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003085/0.1283, allocations: 91.61 kB / 483 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002243/0.1285, allocations: 79.66 kB / 483.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.1287, allocations: 103.7 kB / 483.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.1288, allocations: 19.97 kB / 483.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.896e-05/0.1289, allocations: 43.78 kB / 483.2 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.14e-05/0.129, allocations: 31.8 kB / 483.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.129, allocations: 7.938 kB / 483.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.1291, allocations: 43.97 kB / 483.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.316e-05/0.1292, allocations: 23.92 kB / 483.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.354e-05/0.1292, allocations: 31.75 kB / 483.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.1295, allocations: 119.9 kB / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.1295, allocations: 0 / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1295, allocations: 0 / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1295, allocations: 4 kB / 483.5 MB, free: 1.785 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.0005441/0.13, allocations: 418.9 kB / 483.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.1301, allocations: 12.03 kB / 483.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.602e-05/0.1301, allocations: 12.83 kB / 483.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.1304, allocations: 216 kB / 484.1 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.1304, allocations: 4.359 kB / 484.1 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.1304, allocations: 12.12 kB / 484.1 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.1306, allocations: 53.67 kB / 484.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.1306, allocations: 0 / 484.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.1306, allocations: 0 / 484.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.1306, allocations: 4 kB / 484.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.277e-05/0.1307, allocations: 19.98 kB / 484.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003315/0.131, allocations: 288.8 kB / 484.5 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.1312, allocations: 62.67 kB / 484.6 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.261e-05/0.1313, allocations: 16.86 kB / 484.6 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.1313, allocations: 3.938 kB / 484.6 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001997/0.1315, allocations: 71.33 kB / 484.6 MB, free: 460 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.1315, allocations: 0 / 484.6 MB, free: 460 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005458/0.1321, allocations: 185.3 kB / 484.8 MB, free: 268 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.1321, allocations: 55.34 kB / 484.9 MB, free: 200 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.1323, allocations: 206.3 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.1324, allocations: 29.7 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.519e-05/0.1324, allocations: 100.1 kB / 485.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.1325, allocations: 19.72 kB / 485.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.23e-05/0.1325, allocations: 29.7 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.1326, allocations: 330.8 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.02e-05/0.1327, allocations: 23.94 kB / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.426e-05/0.1328, allocations: 33.7 kB / 485.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.1329, allocations: 61.64 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1329, allocations: 0 / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001981/0.1331, allocations: 101.5 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.1331, allocations: 18.52 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.1332, allocations: 0 / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.1332, allocations: 0 / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.061e-05/0.1333, allocations: 15.94 kB / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.403e-06/0.1333, allocations: 4 kB / 485.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.813e-05/0.1333, allocations: 3.938 kB / 485.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.1334, allocations: 7.984 kB / 485.8 MB, free: 15.18 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 9.567e-05/0.1335, allocations: 125.8 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.421e-05/0.1335, allocations: 11.91 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.218e-05/0.1336, allocations: 21.39 kB / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.1336, allocations: 4 kB / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1336, allocations: 0 / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.1336, allocations: 3.938 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004578/0.134, allocations: 399.2 kB / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1341, allocations: 0 / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.35e-05/0.1341, allocations: 8 kB / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1341, allocations: 0 / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.1341, allocations: 15.97 kB / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.1341, allocations: 3.938 kB / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.1341, allocations: 3.984 kB / 486.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.1344, allocations: 196.7 kB / 486.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.76e-05/0.1344, allocations: 96.91 kB / 486.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.1345, allocations: 7.875 kB / 486.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.339e-05/0.1345, allocations: 8 kB / 486.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.1346, allocations: 7.984 kB / 486.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.1346, allocations: 4 kB / 486.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001302/0.1348, allocations: 160.8 kB / 486.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1348, allocations: 0 / 486.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002695/0.135, allocations: 24 kB / 486.9 MB, free: 13.99 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.001039/0.1361, allocations: 467.9 kB / 487.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001808/0.1363, allocations: 63.92 kB / 487.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1363, allocations: 0 / 487.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.58e-05/0.1364, allocations: 27.98 kB / 487.5 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.1367, allocations: 23.36 kB / 487.5 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004681/0.1372, allocations: 243.1 kB / 487.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.1375, allocations: 0.7196 MB / 488.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.311e-05/0.1375, allocations: 13.19 kB / 488.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.765e-05/0.1376, allocations: 19.42 kB / 488.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1376, allocations: 0 / 488.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of Templates: time 0.004972/0.1426, allocations: 1.735 MB / 490.2 MB, free: 10.82 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches