Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 113.4 kB / 17.86 MB, free: 5.629 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.001549/0.001549, allocations: 201.9 kB / 18.77 MB, free: 4.715 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.331/1.331, allocations: 222.9 MB / 242.4 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.198/0.198, allocations: 44.17 MB / 336.8 MB, free: 2.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001248, allocations: 69.55 kB / 408.4 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1133, allocations: 60.82 MB / 469.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003376/0.1167, allocations: 1.942 MB / 471.1 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.1183, allocations: 0.9744 MB / 472.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.341e-05/0.1184, allocations: 0 / 472.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004754/0.1189, allocations: 251.5 kB / 472.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003419/0.1193, allocations: 163.5 kB / 472.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004982/0.1198, allocations: 170.7 kB / 472.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003108/0.1201, allocations: 239.3 kB / 472.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.1202, allocations: 29.69 kB / 472.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001731/0.1204, allocations: 123.5 kB / 473.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002265/0.1207, allocations: 179.4 kB / 473.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.057e-05/0.1207, allocations: 8 kB / 473.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001376/0.1208, allocations: 55.98 kB / 473.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.121, allocations: 67.75 kB / 473.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.1211, allocations: 87.3 kB / 473.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002277/0.1213, allocations: 179.9 kB / 473.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.1213, allocations: 7.922 kB / 473.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.51e-07/0.1213, allocations: 3.938 kB / 473.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.1213, allocations: 0 / 473.6 MB, free: 10.33 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000735/0.1221, allocations: 0.5642 MB / 474.2 MB, free: 9.719 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.1221, allocations: 8.031 kB / 474.2 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.402e-05/0.1222, allocations: 32.56 kB / 474.2 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/0.1225, allocations: 288 kB / 474.5 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.1225, allocations: 4.375 kB / 474.5 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/0.1226, allocations: 12.12 kB / 474.5 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002353/0.1228, allocations: 107.3 kB / 474.6 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.1228, allocations: 4 kB / 474.6 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.1229, allocations: 4 kB / 474.6 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.1229, allocations: 3.984 kB / 474.7 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000145/0.123, allocations: 59.83 kB / 474.7 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005324/0.1236, allocations: 476.8 kB / 475.2 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003676/0.1239, allocations: 125.2 kB / 475.3 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.1241, allocations: 45.83 kB / 475.3 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.1241, allocations: 0 / 475.3 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002855/0.1244, allocations: 123.4 kB / 475.5 MB, free: 8.312 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.152e-06/0.1244, allocations: 0 / 475.5 MB, free: 8.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001321/0.1257, allocations: 0.4999 MB / 476 MB, free: 7.805 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.356e-05/0.1258, allocations: 85.11 kB / 476 MB, free: 7.703 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000454/0.1263, allocations: 473.7 kB / 476.5 MB, free: 7.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.1263, allocations: 45.62 kB / 476.6 MB, free: 7.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.1264, allocations: 160.5 kB / 476.7 MB, free: 7.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.173e-05/0.1265, allocations: 71 kB / 476.8 MB, free: 6.949 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.888e-05/0.1266, allocations: 41.7 kB / 476.8 MB, free: 6.902 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1267, allocations: 346.8 kB / 477.2 MB, free: 6.555 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.1268, allocations: 59.91 kB / 477.2 MB, free: 6.496 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.127, allocations: 95.34 kB / 477.3 MB, free: 6.391 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002697/0.1273, allocations: 163.3 kB / 477.5 MB, free: 6.219 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1273, allocations: 0 / 477.5 MB, free: 6.219 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004018/0.1277, allocations: 229.3 kB / 477.7 MB, free: 5.988 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.1277, allocations: 11.94 kB / 477.7 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.1277, allocations: 4.062 kB / 477.7 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1278, allocations: 0 / 477.7 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.1279, allocations: 51.91 kB / 477.8 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.1279, allocations: 4 kB / 477.8 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.52e-05/0.128, allocations: 8 kB / 477.8 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.128, allocations: 4 kB / 477.8 MB, free: 5.906 MB / 350.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.0001586/0.1282, allocations: 178.2 kB / 477.9 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.023e-05/0.1283, allocations: 47.45 kB / 478 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.541e-05/0.1284, allocations: 46.75 kB / 478 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1284, allocations: 4 kB / 478 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.1284, allocations: 0 / 478 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1284, allocations: 7.938 kB / 478.1 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000947/0.1293, allocations: 0.7311 MB / 478.8 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.1294, allocations: 4 kB / 478.8 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.331e-05/0.1295, allocations: 27.98 kB / 478.8 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.1295, allocations: 0 / 478.8 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.1295, allocations: 8 kB / 478.8 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.632e-05/0.1295, allocations: 7.938 kB / 478.8 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.1295, allocations: 4.938 kB / 478.8 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004825/0.13, allocations: 421.8 kB / 479.2 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.22e-05/0.1301, allocations: 104.7 kB / 479.3 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.461e-05/0.1301, allocations: 11.98 kB / 479.4 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.1303, allocations: 8 kB / 479.4 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.803e-05/0.1304, allocations: 23.91 kB / 479.4 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-05/0.1304, allocations: 16 kB / 479.4 MB, free: 4.145 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003413/0.1307, allocations: 359.1 kB / 479.8 MB, free: 3.797 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1307, allocations: 0 / 479.8 MB, free: 3.797 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000366/0.1311, allocations: 44 kB / 479.8 MB, free: 3.754 MB / 350.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.00121/0.1323, allocations: 0.5149 MB / 480.3 MB, free: 3.441 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003603/0.1327, allocations: 155.8 kB / 480.5 MB, free: 3.289 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1327, allocations: 0 / 480.5 MB, free: 3.289 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.1329, allocations: 84.03 kB / 480.6 MB, free: 3.207 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005727/0.1335, allocations: 67.27 kB / 480.6 MB, free: 3.141 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.1345, allocations: 0.6958 MB / 481.3 MB, free: 2.395 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000405/0.1349, allocations: 0.7872 MB / 482.1 MB, free: 1.582 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.876e-05/0.135, allocations: 31.42 kB / 482.1 MB, free: 1.555 MB / 350.1 MB Notification: Performance of SimCode: time 9.61e-07/0.1351, allocations: 7.938 kB / 482.1 MB, free: 1.547 MB / 350.1 MB Notification: Performance of Templates: time 0.006608/0.1417, allocations: 3.752 MB / 485.9 MB, free: 13.82 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches