Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 110.5 kB / 17.86 MB, free: 5.5 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.001582/0.001582, allocations: 201.9 kB / 18.78 MB, free: 4.582 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.399/1.399, allocations: 222.9 MB / 242.5 MB, free: 13.72 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.1994/0.1994, allocations: 44.17 MB / 336.8 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 71.62 kB / 408.4 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1047, allocations: 60.83 MB / 469.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003027/0.1078, allocations: 1.757 MB / 470.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001944/0.1097, allocations: 1.448 MB / 472.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.812e-05/0.1098, allocations: 3.938 kB / 472.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002725/0.1101, allocations: 35.89 kB / 472.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000194/0.1103, allocations: 43.84 kB / 472.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.1106, allocations: 102.6 kB / 472.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.1108, allocations: 103.7 kB / 472.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.81e-05/0.1109, allocations: 4.234 kB / 472.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.838e-05/0.111, allocations: 43.78 kB / 472.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.1111, allocations: 35.84 kB / 472.8 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.1111, allocations: 4 kB / 472.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.1113, allocations: 63.89 kB / 472.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.739e-05/0.1113, allocations: 23.92 kB / 472.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.754e-05/0.1114, allocations: 31.73 kB / 472.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.1116, allocations: 100.1 kB / 473 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1116, allocations: 0 / 473 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1116, allocations: 0 / 473 MB, free: 11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.1116, allocations: 0 / 473 MB, free: 11 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005429/0.1121, allocations: 417.9 kB / 473.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.1122, allocations: 12.03 kB / 473.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.034e-05/0.1122, allocations: 8.844 kB / 473.4 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.1125, allocations: 220.6 kB / 473.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.1125, allocations: 3.938 kB / 473.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.1125, allocations: 4 kB / 473.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.1127, allocations: 67.39 kB / 473.7 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.1127, allocations: 4 kB / 473.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.1127, allocations: 0 / 473.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.1128, allocations: 4 kB / 473.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.367e-05/0.1129, allocations: 27.91 kB / 473.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003832/0.1132, allocations: 300.8 kB / 474 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.1135, allocations: 66.69 kB / 474.1 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.343e-05/0.1135, allocations: 28.78 kB / 474.1 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.1136, allocations: 80 / 474.1 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002287/0.1138, allocations: 83.3 kB / 474.2 MB, free: 9.609 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.1138, allocations: 0 / 474.2 MB, free: 9.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006052/0.1144, allocations: 197.6 kB / 474.4 MB, free: 9.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.1145, allocations: 85.05 kB / 474.5 MB, free: 9.309 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.1146, allocations: 155.7 kB / 474.6 MB, free: 9.145 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.1147, allocations: 29.7 kB / 474.7 MB, free: 9.109 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.927e-05/0.1147, allocations: 96.12 kB / 474.7 MB, free: 9.012 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.151e-05/0.1147, allocations: 27.66 kB / 474.8 MB, free: 8.984 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-05/0.1148, allocations: 29.7 kB / 474.8 MB, free: 8.949 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.1149, allocations: 322.8 kB / 475.1 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.606e-05/0.115, allocations: 23.94 kB / 475.1 MB, free: 8.602 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.027e-05/0.1151, allocations: 50.48 kB / 475.2 MB, free: 8.543 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.1152, allocations: 77.67 kB / 475.3 MB, free: 8.461 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1152, allocations: 0 / 475.3 MB, free: 8.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002062/0.1154, allocations: 113.5 kB / 475.4 MB, free: 8.344 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.1155, allocations: 8 kB / 475.4 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.1155, allocations: 80 / 475.4 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.1155, allocations: 3.938 kB / 475.4 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.817e-05/0.1156, allocations: 27.92 kB / 475.4 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.1156, allocations: 3.984 kB / 475.4 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.109e-05/0.1157, allocations: 8.188 kB / 475.4 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.1157, allocations: 0 / 475.4 MB, free: 8.293 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 (11): * Single equations (assignments): 11 * 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.0001018/0.1158, allocations: 134.3 kB / 475.6 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/0.1158, allocations: 11.81 kB / 475.6 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.381e-05/0.1159, allocations: 16.66 kB / 475.6 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1159, allocations: 4 kB / 475.6 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1159, allocations: 0 / 475.6 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.1159, allocations: 3.984 kB / 475.6 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004559/0.1164, allocations: 411.3 kB / 476 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1164, allocations: 0 / 476 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.793e-05/0.1164, allocations: 8 kB / 476 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.1164, allocations: 0 / 476 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.1164, allocations: 7.984 kB / 476 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1164, allocations: 0 / 476 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1165, allocations: 3.938 kB / 476 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002526/0.1167, allocations: 220.2 kB / 476.2 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.613e-05/0.1168, allocations: 85.02 kB / 476.3 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/0.1168, allocations: 3.984 kB / 476.3 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.879e-05/0.1169, allocations: 11.94 kB / 476.3 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.1169, allocations: 4 kB / 476.3 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.117, allocations: 7.984 kB / 476.3 MB, free: 7.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001038/0.1171, allocations: 117.1 kB / 476.5 MB, free: 7.156 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1171, allocations: 3.938 kB / 476.5 MB, free: 7.152 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002772/0.1174, allocations: 36 kB / 476.5 MB, free: 7.117 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 (9): * Single equations (assignments): 7 * 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.001113/0.1185, allocations: 0.4912 MB / 477 MB, free: 6.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001968/0.1187, allocations: 71.86 kB / 477.1 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1187, allocations: 0 / 477.1 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.445e-05/0.1188, allocations: 35.92 kB / 477.1 MB, free: 6.715 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.1191, allocations: 37.17 kB / 477.1 MB, free: 6.684 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004327/0.1196, allocations: 262.2 kB / 477.4 MB, free: 6.387 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.1198, allocations: 0.7041 MB / 478.1 MB, free: 5.656 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.418e-05/0.1199, allocations: 27.42 kB / 478.1 MB, free: 5.629 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1199, allocations: 0 / 478.1 MB, free: 5.629 MB / 350.1 MB Notification: Performance of Templates: time 0.003718/0.1236, allocations: 2.154 MB / 480.3 MB, free: 3.484 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches