Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009288/0.0009287, allocations: 97.28 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.001161/0.001161, allocations: 205.3 kB / 18.28 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.479/1.479, allocations: 227.7 MB / 246.8 MB, free: 11.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1989/0.1989, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003224/0.0003226, allocations: 12 kB / 419.5 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1277, allocations: 63.56 MB / 483.1 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002233/0.13, allocations: 1.446 MB / 484.5 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001732/0.1318, allocations: 0.9902 MB / 485.5 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.533e-05/0.1319, allocations: 0 / 485.5 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000269/0.1321, allocations: 39.84 kB / 485.6 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000272/0.1324, allocations: 79.73 kB / 485.6 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002103/0.1326, allocations: 59.81 kB / 485.7 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000162/0.1328, allocations: 103.7 kB / 485.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.986e-05/0.1329, allocations: 12 kB / 485.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.122e-05/0.133, allocations: 39.78 kB / 485.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.098e-05/0.1331, allocations: 35.72 kB / 485.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.1331, allocations: 4 kB / 485.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.1332, allocations: 39.98 kB / 485.9 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.093e-05/0.1333, allocations: 23.91 kB / 486 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.685e-05/0.1333, allocations: 53.45 kB / 486 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.1335, allocations: 115.9 kB / 486.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.1335, allocations: 0 / 486.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.51e-07/0.1335, allocations: 0 / 486.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.1335, allocations: 0 / 486.1 MB, free: 1.082 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.0004903/0.134, allocations: 407.1 kB / 486.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.1341, allocations: 12.81 kB / 486.5 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.813e-05/0.1341, allocations: 8.844 kB / 486.5 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.1344, allocations: 208.8 kB / 486.7 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.1344, allocations: 4.375 kB / 486.8 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.1344, allocations: 8.125 kB / 486.8 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.1346, allocations: 53.61 kB / 486.8 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.1346, allocations: 0 / 486.8 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.1346, allocations: 12 kB / 486.8 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1346, allocations: 0 / 486.8 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.343e-05/0.1347, allocations: 19.98 kB / 486.8 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004079/0.1351, allocations: 292.8 kB / 487.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001831/0.1353, allocations: 62.66 kB / 487.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.179e-05/0.1354, allocations: 20.86 kB / 487.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.1354, allocations: 0 / 487.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001767/0.1356, allocations: 75.31 kB / 487.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.1356, allocations: 0 / 487.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005266/0.1361, allocations: 169.2 kB / 487.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.1362, allocations: 51.41 kB / 487.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.1364, allocations: 202.8 kB / 487.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.1364, allocations: 25.7 kB / 487.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.497e-05/0.1365, allocations: 104.1 kB / 487.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/0.1365, allocations: 27.61 kB / 487.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/0.1365, allocations: 17.72 kB / 487.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1367, allocations: 326.8 kB / 488.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.835e-05/0.1367, allocations: 19.98 kB / 488.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.391e-05/0.1368, allocations: 41.7 kB / 488.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.1369, allocations: 61.72 kB / 488.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1369, allocations: 0 / 488.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001839/0.1371, allocations: 101.5 kB / 488.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.1371, allocations: 4 kB / 488.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1371, allocations: 0 / 488.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.1372, allocations: 4 kB / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.676e-05/0.1373, allocations: 19.92 kB / 488.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.381e-06/0.1373, allocations: 4.031 kB / 488.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.948e-05/0.1373, allocations: 7.938 kB / 488.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.1373, allocations: 4 kB / 488.5 MB, free: 14.52 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.0001089/0.1375, allocations: 128.5 kB / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.799e-05/0.1375, allocations: 7.906 kB / 488.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.954e-05/0.1375, allocations: 13.41 kB / 488.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1375, allocations: 4 kB / 488.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.1375, allocations: 0 / 488.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1376, allocations: 7.875 kB / 488.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004288/0.138, allocations: 403.2 kB / 489 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.138, allocations: 0 / 489 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.437e-05/0.138, allocations: 12 kB / 489 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.1381, allocations: 0 / 489 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.1381, allocations: 7.938 kB / 489 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-06/0.1381, allocations: 8.297 kB / 489 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1381, allocations: 0 / 489 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002171/0.1383, allocations: 204.3 kB / 489.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.389e-05/0.1384, allocations: 92.92 kB / 489.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.1384, allocations: 3.938 kB / 489.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.35e-05/0.1385, allocations: 7.984 kB / 489.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.059e-05/0.1385, allocations: 8 kB / 489.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.1385, allocations: 4.188 kB / 489.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001151/0.1387, allocations: 156.7 kB / 489.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1387, allocations: 3.938 kB / 489.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000251/0.1389, allocations: 23.98 kB / 489.5 MB, free: 13.34 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.001085/0.14, allocations: 457.5 kB / 490 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001693/0.1402, allocations: 51.98 kB / 490 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1402, allocations: 0 / 490 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.062e-05/0.1403, allocations: 36.02 kB / 490.1 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.0003401/0.1406, allocations: 35.86 kB / 490.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004585/0.1411, allocations: 250.3 kB / 490.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.1414, allocations: 0.7043 MB / 491 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.959e-05/0.1415, allocations: 16.88 kB / 491.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.595e-05/0.1415, allocations: 19.44 kB / 491.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1415, allocations: 0 / 491.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of Templates: time 0.004395/0.1459, allocations: 1.636 MB / 492.7 MB, free: 10.27 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches