Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001793/0.001793, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.377/1.377, allocations: 222.9 MB / 242.9 MB, free: 15.16 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.2214/0.2214, allocations: 44.19 MB / 337.3 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 68.55 kB / 409.1 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09924/0.1006, allocations: 60.82 MB / 469.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003365/0.104, allocations: 1.726 MB / 471.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001607/0.1057, allocations: 0.8846 MB / 472.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.131e-05/0.1058, allocations: 4 kB / 472.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003097/0.1061, allocations: 79.75 kB / 472.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002847/0.1064, allocations: 87.66 kB / 472.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003318/0.1068, allocations: 115.6 kB / 472.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.107, allocations: 107.7 kB / 472.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.1071, allocations: 15.98 kB / 472.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.1073, allocations: 55.77 kB / 473 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.1074, allocations: 63.75 kB / 473.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.1075, allocations: 8 kB / 473.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.1076, allocations: 59.98 kB / 473.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.344e-05/0.1077, allocations: 23.91 kB / 473.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.935e-05/0.1077, allocations: 39.69 kB / 473.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.108, allocations: 131.8 kB / 473.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.108, allocations: 4 kB / 473.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.108, allocations: 0 / 473.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.108, allocations: 0 / 473.3 MB, free: 10.96 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005298/0.1085, allocations: 434.9 kB / 473.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.1086, allocations: 12.03 kB / 473.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.217e-05/0.1086, allocations: 16.75 kB / 473.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.1089, allocations: 208 kB / 474 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.1089, allocations: 4.375 kB / 474 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.1089, allocations: 19.98 kB / 474 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.1091, allocations: 57.67 kB / 474.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1091, allocations: 3.906 kB / 474.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.1091, allocations: 0 / 474.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.1091, allocations: 0 / 474.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.018e-05/0.1092, allocations: 27.97 kB / 474.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003833/0.1096, allocations: 308.7 kB / 474.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002306/0.1099, allocations: 62.48 kB / 474.4 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.818e-05/0.1099, allocations: 20.97 kB / 474.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.11, allocations: 8 kB / 474.5 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001881/0.1101, allocations: 67.39 kB / 474.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.1102, allocations: 0 / 474.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007655/0.1109, allocations: 237.1 kB / 474.8 MB, free: 9.336 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.111, allocations: 59.28 kB / 474.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.1112, allocations: 223.5 kB / 475 MB, free: 9.035 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.1112, allocations: 33.7 kB / 475.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.735e-05/0.1113, allocations: 116 kB / 475.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.782e-05/0.1113, allocations: 31.56 kB / 475.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.211e-05/0.1114, allocations: 29.7 kB / 475.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1115, allocations: 322.8 kB / 475.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.352e-05/0.1116, allocations: 31.98 kB / 475.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.927e-05/0.1117, allocations: 41.7 kB / 475.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.1118, allocations: 85.64 kB / 475.7 MB, free: 8.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1119, allocations: 0 / 475.7 MB, free: 8.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002339/0.1121, allocations: 125.4 kB / 475.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.1121, allocations: 4 kB / 475.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.1121, allocations: 4 kB / 475.9 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.1121, allocations: 0 / 475.9 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.715e-05/0.1122, allocations: 27.92 kB / 475.9 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.1123, allocations: 3.938 kB / 475.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.603e-05/0.1123, allocations: 4 kB / 475.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.1123, allocations: 8.031 kB / 475.9 MB, free: 8.141 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 (13): * Single equations (assignments): 13 * 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.0001036/0.1124, allocations: 129.8 kB / 476 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.989e-05/0.1125, allocations: 15.81 kB / 476 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.999e-05/0.1125, allocations: 29.33 kB / 476.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.1125, allocations: 4 kB / 476.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1125, allocations: 3.938 kB / 476.1 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.1126, allocations: 0 / 476.1 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005194/0.1131, allocations: 456 kB / 476.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1131, allocations: 0 / 476.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.847e-05/0.1131, allocations: 15.98 kB / 476.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1132, allocations: 0 / 476.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.1132, allocations: 8 kB / 476.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1132, allocations: 3.938 kB / 476.5 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.1132, allocations: 0 / 476.5 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.1135, allocations: 233 kB / 476.8 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.232e-05/0.1135, allocations: 85.02 kB / 476.9 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/0.1136, allocations: 8 kB / 476.9 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.701e-05/0.1136, allocations: 7.984 kB / 476.9 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.1137, allocations: 7.938 kB / 476.9 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.1137, allocations: 7.938 kB / 476.9 MB, free: 7.035 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001396/0.1138, allocations: 175.5 kB / 477.1 MB, free: 6.863 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1138, allocations: 0 / 477.1 MB, free: 6.863 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002787/0.1141, allocations: 35.91 kB / 477.1 MB, free: 6.828 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 (11): * Single equations (assignments): 9 * 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.001158/0.1153, allocations: 0.5017 MB / 477.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002225/0.1155, allocations: 83.84 kB / 477.7 MB, free: 6.445 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1155, allocations: 0 / 477.7 MB, free: 6.445 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.979e-05/0.1156, allocations: 47.98 kB / 477.7 MB, free: 6.398 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.116, allocations: 32.08 kB / 477.8 MB, free: 6.367 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005329/0.1166, allocations: 314.3 kB / 478.1 MB, free: 6.023 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.1169, allocations: 0.7194 MB / 478.8 MB, free: 5.277 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.363e-05/0.1169, allocations: 19.42 kB / 478.8 MB, free: 5.258 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1169, allocations: 0 / 478.8 MB, free: 5.258 MB / 350.1 MB Notification: Performance of Templates: time 0.004188/0.1211, allocations: 2.213 MB / 481 MB, free: 3.062 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches