Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,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.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,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.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008453/0.0008452, allocations: 90.22 kB / 18 MB, free: 5.734 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.0008985/0.0008986, allocations: 178.2 kB / 18.91 MB, free: 4.871 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.311/1.311, allocations: 223.3 MB / 243 MB, free: 14.24 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.1872/0.1872, allocations: 44.24 MB / 338.3 MB, free: 2.395 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003195/0.0003193, allocations: 8 kB / 411 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1085, allocations: 61.92 MB / 472.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.002017/0.1105, allocations: 1.41 MB / 474.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.112, allocations: 0.846 MB / 475.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.383e-05/0.1121, allocations: 3.938 kB / 475.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002654/0.1124, allocations: 35.89 kB / 475.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001875/0.1126, allocations: 43.83 kB / 475.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003169/0.1129, allocations: 98.14 kB / 475.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.1131, allocations: 91.69 kB / 475.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.919e-05/0.1132, allocations: 16.22 kB / 475.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.865e-05/0.1133, allocations: 35.8 kB / 475.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.369e-05/0.1133, allocations: 31.84 kB / 475.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.1134, allocations: 0 / 475.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.1135, allocations: 43.97 kB / 475.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.082e-05/0.1135, allocations: 19.86 kB / 475.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.103e-05/0.1136, allocations: 57.45 kB / 475.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.1138, allocations: 84.09 kB / 475.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.1138, allocations: 0 / 475.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1138, allocations: 4 kB / 475.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.1138, allocations: 0 / 475.7 MB, free: 10.46 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.0004865/0.1143, allocations: 395.2 kB / 476.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.1143, allocations: 8.031 kB / 476.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.191e-05/0.1144, allocations: 8.844 kB / 476.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.1146, allocations: 216 kB / 476.3 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.1147, allocations: 8.25 kB / 476.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.1147, allocations: 8.125 kB / 476.4 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.1149, allocations: 57.67 kB / 476.4 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.1149, allocations: 0 / 476.4 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.1149, allocations: 4 kB / 476.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1149, allocations: 0 / 476.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.63e-05/0.115, allocations: 19.98 kB / 476.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003593/0.1154, allocations: 280.9 kB / 476.7 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.1155, allocations: 62.62 kB / 476.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.4e-05/0.1156, allocations: 24.78 kB / 476.8 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.1156, allocations: 4 kB / 476.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001698/0.1158, allocations: 67.39 kB / 476.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.1158, allocations: 0 / 476.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005157/0.1163, allocations: 169.2 kB / 477 MB, free: 8.984 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.1164, allocations: 59.41 kB / 477.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.1166, allocations: 186.2 kB / 477.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.1166, allocations: 29.7 kB / 477.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.621e-05/0.1166, allocations: 100.1 kB / 477.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/0.1167, allocations: 27.64 kB / 477.4 MB, free: 8.559 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/0.1167, allocations: 17.72 kB / 477.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.791e-05/0.1168, allocations: 326.8 kB / 477.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.619e-05/0.1169, allocations: 19.92 kB / 477.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.418e-05/0.1169, allocations: 41.7 kB / 477.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.1171, allocations: 61.77 kB / 477.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1171, allocations: 0 / 477.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001786/0.1173, allocations: 105.4 kB / 478 MB, free: 7.965 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.1173, allocations: 4 kB / 478 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1173, allocations: 0 / 478 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.1173, allocations: 8.031 kB / 478 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.529e-05/0.1174, allocations: 15.98 kB / 478 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.1174, allocations: 0 / 478 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.025e-05/0.1175, allocations: 7.938 kB / 478 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.1175, allocations: 0 / 478 MB, free: 7.93 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 9.922e-05/0.1176, allocations: 133.8 kB / 478.2 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.947e-05/0.1176, allocations: 7.906 kB / 478.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.05e-05/0.1177, allocations: 12.72 kB / 478.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1177, allocations: 7.938 kB / 478.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.1177, allocations: 7.984 kB / 478.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1177, allocations: 3.938 kB / 478.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004186/0.1181, allocations: 387.3 kB / 478.6 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1181, allocations: 0 / 478.6 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.277e-05/0.1182, allocations: 8 kB / 478.6 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.1182, allocations: 7.984 kB / 478.6 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.1182, allocations: 4.312 kB / 478.6 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1182, allocations: 0 / 478.6 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.1182, allocations: 8.219 kB / 478.6 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.1184, allocations: 208.1 kB / 478.8 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.931e-05/0.1185, allocations: 88.95 kB / 478.9 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.727e-05/0.1185, allocations: 7.938 kB / 478.9 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.786e-05/0.1186, allocations: 7.984 kB / 478.9 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.589e-05/0.1187, allocations: 8 kB / 478.9 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.1187, allocations: 4 kB / 478.9 MB, free: 6.926 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001108/0.1188, allocations: 143.2 kB / 479.1 MB, free: 6.785 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1188, allocations: 0 / 479.1 MB, free: 6.785 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002626/0.1191, allocations: 24 kB / 479.1 MB, free: 6.762 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.00105/0.1201, allocations: 474 kB / 479.5 MB, free: 6.477 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001699/0.1203, allocations: 59.91 kB / 479.6 MB, free: 6.418 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1203, allocations: 0 / 479.6 MB, free: 6.418 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.233e-05/0.1204, allocations: 36.06 kB / 479.6 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.1208, allocations: 27.36 kB / 479.7 MB, free: 6.359 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004469/0.1212, allocations: 272.2 kB / 479.9 MB, free: 6.051 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.1215, allocations: 0.7082 MB / 480.6 MB, free: 5.316 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.545e-05/0.1215, allocations: 15.44 kB / 480.7 MB, free: 5.301 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1215, allocations: 4 kB / 480.7 MB, free: 5.297 MB / 350.1 MB Notification: Performance of Templates: time 0.003723/0.1253, allocations: 1.889 MB / 482.5 MB, free: 3.418 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches