Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 110.5 kB / 17.04 MB, free: 5.359 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.0015/0.0015, allocations: 193.5 kB / 17.98 MB, free: 4.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.735/1.735, allocations: 205.1 MB / 223.8 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2664/0.2664, allocations: 43.51 MB / 314.7 MB, free: 492 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 74.22 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1213, allocations: 57.79 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003167/0.1245, allocations: 1.909 MB / 443.9 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.1258, allocations: 0.835 MB / 444.7 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.1259, allocations: 0 / 444.7 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003299/0.1263, allocations: 47.7 kB / 444.8 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000205/0.1265, allocations: 59.64 kB / 444.8 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002459/0.1268, allocations: 99.73 kB / 444.9 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.127, allocations: 139.5 kB / 445.1 MB, free: 3.047 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.1271, allocations: 33.42 kB / 445.1 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.079e-05/0.1272, allocations: 55.77 kB / 445.2 MB, free: 2.953 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.643e-05/0.1273, allocations: 51.66 kB / 445.2 MB, free: 2.902 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.1273, allocations: 8 kB / 445.2 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.706e-05/0.1274, allocations: 43.97 kB / 445.3 MB, free: 2.852 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.712e-05/0.1275, allocations: 27.92 kB / 445.3 MB, free: 2.824 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.013e-05/0.1276, allocations: 55.61 kB / 445.3 MB, free: 2.77 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.1278, allocations: 143.5 kB / 445.5 MB, free: 2.629 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.1278, allocations: 3.984 kB / 445.5 MB, free: 2.625 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1278, allocations: 0 / 445.5 MB, free: 2.625 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.1279, allocations: 0 / 445.5 MB, free: 2.625 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006599/0.1285, allocations: 484.4 kB / 446 MB, free: 2.098 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.1286, allocations: 11.89 kB / 446 MB, free: 2.086 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.552e-05/0.1286, allocations: 20.75 kB / 446 MB, free: 2.066 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003079/0.129, allocations: 228 kB / 446.2 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.129, allocations: 384 / 446.2 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.77e-05/0.129, allocations: 12.12 kB / 446.2 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002525/0.1293, allocations: 111.5 kB / 446.3 MB, free: 1.672 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.1293, allocations: 0 / 446.3 MB, free: 1.672 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.1293, allocations: 0 / 446.3 MB, free: 1.672 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.1294, allocations: 4 kB / 446.3 MB, free: 1.668 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001466/0.1295, allocations: 59.78 kB / 446.4 MB, free: 1.613 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005686/0.1301, allocations: 0.5047 MB / 446.9 MB, free: 1.051 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003256/0.1304, allocations: 86.66 kB / 447 MB, free: 0.957 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.037e-05/0.1305, allocations: 40.83 kB / 447 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.1306, allocations: 0 / 447 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001701/0.1307, allocations: 87.31 kB / 447.1 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.293e-06/0.1307, allocations: 0 / 447.1 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003543/0.1311, allocations: 149.4 kB / 447.2 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.1311, allocations: 59.34 kB / 447.3 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.1313, allocations: 191.4 kB / 447.5 MB, free: 404 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.1313, allocations: 25.7 kB / 447.5 MB, free: 372 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.637e-05/0.1314, allocations: 116 kB / 447.6 MB, free: 252 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.1314, allocations: 31.64 kB / 447.7 MB, free: 220 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.791e-05/0.1314, allocations: 21.72 kB / 447.7 MB, free: 192 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1316, allocations: 334.8 kB / 448 MB, free: 15.85 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.766e-05/0.1317, allocations: 27.98 kB / 448 MB, free: 15.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.1318, allocations: 60.28 kB / 448.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002076/0.132, allocations: 104.1 kB / 448.2 MB, free: 15.63 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.132, allocations: 0 / 448.2 MB, free: 15.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002668/0.1323, allocations: 137.3 kB / 448.3 MB, free: 15.49 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.1323, allocations: 8 kB / 448.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1323, allocations: 0 / 448.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.1323, allocations: 8.125 kB / 448.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.922e-05/0.1324, allocations: 27.92 kB / 448.4 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.1325, allocations: 4 kB / 448.4 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.665e-05/0.1325, allocations: 11.89 kB / 448.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.1325, allocations: 4 kB / 448.4 MB, free: 15.43 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001028/0.1326, allocations: 130.2 kB / 448.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.1327, allocations: 15.81 kB / 448.5 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.774e-05/0.1327, allocations: 21.39 kB / 448.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1327, allocations: 3.938 kB / 448.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.1328, allocations: 8 kB / 448.6 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1328, allocations: 3.938 kB / 448.6 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.1329, allocations: 209.5 kB / 448.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1329, allocations: 4 kB / 448.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.454e-05/0.133, allocations: 15.98 kB / 448.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.133, allocations: 0 / 448.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.1331, allocations: 0 / 448.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.1331, allocations: 7.938 kB / 448.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.1331, allocations: 0 / 448.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003669/0.1334, allocations: 184.8 kB / 449 MB, free: 14.76 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.301e-05/0.1335, allocations: 89.03 kB / 449.1 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.1335, allocations: 0 / 449.1 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.125e-05/0.1336, allocations: 11.94 kB / 449.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.1337, allocations: 7.984 kB / 449.1 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.1337, allocations: 4 kB / 449.1 MB, free: 14.63 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001142/0.1338, allocations: 137.3 kB / 449.2 MB, free: 14.5 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1338, allocations: 4 kB / 449.2 MB, free: 14.49 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002283/0.134, allocations: 32.03 kB / 449.3 MB, free: 14.46 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.0009524/0.135, allocations: 411.6 kB / 449.7 MB, free: 14.13 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002575/0.1353, allocations: 83.83 kB / 449.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1353, allocations: 0 / 449.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.1354, allocations: 40.23 kB / 449.8 MB, free: 14.01 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.1357, allocations: 33.17 kB / 449.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005677/0.1363, allocations: 260 kB / 450.1 MB, free: 13.7 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004204/0.1367, allocations: 0.7123 MB / 450.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.676e-05/0.1368, allocations: 25.41 kB / 450.8 MB, free: 12.94 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.445e-05/0.1369, allocations: 19.8 kB / 450.8 MB, free: 12.92 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1369, allocations: 0 / 450.8 MB, free: 12.92 MB / 334.1 MB Notification: Performance of Templates: time 0.005498/0.1424, allocations: 1.875 MB / 452.7 MB, free: 11.05 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches