Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,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.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,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.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001683/0.001683, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001823/0.001823, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.365/1.365, allocations: 222.9 MB / 242.9 MB, free: 15.21 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 / 337.3 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 66.75 kB / 409.1 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1165, allocations: 60.83 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003274/0.1198, allocations: 1.691 MB / 471.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001588/0.1214, allocations: 0.8885 MB / 472.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.868e-05/0.1215, allocations: 0 / 472.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003074/0.1218, allocations: 47.81 kB / 472.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002293/0.1221, allocations: 67.69 kB / 472.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003031/0.1224, allocations: 111.2 kB / 472.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.1226, allocations: 95.69 kB / 472.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.1227, allocations: 12.22 kB / 472.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.847e-05/0.1228, allocations: 39.8 kB / 472.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.292e-05/0.1229, allocations: 27.84 kB / 472.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.1229, allocations: 8 kB / 472.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.559e-05/0.123, allocations: 39.98 kB / 473 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.869e-05/0.1231, allocations: 27.92 kB / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.723e-05/0.1231, allocations: 39.67 kB / 473 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.1233, allocations: 135.8 kB / 473.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1233, allocations: 4 kB / 473.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1233, allocations: 0 / 473.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1234, allocations: 0 / 473.2 MB, free: 11.14 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.0006411/0.124, allocations: 438.7 kB / 473.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.124, allocations: 12.03 kB / 473.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.124e-05/0.1241, allocations: 16.75 kB / 473.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.1244, allocations: 208 kB / 473.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.1244, allocations: 4.375 kB / 473.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.1244, allocations: 8.125 kB / 473.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.1246, allocations: 61.55 kB / 473.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.1246, allocations: 0 / 473.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.1246, allocations: 4 kB / 473.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.1246, allocations: 7.984 kB / 473.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.729e-05/0.1247, allocations: 15.98 kB / 473.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003932/0.1251, allocations: 300.9 kB / 474.2 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.1253, allocations: 54.61 kB / 474.3 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.758e-05/0.1254, allocations: 28.84 kB / 474.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.1254, allocations: 0 / 474.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002027/0.1256, allocations: 67.39 kB / 474.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.1256, allocations: 0 / 474.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005431/0.1262, allocations: 185 kB / 474.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.1262, allocations: 51.41 kB / 474.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/0.1265, allocations: 266.9 kB / 474.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.1265, allocations: 29.7 kB / 474.9 MB, free: 9.215 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.89e-05/0.1266, allocations: 116.1 kB / 475 MB, free: 9.098 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.1266, allocations: 19.72 kB / 475 MB, free: 9.078 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/0.1267, allocations: 21.7 kB / 475 MB, free: 9.051 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.1268, allocations: 330.8 kB / 475.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.067e-05/0.1268, allocations: 19.98 kB / 475.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.092e-05/0.1269, allocations: 41.64 kB / 475.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.127, allocations: 65.64 kB / 475.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.1271, allocations: 0 / 475.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001849/0.1272, allocations: 109.5 kB / 475.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.1273, allocations: 4 kB / 475.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1273, allocations: 0 / 475.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.1273, allocations: 4 kB / 475.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.855e-05/0.1274, allocations: 12 kB / 475.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.1274, allocations: 3.984 kB / 475.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.856e-05/0.1275, allocations: 11.94 kB / 475.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.1275, allocations: 4.031 kB / 475.6 MB, free: 8.43 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 ($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.0001623/0.1276, allocations: 141.7 kB / 475.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.529e-05/0.1277, allocations: 15.81 kB / 475.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.164e-05/0.1277, allocations: 21.39 kB / 475.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1277, allocations: 0 / 475.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.1278, allocations: 0 / 475.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.1278, allocations: 4.125 kB / 475.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00057/0.1283, allocations: 403.7 kB / 476.2 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1284, allocations: 3.938 kB / 476.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.482e-05/0.1284, allocations: 15.98 kB / 476.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.1284, allocations: 4 kB / 476.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.646e-05/0.1284, allocations: 3.938 kB / 476.2 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1284, allocations: 0 / 476.2 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.1285, allocations: 4 kB / 476.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002951/0.1288, allocations: 208.2 kB / 476.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.1289, allocations: 92.91 kB / 476.5 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.1289, allocations: 3.938 kB / 476.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.28e-05/0.129, allocations: 4 kB / 476.5 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.129, allocations: 11.98 kB / 476.5 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.1291, allocations: 0 / 476.5 MB, free: 7.406 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001645/0.1292, allocations: 196.2 kB / 476.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1292, allocations: 0 / 476.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.1295, allocations: 28 kB / 476.8 MB, free: 7.188 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 (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.001166/0.1307, allocations: 460.1 kB / 477.2 MB, free: 6.914 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002012/0.1309, allocations: 59.92 kB / 477.3 MB, free: 6.855 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1309, allocations: 4.062 kB / 477.3 MB, free: 6.852 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.083e-05/0.131, allocations: 35.91 kB / 477.3 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.1314, allocations: 28.23 kB / 477.3 MB, free: 6.789 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005915/0.132, allocations: 325.4 kB / 477.7 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/0.1324, allocations: 0.7119 MB / 478.4 MB, free: 5.695 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.516e-05/0.1324, allocations: 23.38 kB / 478.4 MB, free: 5.672 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1324, allocations: 0 / 478.4 MB, free: 5.672 MB / 350.1 MB Notification: Performance of Templates: time 0.004485/0.137, allocations: 2.052 MB / 480.4 MB, free: 3.629 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches