Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 110 kB / 17.86 MB, free: 5.504 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.002129/0.002129, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.356/1.356, allocations: 222.9 MB / 242.5 MB, free: 15.34 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.2142/0.2142, allocations: 44.17 MB / 336.8 MB, free: 2.969 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 71.78 kB / 408.4 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1149, allocations: 60.83 MB / 469.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003096/0.118, allocations: 1.85 MB / 471 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.1195, allocations: 0.9473 MB / 472 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.386e-05/0.1196, allocations: 3.938 kB / 472 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004924/0.1201, allocations: 299.4 kB / 472.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003008/0.1204, allocations: 195.5 kB / 472.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003457/0.1207, allocations: 151.3 kB / 472.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002571/0.121, allocations: 235.4 kB / 472.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.284e-05/0.1211, allocations: 9.562 kB / 472.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.1212, allocations: 115.5 kB / 473 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002113/0.1214, allocations: 191.5 kB / 473.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.1215, allocations: 4 kB / 473.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.1216, allocations: 43.98 kB / 473.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001444/0.1217, allocations: 135.6 kB / 473.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.1219, allocations: 150.8 kB / 473.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002844/0.1221, allocations: 275.9 kB / 473.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1222, allocations: 0 / 473.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.1222, allocations: 0 / 473.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.1222, allocations: 0 / 473.8 MB, free: 10.23 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.0009191/0.1231, allocations: 0.7269 MB / 474.5 MB, free: 9.449 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.1231, allocations: 12.02 kB / 474.5 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.242e-05/0.1232, allocations: 48.28 kB / 474.5 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005264/0.1238, allocations: 455.8 kB / 475 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.1238, allocations: 384 / 475 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.1238, allocations: 12.11 kB / 475 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.124, allocations: 79.38 kB / 475.1 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.124, allocations: 0 / 475.1 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.1241, allocations: 4 kB / 475.1 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.1241, allocations: 4 kB / 475.1 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.1242, allocations: 35.91 kB / 475.1 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003936/0.1246, allocations: 370.4 kB / 475.5 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002708/0.1249, allocations: 105.2 kB / 475.6 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.125, allocations: 45.58 kB / 475.6 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.125, allocations: 4 kB / 475.6 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002733/0.1253, allocations: 109 kB / 475.7 MB, free: 8.047 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.1253, allocations: 0 / 475.7 MB, free: 8.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004955/0.1258, allocations: 197 kB / 475.9 MB, free: 7.848 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.1259, allocations: 81.11 kB / 476 MB, free: 7.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.1269, allocations: 1.034 MB / 477 MB, free: 6.707 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.1269, allocations: 33.64 kB / 477.1 MB, free: 6.668 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.1271, allocations: 232.1 kB / 477.3 MB, free: 6.438 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.503e-05/0.1272, allocations: 35.48 kB / 477.3 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.706e-05/0.1272, allocations: 29.72 kB / 477.4 MB, free: 6.367 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.1274, allocations: 366.8 kB / 477.7 MB, free: 6 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.727e-05/0.1275, allocations: 31.97 kB / 477.8 MB, free: 5.969 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.766e-05/0.1276, allocations: 59.42 kB / 477.8 MB, free: 5.898 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.1278, allocations: 87.36 kB / 477.9 MB, free: 5.801 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1278, allocations: 4 kB / 477.9 MB, free: 5.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002959/0.1281, allocations: 169.5 kB / 478.1 MB, free: 5.625 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.1281, allocations: 4 kB / 478.1 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.1281, allocations: 4 kB / 478.1 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.1282, allocations: 0 / 478.1 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.1283, allocations: 23.98 kB / 478.1 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.954e-06/0.1283, allocations: 8 kB / 478.1 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.434e-05/0.1284, allocations: 11.91 kB / 478.1 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.1284, allocations: 7.984 kB / 478.1 MB, free: 5.566 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002196/0.1286, allocations: 226.2 kB / 478.3 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.779e-05/0.1287, allocations: 47.34 kB / 478.4 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.919e-05/0.1288, allocations: 60 kB / 478.5 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.1288, allocations: 3.984 kB / 478.5 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.1288, allocations: 4 kB / 478.5 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1288, allocations: 4 kB / 478.5 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003167/0.1291, allocations: 341.4 kB / 478.8 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.165e-06/0.1292, allocations: 3.984 kB / 478.8 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.92e-05/0.1292, allocations: 11.92 kB / 478.8 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.1292, allocations: 4 kB / 478.8 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.1292, allocations: 0 / 478.8 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1292, allocations: 0 / 478.8 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.1292, allocations: 4 kB / 478.8 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003758/0.1296, allocations: 209.2 kB / 479 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/0.1298, allocations: 136.5 kB / 479.2 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.461e-05/0.1298, allocations: 0 / 479.2 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.903e-05/0.1299, allocations: 4.094 kB / 479.2 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.13, allocations: 15.92 kB / 479.2 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.13, allocations: 4 kB / 479.2 MB, free: 4.406 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008043/0.1308, allocations: 0.7721 MB / 480 MB, free: 3.637 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.224e-06/0.1308, allocations: 0 / 480 MB, free: 3.637 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.1311, allocations: 47.94 kB / 480 MB, free: 3.59 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001008/0.1321, allocations: 408.2 kB / 480.4 MB, free: 3.344 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002465/0.1324, allocations: 79.83 kB / 480.5 MB, free: 3.266 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1324, allocations: 0 / 480.5 MB, free: 3.266 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.1325, allocations: 43.97 kB / 480.5 MB, free: 3.223 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004236/0.1329, allocations: 81.86 kB / 480.6 MB, free: 3.145 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.1342, allocations: 0.9987 MB / 481.6 MB, free: 2.105 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004271/0.1347, allocations: 0.843 MB / 482.4 MB, free: 1.234 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.928e-05/0.1347, allocations: 27.44 kB / 482.5 MB, free: 1.207 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1347, allocations: 0 / 482.5 MB, free: 1.207 MB / 350.1 MB Notification: Performance of Templates: time 0.007625/0.1424, allocations: 5.055 MB / 487.5 MB, free: 12.16 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches