Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001385/0.001386, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001626/0.001626, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2114/0.2114, allocations: 46.11 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 76 kB / 417.6 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1179, allocations: 62.44 MB / 480 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003462/0.1214, allocations: 1.74 MB / 481.8 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001722/0.1231, allocations: 1.035 MB / 482.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.601e-05/0.1233, allocations: 0 / 482.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00033/0.1236, allocations: 107.7 kB / 482.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003441/0.124, allocations: 123.5 kB / 483 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002255/0.1242, allocations: 83.67 kB / 483.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.1244, allocations: 127.7 kB / 483.2 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.1245, allocations: 15.98 kB / 483.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.1247, allocations: 59.75 kB / 483.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.1248, allocations: 63.75 kB / 483.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.1248, allocations: 4 kB / 483.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.1249, allocations: 59.98 kB / 483.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.108e-05/0.125, allocations: 31.8 kB / 483.5 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.11e-05/0.1251, allocations: 51.66 kB / 483.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.1253, allocations: 139.8 kB / 483.7 MB, free: 1.645 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1253, allocations: 0 / 483.7 MB, free: 1.645 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1253, allocations: 0 / 483.7 MB, free: 1.645 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1253, allocations: 0 / 483.7 MB, free: 1.645 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.0005505/0.1259, allocations: 438.8 kB / 484.1 MB, free: 1.168 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.1259, allocations: 8.031 kB / 484.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.748e-05/0.126, allocations: 16.75 kB / 484.1 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.1262, allocations: 231.9 kB / 484.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.1263, allocations: 384 / 484.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.1263, allocations: 12.06 kB / 484.3 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.1265, allocations: 57.67 kB / 484.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.1265, allocations: 0 / 484.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.1265, allocations: 7.984 kB / 484.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1265, allocations: 0 / 484.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.76e-05/0.1266, allocations: 19.98 kB / 484.4 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004304/0.1271, allocations: 316.6 kB / 484.7 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002601/0.1273, allocations: 62.55 kB / 484.8 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.852e-05/0.1274, allocations: 20.97 kB / 484.8 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.1274, allocations: 0 / 484.8 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002095/0.1276, allocations: 67.39 kB / 484.9 MB, free: 252 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.1277, allocations: 4 kB / 484.9 MB, free: 248 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007758/0.1284, allocations: 248.9 kB / 485.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.1285, allocations: 55.34 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.1287, allocations: 247.2 kB / 485.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.1288, allocations: 25.7 kB / 485.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.628e-05/0.1288, allocations: 120.1 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.538e-05/0.1289, allocations: 31.55 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.586e-05/0.1289, allocations: 37.7 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.129, allocations: 326.8 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.195e-05/0.1291, allocations: 27.98 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.953e-05/0.1292, allocations: 49.7 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.1293, allocations: 93.62 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1294, allocations: 0 / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002283/0.1296, allocations: 129.5 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.1296, allocations: 8 kB / 486.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.1296, allocations: 0 / 486.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.1296, allocations: 0 / 486.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.252e-05/0.1297, allocations: 23.92 kB / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.1297, allocations: 8.641 kB / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.554e-05/0.1298, allocations: 0 / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.1298, allocations: 8 kB / 486.3 MB, free: 14.76 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.0001121/0.1299, allocations: 137.9 kB / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/0.13, allocations: 15.81 kB / 486.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.959e-05/0.13, allocations: 21.33 kB / 486.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.13, allocations: 4 kB / 486.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.13, allocations: 3.938 kB / 486.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.1301, allocations: 0 / 486.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005065/0.1306, allocations: 459.9 kB / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1306, allocations: 0 / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.627e-05/0.1306, allocations: 15.94 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.1306, allocations: 4 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.1307, allocations: 7.984 kB / 487 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.1307, allocations: 4 kB / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1307, allocations: 0 / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003002/0.131, allocations: 233 kB / 487.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.279e-05/0.131, allocations: 92.91 kB / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.049e-05/0.1311, allocations: 8 kB / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.759e-05/0.1312, allocations: 7.938 kB / 487.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.1312, allocations: 7.984 kB / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.1312, allocations: 8.031 kB / 487.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001547/0.1314, allocations: 196.2 kB / 487.5 MB, free: 13.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1314, allocations: 0 / 487.5 MB, free: 13.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002784/0.1317, allocations: 31.98 kB / 487.5 MB, free: 13.41 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.001108/0.1328, allocations: 0.5036 MB / 488 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002147/0.133, allocations: 79.84 kB / 488.1 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.133, allocations: 4 kB / 488.1 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.178e-05/0.1331, allocations: 39.92 kB / 488.2 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.1335, allocations: 39.83 kB / 488.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005146/0.134, allocations: 308.6 kB / 488.5 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.1343, allocations: 0.7199 MB / 489.2 MB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.984e-05/0.1344, allocations: 16.62 kB / 489.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.837e-05/0.1344, allocations: 23.38 kB / 489.3 MB, free: 11.81 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1344, allocations: 4 kB / 489.3 MB, free: 11.81 MB / 366.1 MB Notification: Performance of Templates: time 0.004957/0.1394, allocations: 1.997 MB / 491.3 MB, free: 9.828 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches