Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001341/0.001341, allocations: 117 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001425/0.001425, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2209/0.2209, allocations: 46.11 MB / 344.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 84.16 kB / 419 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1295, allocations: 62.45 MB / 481.5 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003232/0.1327, allocations: 1.719 MB / 483.2 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001517/0.1343, allocations: 1.025 MB / 484.2 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.884e-05/0.1344, allocations: 7.875 kB / 484.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002582/0.1346, allocations: 55.8 kB / 484.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000273/0.1349, allocations: 99.53 kB / 484.4 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000182/0.1351, allocations: 79.67 kB / 484.5 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.1353, allocations: 99.75 kB / 484.6 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.201e-05/0.1354, allocations: 11.98 kB / 484.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.405e-05/0.1355, allocations: 35.8 kB / 484.6 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.32e-05/0.1355, allocations: 43.77 kB / 484.6 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.1356, allocations: 4 kB / 484.7 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.053e-05/0.1357, allocations: 51.92 kB / 484.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.398e-05/0.1357, allocations: 23.92 kB / 484.7 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.745e-05/0.1358, allocations: 43.62 kB / 484.8 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.136, allocations: 139.5 kB / 484.9 MB, free: 1.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.136, allocations: 0 / 484.9 MB, free: 1.055 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.136, allocations: 4 kB / 484.9 MB, free: 1.051 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.088e-06/0.136, allocations: 0 / 484.9 MB, free: 1.051 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.0005242/0.1366, allocations: 438.7 kB / 485.3 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.1366, allocations: 8.031 kB / 485.3 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.534e-05/0.1367, allocations: 16.84 kB / 485.4 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002771/0.137, allocations: 232.8 kB / 485.6 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.137, allocations: 384 / 485.6 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.137, allocations: 8.125 kB / 485.6 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.1372, allocations: 53.67 kB / 485.7 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1372, allocations: 0 / 485.7 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.1372, allocations: 0 / 485.7 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.1372, allocations: 0 / 485.7 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.15e-05/0.1373, allocations: 19.98 kB / 485.7 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003928/0.1377, allocations: 304.8 kB / 486 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.1378, allocations: 54.67 kB / 486 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.29e-05/0.1379, allocations: 24.86 kB / 486 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.1379, allocations: 0 / 486 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001428/0.1381, allocations: 75.27 kB / 486.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.1381, allocations: 0 / 486.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005227/0.1386, allocations: 185 kB / 486.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.1387, allocations: 55.34 kB / 486.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000255/0.1389, allocations: 271 kB / 486.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.139, allocations: 33.69 kB / 486.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.204e-05/0.1391, allocations: 112.1 kB / 486.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.1391, allocations: 23.7 kB / 486.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.943e-05/0.1391, allocations: 25.7 kB / 486.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.1393, allocations: 334.8 kB / 487.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.682e-05/0.1393, allocations: 19.98 kB / 487.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.22e-05/0.1394, allocations: 33.72 kB / 487.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.1395, allocations: 61.7 kB / 487.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1396, allocations: 4 kB / 487.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001801/0.1397, allocations: 105.5 kB / 487.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.1398, allocations: 8 kB / 487.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1398, allocations: 0 / 487.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.1398, allocations: 0 / 487.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.856e-05/0.1399, allocations: 15.94 kB / 487.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.717e-05/0.1399, allocations: 4 kB / 487.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.922e-05/0.14, allocations: 11.86 kB / 487.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/0.14, allocations: 4 kB / 487.4 MB, free: 14.32 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.0001063/0.1401, allocations: 137.9 kB / 487.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.428e-05/0.1401, allocations: 11.81 kB / 487.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.663e-05/0.1402, allocations: 29.33 kB / 487.6 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.1402, allocations: 4 kB / 487.6 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1402, allocations: 0 / 487.6 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.381e-06/0.1402, allocations: 3.938 kB / 487.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004526/0.1407, allocations: 399.3 kB / 488 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1407, allocations: 4.031 kB / 488 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.233e-05/0.1407, allocations: 12 kB / 488 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1407, allocations: 4 kB / 488 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.1407, allocations: 3.938 kB / 488 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1407, allocations: 384 / 488 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.1407, allocations: 3.938 kB / 488 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00023/0.141, allocations: 208.2 kB / 488.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.485e-05/0.1411, allocations: 97.11 kB / 488.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.1411, allocations: 3.938 kB / 488.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.025e-05/0.1412, allocations: 7.938 kB / 488.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.1412, allocations: 7.984 kB / 488.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.1412, allocations: 4 kB / 488.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001704/0.1414, allocations: 204.4 kB / 488.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1414, allocations: 0 / 488.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002581/0.1417, allocations: 27.98 kB / 488.5 MB, free: 13.06 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.001062/0.1427, allocations: 454.9 kB / 489 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001799/0.1429, allocations: 63.95 kB / 489.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.143, allocations: 0 / 489.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.192e-05/0.143, allocations: 36.14 kB / 489.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.1434, allocations: 27.53 kB / 489.1 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004646/0.1439, allocations: 299.6 kB / 489.4 MB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.1441, allocations: 0.7119 MB / 490.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.733e-05/0.1442, allocations: 16.94 kB / 490.1 MB, free: 11.58 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.642e-05/0.1442, allocations: 19.44 kB / 490.2 MB, free: 11.56 MB / 366.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1442, allocations: 0 / 490.2 MB, free: 11.56 MB / 366.1 MB Notification: Performance of Templates: time 0.004696/0.1489, allocations: 1.762 MB / 491.9 MB, free: 9.816 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches