Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 107.1 kB / 18.39 MB, free: 4.629 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.001233/0.001233, allocations: 184.1 kB / 19.33 MB, free: 3.699 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 / 243 MB, free: 15.07 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.2034/0.2034, allocations: 44.18 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 63.11 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1124, allocations: 60.83 MB / 470.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003188/0.1156, allocations: 1.796 MB / 472.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.1172, allocations: 0.9588 MB / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.1173, allocations: 3.938 kB / 473.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005339/0.1179, allocations: 299.3 kB / 473.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004171/0.1183, allocations: 211.4 kB / 474 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004737/0.1188, allocations: 171 kB / 474.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003547/0.1192, allocations: 243.4 kB / 474.4 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.8e-05/0.1193, allocations: 17.55 kB / 474.4 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001757/0.1194, allocations: 127.5 kB / 474.5 MB, free: 9.805 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002353/0.1197, allocations: 191.5 kB / 474.7 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.865e-05/0.1197, allocations: 8 kB / 474.7 MB, free: 9.609 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.1198, allocations: 43.98 kB / 474.8 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.12, allocations: 131.6 kB / 474.9 MB, free: 9.438 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.1201, allocations: 154.7 kB / 475 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000384/0.1205, allocations: 362.7 kB / 475.4 MB, free: 8.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1205, allocations: 0 / 475.4 MB, free: 8.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1206, allocations: 0 / 475.4 MB, free: 8.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.1206, allocations: 0 / 475.4 MB, free: 8.93 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.0009945/0.1216, allocations: 0.7269 MB / 476.1 MB, free: 8.152 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.1216, allocations: 8.031 kB / 476.1 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.821e-05/0.1217, allocations: 48.28 kB / 476.2 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006835/0.1224, allocations: 451.8 kB / 476.6 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.1224, allocations: 4.375 kB / 476.6 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.1225, allocations: 8.125 kB / 476.6 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.1227, allocations: 91.3 kB / 476.7 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.1227, allocations: 3.938 kB / 476.7 MB, free: 7.496 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.1227, allocations: 0 / 476.7 MB, free: 7.496 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1227, allocations: 4 kB / 476.7 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.1228, allocations: 35.91 kB / 476.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004357/0.1233, allocations: 366.4 kB / 477.1 MB, free: 7.047 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002643/0.1235, allocations: 109.2 kB / 477.2 MB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.1237, allocations: 41.64 kB / 477.3 MB, free: 6.875 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.1237, allocations: 4 kB / 477.3 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002179/0.1239, allocations: 120.9 kB / 477.4 MB, free: 6.734 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.633e-06/0.1239, allocations: 0 / 477.4 MB, free: 6.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004927/0.1244, allocations: 189.1 kB / 477.6 MB, free: 6.543 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.1245, allocations: 85.05 kB / 477.7 MB, free: 6.441 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.1256, allocations: 1.03 MB / 478.7 MB, free: 5.402 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.1256, allocations: 33.7 kB / 478.7 MB, free: 5.363 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000205/0.1258, allocations: 232.1 kB / 478.9 MB, free: 5.133 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.946e-05/0.1259, allocations: 35.55 kB / 479 MB, free: 5.098 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.192e-05/0.1259, allocations: 29.7 kB / 479 MB, free: 5.062 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.1261, allocations: 366.8 kB / 479.4 MB, free: 4.695 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.1262, allocations: 27.98 kB / 479.4 MB, free: 4.668 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.1263, allocations: 59.41 kB / 479.4 MB, free: 4.598 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.1266, allocations: 91.86 kB / 479.5 MB, free: 4.496 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.1266, allocations: 0 / 479.5 MB, free: 4.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003285/0.1269, allocations: 169 kB / 479.7 MB, free: 4.324 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.1269, allocations: 4 kB / 479.7 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.1269, allocations: 7.984 kB / 479.7 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.127, allocations: 4.062 kB / 479.7 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.1271, allocations: 27.92 kB / 479.7 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.1271, allocations: 0 / 479.7 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.906e-05/0.1272, allocations: 7.906 kB / 479.8 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.1272, allocations: 8 kB / 479.8 MB, free: 4.266 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.0002319/0.1275, allocations: 225.6 kB / 480 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.575e-05/0.1275, allocations: 51.34 kB / 480 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.453e-05/0.1276, allocations: 63.94 kB / 480.1 MB, free: 3.918 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1277, allocations: 8 kB / 480.1 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.1277, allocations: 0 / 480.1 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1277, allocations: 3.938 kB / 480.1 MB, free: 3.906 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003246/0.128, allocations: 341.3 kB / 480.4 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.128, allocations: 0 / 480.4 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.884e-05/0.1281, allocations: 8 kB / 480.4 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.1281, allocations: 4 kB / 480.5 MB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.1281, allocations: 3.984 kB / 480.5 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.1281, allocations: 4 kB / 480.5 MB, free: 3.504 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1281, allocations: 0 / 480.5 MB, free: 3.504 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003522/0.1285, allocations: 205.3 kB / 480.7 MB, free: 3.281 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001832/0.1287, allocations: 136.5 kB / 480.8 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.882e-05/0.1287, allocations: 4 kB / 480.8 MB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.438e-05/0.1288, allocations: 7.984 kB / 480.8 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.1289, allocations: 7.984 kB / 480.8 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.1289, allocations: 8 kB / 480.8 MB, free: 3.102 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008702/0.1298, allocations: 0.7722 MB / 481.6 MB, free: 2.332 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1298, allocations: 0 / 481.6 MB, free: 2.332 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000292/0.1301, allocations: 43.98 kB / 481.6 MB, free: 2.289 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.001009/0.1311, allocations: 410 kB / 482 MB, free: 2.043 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000265/0.1314, allocations: 83.97 kB / 482.1 MB, free: 1.961 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.1314, allocations: 4 kB / 482.1 MB, free: 1.957 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.1315, allocations: 40.09 kB / 482.2 MB, free: 1.918 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004191/0.1319, allocations: 79.7 kB / 482.2 MB, free: 1.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.1333, allocations: 0.8704 MB / 483.1 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006274/0.1339, allocations: 0.8349 MB / 483.9 MB, free: 80 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001338/0.1341, allocations: 66.92 kB / 484 MB, free: 16 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.184e-05/0.1342, allocations: 31.48 kB / 484 MB, free: 15.98 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1342, allocations: 0 / 484 MB, free: 15.98 MB / 366.1 MB Notification: Performance of Templates: time 0.008665/0.1429, allocations: 3.706 MB / 487.7 MB, free: 12.3 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches