Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001049/0.001049, allocations: 103.2 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.001256/0.001256, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 227.4 MB / 246.8 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2229/0.2229, allocations: 46.11 MB / 344.1 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 79.34 kB / 417.6 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1246, allocations: 62.45 MB / 480 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003533/0.1282, allocations: 1.739 MB / 481.8 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.1299, allocations: 1.029 MB / 482.8 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.91e-05/0.13, allocations: 0 / 482.8 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003311/0.1303, allocations: 91.67 kB / 482.9 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003014/0.1306, allocations: 115.6 kB / 483 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001818/0.1308, allocations: 79.67 kB / 483.1 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.131, allocations: 119.7 kB / 483.2 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.1311, allocations: 12 kB / 483.2 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.8e-05/0.1312, allocations: 63.69 kB / 483.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.419e-05/0.1313, allocations: 55.77 kB / 483.3 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.1313, allocations: 4 kB / 483.3 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.1315, allocations: 59.98 kB / 483.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.689e-05/0.1315, allocations: 27.91 kB / 483.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.463e-05/0.1316, allocations: 43.67 kB / 483.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.1318, allocations: 135.8 kB / 483.6 MB, free: 1.645 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1318, allocations: 0 / 483.6 MB, free: 1.645 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-05/0.1318, allocations: 4 kB / 483.6 MB, free: 1.641 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.317e-06/0.1318, allocations: 0 / 483.6 MB, free: 1.641 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006408/0.1325, allocations: 426.9 kB / 484 MB, free: 1.176 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.899e-05/0.1326, allocations: 12.02 kB / 484 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.957e-05/0.1326, allocations: 16.75 kB / 484 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/0.1329, allocations: 220 kB / 484.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.1329, allocations: 8.312 kB / 484.3 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.1329, allocations: 8.125 kB / 484.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.1331, allocations: 61.66 kB / 484.3 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1331, allocations: 0 / 484.3 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.1331, allocations: 0 / 484.3 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.1331, allocations: 4 kB / 484.3 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.544e-05/0.1332, allocations: 27.86 kB / 484.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004631/0.1337, allocations: 304.8 kB / 484.7 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.1339, allocations: 62.55 kB / 484.7 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.903e-05/0.134, allocations: 24.91 kB / 484.7 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.134, allocations: 0 / 484.7 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002038/0.1342, allocations: 75.45 kB / 484.8 MB, free: 256 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.1343, allocations: 0 / 484.8 MB, free: 256 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007406/0.135, allocations: 241 kB / 485.1 MB, free: 8 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.289e-05/0.1351, allocations: 59.34 kB / 485.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/0.1353, allocations: 220.3 kB / 485.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.1353, allocations: 25.7 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.723e-05/0.1354, allocations: 108.1 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.208e-05/0.1354, allocations: 39.53 kB / 485.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.979e-05/0.1355, allocations: 25.72 kB / 485.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.1356, allocations: 330.8 kB / 485.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.545e-05/0.1357, allocations: 27.98 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.574e-05/0.1358, allocations: 49.64 kB / 485.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.1359, allocations: 81.64 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1359, allocations: 4 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002179/0.1362, allocations: 129.4 kB / 486.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1362, allocations: 6.5 kB / 486.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1362, allocations: 0 / 486.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.1362, allocations: 4 kB / 486.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.086e-05/0.1363, allocations: 23.98 kB / 486.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.1363, allocations: 3.938 kB / 486.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.614e-05/0.1364, allocations: 8 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.1364, allocations: 4 kB / 486.2 MB, free: 14.82 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 (13): * Single equations (assignments): 13 * 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.000105/0.1365, allocations: 141.7 kB / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.1365, allocations: 11.81 kB / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.03e-05/0.1366, allocations: 21.39 kB / 486.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.1366, allocations: 0 / 486.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.1366, allocations: 3.938 kB / 486.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.1366, allocations: 4 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005511/0.1372, allocations: 463.8 kB / 486.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1372, allocations: 0 / 486.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.221e-05/0.1372, allocations: 12 kB / 486.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.1372, allocations: 4 kB / 486.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.1372, allocations: 4 kB / 486.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1373, allocations: 4 kB / 486.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1373, allocations: 3.984 kB / 486.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.1375, allocations: 233.2 kB / 487.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.081e-05/0.1376, allocations: 88.92 kB / 487.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/0.1376, allocations: 4 kB / 487.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.579e-05/0.1377, allocations: 7.984 kB / 487.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.709e-05/0.1377, allocations: 4 kB / 487.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.1377, allocations: 7.984 kB / 487.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001221/0.1379, allocations: 165.2 kB / 487.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1379, allocations: 4 kB / 487.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.1381, allocations: 35.98 kB / 487.4 MB, free: 13.5 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001125/0.1393, allocations: 0.5043 MB / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002068/0.1395, allocations: 83.91 kB / 488 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1395, allocations: 0 / 488 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.462e-05/0.1396, allocations: 43.92 kB / 488 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.1399, allocations: 28.11 kB / 488 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005039/0.1405, allocations: 276.5 kB / 488.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.1408, allocations: 0.7234 MB / 489 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.789e-05/0.1408, allocations: 20.62 kB / 489 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.844e-05/0.1409, allocations: 19.44 kB / 489.1 MB, free: 11.94 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1409, allocations: 4 kB / 489.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of Templates: time 0.005148/0.146, allocations: 1.98 MB / 491.1 MB, free: 9.965 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches