Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 106.2 kB / 17.63 MB, free: 5.344 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.00107/0.00107, allocations: 192 kB / 18.56 MB, free: 4.434 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.318/1.318, allocations: 222.9 MB / 242.2 MB, free: 15.15 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.2171/0.2171, allocations: 44.2 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 63.89 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1079, allocations: 60.82 MB / 469.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002976/0.1109, allocations: 1.735 MB / 471 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.1123, allocations: 0.8886 MB / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.975e-05/0.1123, allocations: 0 / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003218/0.1127, allocations: 115.6 kB / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002308/0.1129, allocations: 75.72 kB / 472.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.1132, allocations: 115.6 kB / 472.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.1134, allocations: 131.7 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.1135, allocations: 19.98 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.792e-05/0.1136, allocations: 59.77 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.1137, allocations: 75.67 kB / 472.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.1137, allocations: 4 kB / 472.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.1139, allocations: 59.98 kB / 472.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.011e-05/0.1139, allocations: 27.91 kB / 472.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.022e-05/0.114, allocations: 55.55 kB / 472.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002307/0.1142, allocations: 151.8 kB / 472.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1142, allocations: 0 / 472.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1142, allocations: 0 / 472.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.463e-06/0.1143, allocations: 0 / 472.8 MB, free: 10.86 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005331/0.1148, allocations: 454.7 kB / 473.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.1148, allocations: 12.03 kB / 473.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.36e-05/0.1149, allocations: 16.69 kB / 473.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002279/0.1151, allocations: 227.8 kB / 473.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.1151, allocations: 4.375 kB / 473.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.1152, allocations: 16.12 kB / 473.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.1153, allocations: 73.59 kB / 473.5 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1154, allocations: 0 / 473.5 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.1154, allocations: 0 / 473.5 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1154, allocations: 4 kB / 473.5 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.948e-05/0.1155, allocations: 39.91 kB / 473.6 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003731/0.1159, allocations: 332.6 kB / 473.9 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002595/0.1161, allocations: 86.52 kB / 474 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.026e-05/0.1162, allocations: 20.86 kB / 474 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.1162, allocations: 7.984 kB / 474 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001739/0.1164, allocations: 75.33 kB / 474.1 MB, free: 9.352 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.1164, allocations: 0 / 474.1 MB, free: 9.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.000786/0.1172, allocations: 305.4 kB / 474.4 MB, free: 9.047 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.1173, allocations: 55.41 kB / 474.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.1175, allocations: 239.5 kB / 474.7 MB, free: 8.734 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.1175, allocations: 33.69 kB / 474.7 MB, free: 8.695 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.641e-05/0.1176, allocations: 124 kB / 474.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.818e-05/0.1177, allocations: 43.53 kB / 474.9 MB, free: 8.527 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.607e-05/0.1177, allocations: 29.72 kB / 474.9 MB, free: 8.492 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.1178, allocations: 334.8 kB / 475.2 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.765e-05/0.1179, allocations: 35.98 kB / 475.3 MB, free: 8.121 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.37e-05/0.118, allocations: 55.95 kB / 475.3 MB, free: 8.062 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.1182, allocations: 108.6 kB / 475.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1182, allocations: 0 / 475.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002611/0.1184, allocations: 157.5 kB / 475.6 MB, free: 7.793 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.1185, allocations: 8.031 kB / 475.6 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1185, allocations: 3.938 kB / 475.6 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1185, allocations: 7.938 kB / 475.6 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.723e-05/0.1186, allocations: 27.98 kB / 475.6 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.1186, allocations: 0 / 475.6 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.693e-05/0.1186, allocations: 11.98 kB / 475.6 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.1187, allocations: 4 kB / 475.6 MB, free: 7.73 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 (16): * Single equations (assignments): 16 * 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.0001004/0.1188, allocations: 137.8 kB / 475.8 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.936e-05/0.1188, allocations: 19.72 kB / 475.8 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.335e-05/0.1189, allocations: 29.52 kB / 475.8 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.1189, allocations: 3.938 kB / 475.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1189, allocations: 0 / 475.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1189, allocations: 4 kB / 475.8 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005289/0.1194, allocations: 0.4884 MB / 476.3 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1194, allocations: 4.062 kB / 476.3 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.738e-05/0.1195, allocations: 23.92 kB / 476.3 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1195, allocations: 0 / 476.3 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.1195, allocations: 4 kB / 476.4 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.1195, allocations: 0 / 476.4 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.1195, allocations: 4 kB / 476.4 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002829/0.1198, allocations: 261 kB / 476.6 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.218e-05/0.1199, allocations: 88.92 kB / 476.7 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.986e-05/0.1199, allocations: 11.98 kB / 476.7 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.399e-05/0.12, allocations: 4 kB / 476.7 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.12, allocations: 15.92 kB / 476.7 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.1201, allocations: 4 kB / 476.7 MB, free: 6.523 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001497/0.1202, allocations: 188.2 kB / 476.9 MB, free: 6.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1202, allocations: 0 / 476.9 MB, free: 6.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.1205, allocations: 28 kB / 476.9 MB, free: 6.312 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.001082/0.1216, allocations: 0.5231 MB / 477.5 MB, free: 5.992 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002433/0.1218, allocations: 111.8 kB / 477.6 MB, free: 5.883 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1218, allocations: 0 / 477.6 MB, free: 5.883 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.761e-05/0.1219, allocations: 55.86 kB / 477.6 MB, free: 5.828 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003567/0.1223, allocations: 47.38 kB / 477.7 MB, free: 5.789 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000519/0.1228, allocations: 328.9 kB / 478 MB, free: 5.438 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.1231, allocations: 0.7201 MB / 478.7 MB, free: 4.691 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.745e-05/0.1232, allocations: 29.39 kB / 478.7 MB, free: 4.664 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.305e-05/0.1232, allocations: 23.44 kB / 478.8 MB, free: 4.641 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1232, allocations: 4 kB / 478.8 MB, free: 4.637 MB / 350.1 MB Notification: Performance of Templates: time 0.004506/0.1277, allocations: 2.147 MB / 480.9 MB, free: 2.504 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches