Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009971/0.0009973, allocations: 95 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00115/0.00115, allocations: 206.1 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.8 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2327/0.2327, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002669/0.0002669, allocations: 12 kB / 419.5 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1311, allocations: 63.56 MB / 483.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.001965/0.1331, allocations: 1.45 MB / 484.5 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.1346, allocations: 0.9863 MB / 485.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.934e-05/0.1347, allocations: 0 / 485.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002745/0.135, allocations: 43.84 kB / 485.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002407/0.1353, allocations: 79.73 kB / 485.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001974/0.1355, allocations: 63.81 kB / 485.7 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.1357, allocations: 95.69 kB / 485.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.1358, allocations: 12 kB / 485.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.95e-05/0.1359, allocations: 43.77 kB / 485.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.587e-05/0.1359, allocations: 31.73 kB / 485.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.136, allocations: 8 kB / 485.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.691e-05/0.1361, allocations: 39.98 kB / 485.9 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.221e-05/0.1361, allocations: 23.91 kB / 486 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.012e-05/0.1362, allocations: 53.45 kB / 486 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.1364, allocations: 111.9 kB / 486.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.1364, allocations: 4 kB / 486.1 MB, free: 1.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1365, allocations: 0 / 486.1 MB, free: 1.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.1365, allocations: 0 / 486.1 MB, free: 1.09 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.0005467/0.137, allocations: 399.1 kB / 486.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.1371, allocations: 12.88 kB / 486.5 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.392e-05/0.1371, allocations: 12.78 kB / 486.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.1374, allocations: 212.8 kB / 486.8 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.1374, allocations: 4.375 kB / 486.8 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.1374, allocations: 4.125 kB / 486.8 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.1376, allocations: 57.61 kB / 486.8 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.1376, allocations: 0 / 486.8 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.1376, allocations: 4 kB / 486.8 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1376, allocations: 0 / 486.8 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.669e-05/0.1377, allocations: 19.98 kB / 486.8 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004039/0.1381, allocations: 296.7 kB / 487.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.1383, allocations: 58.67 kB / 487.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.368e-05/0.1384, allocations: 16.86 kB / 487.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.1384, allocations: 3.984 kB / 487.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001794/0.1386, allocations: 75.33 kB / 487.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.1386, allocations: 3.938 kB / 487.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005356/0.1391, allocations: 173.2 kB / 487.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.539e-05/0.1392, allocations: 55.39 kB / 487.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.1394, allocations: 194.9 kB / 487.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.1394, allocations: 25.7 kB / 487.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.611e-05/0.1395, allocations: 104.1 kB / 487.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.1395, allocations: 27.69 kB / 487.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.1395, allocations: 17.72 kB / 487.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.1396, allocations: 326.8 kB / 488.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.542e-05/0.1397, allocations: 19.98 kB / 488.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.027e-05/0.1398, allocations: 37.7 kB / 488.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.1399, allocations: 61.64 kB / 488.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1399, allocations: 0 / 488.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001821/0.1401, allocations: 101.5 kB / 488.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.1401, allocations: 4 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.1401, allocations: 0 / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.1401, allocations: 4 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.348e-05/0.1402, allocations: 19.92 kB / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.1403, allocations: 0 / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.192e-05/0.1403, allocations: 8.312 kB / 488.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.1403, allocations: 4.031 kB / 488.4 MB, free: 14.54 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.182e-05/0.1404, allocations: 129.8 kB / 488.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.813e-05/0.1405, allocations: 7.906 kB / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.705e-05/0.1405, allocations: 13.41 kB / 488.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1405, allocations: 8 kB / 488.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1405, allocations: 0 / 488.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.417e-06/0.1405, allocations: 15.84 kB / 488.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004891/0.141, allocations: 399.2 kB / 489 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.141, allocations: 0 / 489 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.185e-05/0.1411, allocations: 8 kB / 489 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1411, allocations: 0 / 489 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.1411, allocations: 15.92 kB / 489 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.1411, allocations: 3.938 kB / 489 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1411, allocations: 0 / 489 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.1414, allocations: 200.3 kB / 489.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.246e-05/0.1414, allocations: 92.92 kB / 489.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.1415, allocations: 8.109 kB / 489.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.072e-05/0.1415, allocations: 4 kB / 489.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.309e-05/0.1416, allocations: 11.94 kB / 489.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.1416, allocations: 7.984 kB / 489.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001295/0.1417, allocations: 148.8 kB / 489.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1417, allocations: 0 / 489.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.142, allocations: 23.98 kB / 489.5 MB, free: 13.36 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.1431, allocations: 468 kB / 490 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001703/0.1432, allocations: 47.98 kB / 490 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.1432, allocations: 8.062 kB / 490 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.644e-05/0.1433, allocations: 31.92 kB / 490.1 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.1437, allocations: 31.47 kB / 490.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004579/0.1442, allocations: 250.2 kB / 490.3 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.1445, allocations: 0.7043 MB / 491 MB, free: 11.94 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.658e-05/0.1446, allocations: 12.88 kB / 491.1 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.316e-05/0.1447, allocations: 19.44 kB / 491.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1447, allocations: 4 kB / 491.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of Templates: time 0.004502/0.1492, allocations: 1.646 MB / 492.7 MB, free: 10.27 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches