Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001022/0.001022, allocations: 95.41 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001215/0.001215, allocations: 204.5 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.7 MB / 247.5 MB, free: 11.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2118/0.2118, allocations: 46.18 MB / 345.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002544/0.0002545, allocations: 8 kB / 420.2 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1166, allocations: 63.57 MB / 483.7 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002455/0.1191, allocations: 1.622 MB / 485.4 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002061/0.1212, allocations: 1.096 MB / 486.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001744/0.1214, allocations: 7.938 kB / 486.5 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004566/0.1219, allocations: 151.7 kB / 486.6 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000472/0.1224, allocations: 155.5 kB / 486.8 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003444/0.1228, allocations: 95.78 kB / 486.9 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003594/0.1231, allocations: 235.3 kB / 487.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.1233, allocations: 33.66 kB / 487.1 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001963/0.1235, allocations: 95.55 kB / 487.2 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002047/0.1237, allocations: 127.5 kB / 487.3 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.761e-05/0.1237, allocations: 4 kB / 487.3 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001711/0.1239, allocations: 63.91 kB / 487.4 MB, free: 496 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.381e-05/0.124, allocations: 47.83 kB / 487.5 MB, free: 448 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.795e-05/0.1241, allocations: 105.1 kB / 487.6 MB, free: 336 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002365/0.1244, allocations: 167.9 kB / 487.7 MB, free: 168 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1244, allocations: 0 / 487.7 MB, free: 168 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1244, allocations: 0 / 487.7 MB, free: 168 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1244, allocations: 0 / 487.7 MB, free: 168 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008343/0.1252, allocations: 0.4983 MB / 488.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.1253, allocations: 12.02 kB / 488.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.201e-05/0.1254, allocations: 24.66 kB / 488.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000398/0.1258, allocations: 271.5 kB / 488.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/0.1258, allocations: 12.38 kB / 488.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.716e-05/0.1259, allocations: 12.11 kB / 488.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000258/0.1261, allocations: 107.3 kB / 488.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.1262, allocations: 3.984 kB / 488.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.1262, allocations: 8 kB / 488.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.1262, allocations: 0 / 488.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.1264, allocations: 43.95 kB / 488.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007067/0.1271, allocations: 476.6 kB / 489.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003598/0.1274, allocations: 125.2 kB / 489.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.672e-05/0.1276, allocations: 45.83 kB / 489.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.1276, allocations: 160 / 489.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000251/0.1278, allocations: 128.9 kB / 489.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.1279, allocations: 0 / 489.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001282/0.1291, allocations: 0.4886 MB / 490 MB, free: 13.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.924e-05/0.1292, allocations: 81.11 kB / 490 MB, free: 13.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003781/0.1296, allocations: 371.2 kB / 490.4 MB, free: 13.26 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.1296, allocations: 33.7 kB / 490.4 MB, free: 13.22 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.1298, allocations: 144.5 kB / 490.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.86e-05/0.1298, allocations: 67.09 kB / 490.6 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.818e-05/0.1299, allocations: 29.7 kB / 490.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.1301, allocations: 338.8 kB / 491 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.1302, allocations: 55.97 kB / 491.1 MB, free: 12.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.1304, allocations: 87.41 kB / 491.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002811/0.1307, allocations: 175.4 kB / 491.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1307, allocations: 0 / 491.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003773/0.1311, allocations: 225.2 kB / 491.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.1311, allocations: 7.938 kB / 491.5 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.1311, allocations: 4 kB / 491.5 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.1311, allocations: 0 / 491.5 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.1313, allocations: 51.91 kB / 491.6 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.1313, allocations: 0 / 491.6 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.59e-05/0.1314, allocations: 16 kB / 491.6 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.1314, allocations: 8 kB / 491.6 MB, free: 11.98 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001415/0.1316, allocations: 166.2 kB / 491.8 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.459e-05/0.1316, allocations: 35.56 kB / 491.8 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.717e-05/0.1317, allocations: 33.83 kB / 491.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.1317, allocations: 4 kB / 491.8 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.1317, allocations: 0 / 491.8 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1317, allocations: 0 / 491.8 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008352/0.1326, allocations: 0.7233 MB / 492.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.1326, allocations: 4 kB / 492.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.157e-05/0.1327, allocations: 36.25 kB / 492.6 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.1327, allocations: 7.984 kB / 492.6 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.1327, allocations: 7.938 kB / 492.6 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.1327, allocations: 4 kB / 492.6 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1327, allocations: 0 / 492.6 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005239/0.1332, allocations: 421.6 kB / 493 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/0.1334, allocations: 112.7 kB / 493.2 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.844e-05/0.1334, allocations: 11.94 kB / 493.2 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.1336, allocations: 8 kB / 493.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.699e-05/0.1337, allocations: 23.84 kB / 493.2 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.1337, allocations: 12 kB / 493.2 MB, free: 10.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002638/0.134, allocations: 281.9 kB / 493.5 MB, free: 9.992 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.134, allocations: 0 / 493.5 MB, free: 9.992 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003579/0.1343, allocations: 47.98 kB / 493.5 MB, free: 9.945 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001165/0.1355, allocations: 0.4973 MB / 494 MB, free: 9.625 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003277/0.1358, allocations: 155.8 kB / 494.2 MB, free: 9.473 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.1359, allocations: 12.06 kB / 494.2 MB, free: 9.461 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.136, allocations: 75.84 kB / 494.3 MB, free: 9.387 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005915/0.1366, allocations: 64.55 kB / 494.3 MB, free: 9.324 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008586/0.1375, allocations: 0.5993 MB / 494.9 MB, free: 8.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.1378, allocations: 0.7638 MB / 495.7 MB, free: 7.887 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.801e-05/0.1379, allocations: 31.44 kB / 495.7 MB, free: 7.855 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1379, allocations: 0 / 495.7 MB, free: 7.855 MB / 366.1 MB Notification: Performance of Templates: time 0.006281/0.1442, allocations: 3.54 MB / 499.3 MB, free: 4.332 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches