Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001554/0.001554, allocations: 109.6 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001345/0.001345, allocations: 208 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 227.4 MB / 247.5 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2282/0.2282, allocations: 46.11 MB / 344.8 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002225/0.002225, allocations: 77.5 kB / 418.3 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1302, allocations: 62.45 MB / 480.8 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003474/0.1337, allocations: 1.732 MB / 482.5 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001808/0.1356, allocations: 1.023 MB / 483.5 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.993e-05/0.1356, allocations: 3.938 kB / 483.5 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000319/0.136, allocations: 83.7 kB / 483.6 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003213/0.1363, allocations: 111.6 kB / 483.7 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001956/0.1365, allocations: 83.66 kB / 483.8 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.1367, allocations: 111.7 kB / 483.9 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.1369, allocations: 15.98 kB / 483.9 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.486e-05/0.137, allocations: 47.77 kB / 484 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.1371, allocations: 59.77 kB / 484 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.1371, allocations: 11.94 kB / 484 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.1372, allocations: 43.98 kB / 484.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.946e-05/0.1373, allocations: 23.91 kB / 484.1 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.457e-05/0.1374, allocations: 39.73 kB / 484.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002048/0.1376, allocations: 119.8 kB / 484.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1376, allocations: 0 / 484.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1376, allocations: 0 / 484.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1376, allocations: 4 kB / 484.3 MB, free: 1.664 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.0006185/0.1382, allocations: 418.9 kB / 484.7 MB, free: 1.207 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.1383, allocations: 12.03 kB / 484.7 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.618e-05/0.1383, allocations: 12.75 kB / 484.7 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.1386, allocations: 220 kB / 484.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.278e-06/0.1386, allocations: 384 / 484.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.334e-05/0.1387, allocations: 16.02 kB / 484.9 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.1388, allocations: 53.67 kB / 485 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1388, allocations: 0 / 485 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.1389, allocations: 0 / 485 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1389, allocations: 3.938 kB / 485 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.213e-05/0.139, allocations: 19.98 kB / 485 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004169/0.1394, allocations: 296.8 kB / 485.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.1396, allocations: 58.66 kB / 485.4 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.648e-05/0.1396, allocations: 24.8 kB / 485.4 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.1397, allocations: 0 / 485.4 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002389/0.1399, allocations: 71.33 kB / 485.5 MB, free: 324 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.173e-06/0.1399, allocations: 0 / 485.5 MB, free: 324 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005932/0.1405, allocations: 177.1 kB / 485.6 MB, free: 140 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.1406, allocations: 55.34 kB / 485.7 MB, free: 72 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002878/0.1409, allocations: 224.3 kB / 485.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.1409, allocations: 25.7 kB / 485.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.504e-05/0.141, allocations: 108.1 kB / 486 MB, free: 15.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.342e-05/0.141, allocations: 31.62 kB / 486.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.74e-05/0.1411, allocations: 25.72 kB / 486.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.1413, allocations: 326.8 kB / 486.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.566e-05/0.1413, allocations: 24.36 kB / 486.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.59e-05/0.1414, allocations: 33.7 kB / 486.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.1415, allocations: 61.66 kB / 486.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.1416, allocations: 4 kB / 486.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001945/0.1418, allocations: 101.5 kB / 486.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.1418, allocations: 8 kB / 486.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.1418, allocations: 0 / 486.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.1418, allocations: 0 / 486.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.05e-05/0.1419, allocations: 19.92 kB / 486.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.1419, allocations: 4 kB / 486.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.521e-05/0.142, allocations: 3.938 kB / 486.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.142, allocations: 12.03 kB / 486.7 MB, free: 15.02 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.0001272/0.1421, allocations: 125.8 kB / 486.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/0.1422, allocations: 7.906 kB / 486.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.108e-05/0.1422, allocations: 21.41 kB / 486.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1422, allocations: 0 / 486.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/0.1422, allocations: 3.984 kB / 486.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.1422, allocations: 3.938 kB / 486.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005204/0.1428, allocations: 399.2 kB / 487.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.1428, allocations: 4 kB / 487.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.448e-05/0.1428, allocations: 15.92 kB / 487.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1428, allocations: 0 / 487.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.1429, allocations: 3.938 kB / 487.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.1429, allocations: 3.938 kB / 487.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.1429, allocations: 4.188 kB / 487.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/0.1431, allocations: 204.5 kB / 487.5 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.985e-05/0.1432, allocations: 92.86 kB / 487.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.607e-05/0.1433, allocations: 7.922 kB / 487.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.369e-05/0.1433, allocations: 8 kB / 487.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.1434, allocations: 0 / 487.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.1434, allocations: 4 kB / 487.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001547/0.1436, allocations: 169.2 kB / 487.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1436, allocations: 0 / 487.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.1438, allocations: 28 kB / 487.8 MB, free: 13.83 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.001735/0.1456, allocations: 463.5 kB / 488.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002002/0.1458, allocations: 63.86 kB / 488.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1458, allocations: 4.062 kB / 488.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.637e-05/0.1459, allocations: 27.98 kB / 488.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003864/0.1463, allocations: 30.98 kB / 488.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005622/0.1469, allocations: 281.1 kB / 488.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.1472, allocations: 0.7118 MB / 489.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.225e-05/0.1473, allocations: 19.42 kB / 489.3 MB, free: 12.35 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1473, allocations: 0 / 489.3 MB, free: 12.35 MB / 366.1 MB Notification: Performance of Templates: time 0.004156/0.1515, allocations: 2.005 MB / 491.3 MB, free: 10.35 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches