Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 104.2 kB / 18.4 MB, free: 4.676 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.001877/0.001877, allocations: 186.9 kB / 19.34 MB, free: 3.742 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.352/1.352, allocations: 222.9 MB / 243 MB, free: 15.08 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.2073/0.2073, allocations: 44.18 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002277/0.002277, allocations: 65.53 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1085, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003071/0.1116, allocations: 1.885 MB / 472.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001596/0.1132, allocations: 0.9821 MB / 473.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.921e-05/0.1133, allocations: 8 kB / 473.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004031/0.1137, allocations: 223.3 kB / 473.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002965/0.114, allocations: 167.5 kB / 474 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003822/0.1144, allocations: 178.1 kB / 474.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002546/0.1147, allocations: 239.3 kB / 474.4 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.1148, allocations: 37.66 kB / 474.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.1149, allocations: 115.5 kB / 474.5 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.1151, allocations: 147.5 kB / 474.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.1151, allocations: 8 kB / 474.7 MB, free: 9.668 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.1152, allocations: 63.92 kB / 474.7 MB, free: 9.605 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.745e-05/0.1153, allocations: 63.75 kB / 474.8 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.149e-05/0.1154, allocations: 87.34 kB / 474.9 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002826/0.1157, allocations: 239.1 kB / 475.1 MB, free: 9.223 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1157, allocations: 0 / 475.1 MB, free: 9.223 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1157, allocations: 0 / 475.1 MB, free: 9.223 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1157, allocations: 3.938 kB / 475.1 MB, free: 9.219 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006916/0.1164, allocations: 0.5447 MB / 475.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.894e-05/0.1165, allocations: 8.031 kB / 475.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.341e-05/0.1165, allocations: 28.66 kB / 475.7 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003591/0.1169, allocations: 288 kB / 476 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.1169, allocations: 8.375 kB / 476 MB, free: 8.262 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.924e-05/0.117, allocations: 12.12 kB / 476 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.1172, allocations: 107.3 kB / 476.1 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.1172, allocations: 3.906 kB / 476.1 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.1172, allocations: 4 kB / 476.1 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.1172, allocations: 8 kB / 476.1 MB, free: 8.117 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.1173, allocations: 43.91 kB / 476.2 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005042/0.1179, allocations: 476.7 kB / 476.6 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003348/0.1182, allocations: 121.2 kB / 476.8 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.533e-05/0.1183, allocations: 45.81 kB / 476.8 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.1183, allocations: 4 kB / 476.8 MB, free: 7.363 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001986/0.1186, allocations: 124.1 kB / 476.9 MB, free: 7.227 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.333e-06/0.1186, allocations: 0 / 476.9 MB, free: 7.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001209/0.1198, allocations: 0.4891 MB / 477.4 MB, free: 6.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/0.1198, allocations: 81.11 kB / 477.5 MB, free: 6.633 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003901/0.1202, allocations: 428.5 kB / 477.9 MB, free: 6.203 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.1203, allocations: 33.7 kB / 478 MB, free: 6.164 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.819e-05/0.1204, allocations: 156.5 kB / 478.1 MB, free: 6.008 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.63e-05/0.1204, allocations: 71.09 kB / 478.2 MB, free: 5.938 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-05/0.1205, allocations: 45.64 kB / 478.2 MB, free: 5.887 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.1206, allocations: 342.8 kB / 478.6 MB, free: 5.543 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.1207, allocations: 55.98 kB / 478.6 MB, free: 5.488 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.1209, allocations: 95.33 kB / 478.7 MB, free: 5.383 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002514/0.1211, allocations: 163.5 kB / 478.9 MB, free: 5.211 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.1212, allocations: 0 / 478.9 MB, free: 5.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000371/0.1215, allocations: 229.1 kB / 479.1 MB, free: 4.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.1216, allocations: 11.94 kB / 479.1 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1216, allocations: 0 / 479.1 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.1216, allocations: 64 / 479.1 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.1217, allocations: 51.92 kB / 479.1 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.1217, allocations: 8 kB / 479.2 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.352e-05/0.1218, allocations: 15.92 kB / 479.2 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.1219, allocations: 4 kB / 479.2 MB, free: 4.891 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.000139/0.122, allocations: 165.8 kB / 479.3 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.346e-05/0.122, allocations: 35.56 kB / 479.4 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.205e-05/0.1221, allocations: 38.62 kB / 479.4 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1221, allocations: 0 / 479.4 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1221, allocations: 11.94 kB / 479.4 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.1222, allocations: 7.969 kB / 479.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008546/0.123, allocations: 0.7194 MB / 480.1 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.123, allocations: 4 kB / 480.2 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.016e-05/0.1231, allocations: 28.11 kB / 480.2 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1231, allocations: 4 kB / 480.2 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.1232, allocations: 8 kB / 480.2 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.1232, allocations: 7.938 kB / 480.2 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1232, allocations: 0 / 480.2 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000432/0.1236, allocations: 421.7 kB / 480.6 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.526e-05/0.1237, allocations: 100.7 kB / 480.7 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.906e-05/0.1237, allocations: 15.92 kB / 480.7 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.1239, allocations: 8 kB / 480.7 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.046e-05/0.1239, allocations: 19.86 kB / 480.8 MB, free: 3.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.46e-05/0.124, allocations: 15.98 kB / 480.8 MB, free: 3.168 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002883/0.1243, allocations: 323 kB / 481.1 MB, free: 2.855 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1243, allocations: 0 / 481.1 MB, free: 2.855 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003475/0.1246, allocations: 51.98 kB / 481.1 MB, free: 2.805 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001153/0.1258, allocations: 0.5061 MB / 481.6 MB, free: 2.504 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000349/0.1261, allocations: 159.8 kB / 481.8 MB, free: 2.348 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.1261, allocations: 128 / 481.8 MB, free: 2.348 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001639/0.1263, allocations: 87.84 kB / 481.9 MB, free: 2.262 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005249/0.1269, allocations: 64.66 kB / 481.9 MB, free: 2.195 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008693/0.1277, allocations: 0.5479 MB / 482.5 MB, free: 1.605 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004191/0.1282, allocations: 0.7714 MB / 483.3 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001055/0.1283, allocations: 37.92 kB / 483.3 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.038e-05/0.1284, allocations: 35.42 kB / 483.3 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of SimCode: time 1.002e-06/0.1284, allocations: 0 / 483.3 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of Templates: time 0.006899/0.1353, allocations: 3.109 MB / 486.4 MB, free: 13.66 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches