Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009413/0.0009413, allocations: 99.39 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00095/0.0009501, allocations: 178 kB / 17.88 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 223.2 MB / 241.8 MB, free: 388 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2412/0.2412, allocations: 44.22 MB / 337.1 MB, free: 2.914 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003029/0.0003029, allocations: 12 kB / 409.5 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1252, allocations: 61.92 MB / 471.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002169/0.1274, allocations: 1.387 MB / 472.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.1288, allocations: 0.7881 MB / 473.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.766e-05/0.1289, allocations: 4 kB / 473.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003642/0.1292, allocations: 83.69 kB / 473.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002115/0.1295, allocations: 59.86 kB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000288/0.1298, allocations: 91.14 kB / 473.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.1299, allocations: 75.77 kB / 473.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.1301, allocations: 12.16 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.8e-05/0.1302, allocations: 51.83 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.1303, allocations: 43.83 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.1303, allocations: 0 / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.1304, allocations: 27.98 kB / 474.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.484e-05/0.1305, allocations: 19.91 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.118e-05/0.1305, allocations: 41.64 kB / 474.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.1307, allocations: 84.09 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.1307, allocations: 0 / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.526e-06/0.1307, allocations: 0 / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1307, allocations: 3.938 kB / 474.2 MB, free: 10.98 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.0005521/0.1313, allocations: 402.9 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.1313, allocations: 8.031 kB / 474.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.769e-05/0.1314, allocations: 11.91 kB / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.1316, allocations: 210.8 kB / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.1316, allocations: 0 / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.1317, allocations: 4 kB / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.1318, allocations: 61.62 kB / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.1318, allocations: 0 / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.1318, allocations: 4 kB / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.1319, allocations: 0 / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.574e-05/0.1319, allocations: 19.98 kB / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003519/0.1323, allocations: 292.7 kB / 475.2 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.1324, allocations: 54.69 kB / 475.3 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.1325, allocations: 4 kB / 475.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001848/0.1327, allocations: 67.52 kB / 475.3 MB, free: 9.695 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.532e-06/0.1327, allocations: 0 / 475.3 MB, free: 9.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005268/0.1332, allocations: 181.1 kB / 475.5 MB, free: 9.512 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.1333, allocations: 51.41 kB / 475.6 MB, free: 9.449 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.1335, allocations: 219.2 kB / 475.8 MB, free: 9.223 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.1335, allocations: 33.64 kB / 475.8 MB, free: 9.184 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.108e-05/0.1336, allocations: 112.1 kB / 475.9 MB, free: 9.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.1336, allocations: 23.66 kB / 475.9 MB, free: 9.047 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/0.1336, allocations: 0 / 475.9 MB, free: 9.047 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1338, allocations: 322.8 kB / 476.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.442e-05/0.1338, allocations: 23.98 kB / 476.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.413e-05/0.1339, allocations: 37.64 kB / 476.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.678e-05/0.134, allocations: 23.95 kB / 476.3 MB, free: 8.633 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.134, allocations: 4 kB / 476.3 MB, free: 8.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001819/0.1342, allocations: 105.4 kB / 476.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.1342, allocations: 10.19 kB / 476.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.1342, allocations: 0 / 476.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.1342, allocations: 0 / 476.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.177e-05/0.1343, allocations: 12 kB / 476.5 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.1343, allocations: 4 kB / 476.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.469e-05/0.1344, allocations: 3.984 kB / 476.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.1344, allocations: 8 kB / 476.5 MB, free: 8.484 MB / 350.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001022/0.1345, allocations: 138.3 kB / 476.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.065e-05/0.1346, allocations: 11.81 kB / 476.6 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.749e-05/0.1346, allocations: 17.41 kB / 476.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1346, allocations: 0 / 476.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1346, allocations: 0 / 476.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.1346, allocations: 0 / 476.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004181/0.1351, allocations: 403.3 kB / 477 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1351, allocations: 0 / 477 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.452e-05/0.1351, allocations: 8.375 kB / 477.1 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.1351, allocations: 7.984 kB / 477.1 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.1352, allocations: 8 kB / 477.1 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1352, allocations: 0 / 477.1 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.1352, allocations: 0 / 477.1 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002189/0.1354, allocations: 226.1 kB / 477.3 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.26e-05/0.1355, allocations: 88.92 kB / 477.4 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.1355, allocations: 4 kB / 477.4 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.777e-05/0.1356, allocations: 4 kB / 477.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.1356, allocations: 7.984 kB / 477.4 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.1356, allocations: 4 kB / 477.4 MB, free: 7.465 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001359/0.1358, allocations: 155.2 kB / 477.5 MB, free: 7.312 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1358, allocations: 3.938 kB / 477.6 MB, free: 7.309 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002469/0.136, allocations: 31.94 kB / 477.6 MB, free: 7.277 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00102/0.137, allocations: 464.1 kB / 478 MB, free: 6.996 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001769/0.1372, allocations: 59.91 kB / 478.1 MB, free: 6.938 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1372, allocations: 0 / 478.1 MB, free: 6.938 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.621e-05/0.1373, allocations: 28 kB / 478.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.1376, allocations: 23.97 kB / 478.1 MB, free: 6.887 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004263/0.138, allocations: 262.2 kB / 478.4 MB, free: 6.602 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.1383, allocations: 0.7121 MB / 479.1 MB, free: 5.863 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.788e-05/0.1384, allocations: 9.203 kB / 479.1 MB, free: 5.852 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.423e-05/0.1384, allocations: 23.42 kB / 479.1 MB, free: 5.828 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1384, allocations: 0 / 479.1 MB, free: 5.828 MB / 350.1 MB Notification: Performance of Templates: time 0.003902/0.1423, allocations: 1.593 MB / 480.7 MB, free: 4.25 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches