Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001368/0.001368, allocations: 103.7 kB / 17.63 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002381/0.002381, allocations: 208.6 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.502/1.502, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2428/0.2428, allocations: 46.12 MB / 344.2 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002304/0.002304, allocations: 82 kB / 417.7 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1253, allocations: 62.46 MB / 480.1 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003382/0.1288, allocations: 1.72 MB / 481.8 MB, free: 3.484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001709/0.1305, allocations: 1.025 MB / 482.9 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.54e-05/0.1306, allocations: 4 kB / 482.9 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002723/0.1309, allocations: 43.75 kB / 482.9 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003112/0.1312, allocations: 103.6 kB / 483 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002086/0.1314, allocations: 79.66 kB / 483.1 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.1316, allocations: 103.7 kB / 483.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.388e-05/0.1317, allocations: 12 kB / 483.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.01e-05/0.1318, allocations: 43.78 kB / 483.3 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.61e-05/0.1319, allocations: 35.73 kB / 483.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.1319, allocations: 4 kB / 483.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.132, allocations: 43.98 kB / 483.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.987e-05/0.1321, allocations: 31.89 kB / 483.4 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.044e-05/0.1322, allocations: 39.69 kB / 483.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.1324, allocations: 143.8 kB / 483.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1324, allocations: 0 / 483.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1324, allocations: 0 / 483.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.1324, allocations: 0 / 483.5 MB, free: 1.777 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.0006581/0.1331, allocations: 442.6 kB / 484 MB, free: 1.297 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.1331, allocations: 8.031 kB / 484 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.215e-05/0.1332, allocations: 12.84 kB / 484 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.1335, allocations: 232.9 kB / 484.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.1335, allocations: 384 / 484.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.1335, allocations: 12.06 kB / 484.2 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.1337, allocations: 53.67 kB / 484.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1337, allocations: 0 / 484.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.1337, allocations: 3.984 kB / 484.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1337, allocations: 0 / 484.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.616e-05/0.1338, allocations: 23.92 kB / 484.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003885/0.1342, allocations: 300.9 kB / 484.6 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.1344, allocations: 50.69 kB / 484.7 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.873e-05/0.1345, allocations: 24.84 kB / 484.7 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.1345, allocations: 0 / 484.7 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002156/0.1347, allocations: 71.33 kB / 484.8 MB, free: 412 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.1347, allocations: 3.938 kB / 484.8 MB, free: 408 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005692/0.1353, allocations: 188.9 kB / 484.9 MB, free: 212 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.1353, allocations: 55.41 kB / 485 MB, free: 144 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002895/0.1356, allocations: 267 kB / 485.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.1357, allocations: 29.7 kB / 485.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.517e-05/0.1358, allocations: 112.1 kB / 485.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.1358, allocations: 23.7 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.541e-05/0.1358, allocations: 25.72 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.136, allocations: 334.8 kB / 485.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.297e-05/0.1361, allocations: 20 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.049e-05/0.1361, allocations: 33.7 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.1363, allocations: 57.64 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1363, allocations: 4 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000199/0.1365, allocations: 105.9 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1365, allocations: 8 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1365, allocations: 0 / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.1365, allocations: 3.984 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.1367, allocations: 19.94 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.1367, allocations: 4 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.125e-05/0.1367, allocations: 7.875 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.1367, allocations: 4 kB / 486 MB, free: 15.05 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.0001233/0.1369, allocations: 140.7 kB / 486.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.1369, allocations: 15.8 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.908e-05/0.137, allocations: 21.41 kB / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.758e-06/0.137, allocations: 4 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.137, allocations: 192 / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.137, allocations: 3.938 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004825/0.1375, allocations: 403.4 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.1375, allocations: 4.031 kB / 486.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.811e-05/0.1375, allocations: 15.92 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.1376, allocations: 4 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.1376, allocations: 7.938 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1376, allocations: 0 / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1376, allocations: 0 / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002482/0.1378, allocations: 204.2 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.17e-05/0.1379, allocations: 96.92 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/0.1379, allocations: 11.86 kB / 486.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.266e-05/0.138, allocations: 4 kB / 487 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.03e-05/0.1381, allocations: 4 kB / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.1381, allocations: 11.98 kB / 487 MB, free: 14.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001895/0.1383, allocations: 200.4 kB / 487.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1383, allocations: 0 / 487.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002753/0.1386, allocations: 27.98 kB / 487.2 MB, free: 13.79 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.001666/0.1402, allocations: 453 kB / 487.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002108/0.1405, allocations: 59.92 kB / 487.7 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1405, allocations: 0 / 487.7 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.951e-05/0.1406, allocations: 32.05 kB / 487.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.141, allocations: 34.97 kB / 487.8 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005359/0.1415, allocations: 295.6 kB / 488 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.1419, allocations: 0.7235 MB / 488.8 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.358e-05/0.1419, allocations: 25.11 kB / 488.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.794e-05/0.142, allocations: 15.44 kB / 488.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.142, allocations: 4 kB / 488.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of Templates: time 0.004935/0.1469, allocations: 1.762 MB / 490.6 MB, free: 10.53 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches