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.001256/0.001256, allocations: 102.5 kB / 16.4 MB, free: 6.453 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.001245/0.001245, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.403/1.403, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2153/0.2153, allocations: 43.53 MB / 314.1 MB, free: 452 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.001494/0.001495, allocations: 81.59 kB / 441.9 MB, free: 5.582 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1314, allocations: 57.78 MB / 499.7 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.004605/0.1361, allocations: 1.908 MB / 0.4898 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001653/0.1378, allocations: 0.8467 MB / 0.4906 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000186/0.138, allocations: 0 / 0.4906 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004303/0.1385, allocations: 43.7 kB / 0.4907 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003565/0.1388, allocations: 67.62 kB / 0.4907 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004233/0.1393, allocations: 103.7 kB / 0.4908 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002957/0.1396, allocations: 135.6 kB / 0.491 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.1398, allocations: 37.47 kB / 0.491 GB, free: 8.562 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.1399, allocations: 55.72 kB / 0.4911 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.1401, allocations: 55.64 kB / 0.4911 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.173e-05/0.1401, allocations: 8 kB / 0.4911 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001749/0.1403, allocations: 47.92 kB / 0.4912 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.891e-05/0.1404, allocations: 27.92 kB / 0.4912 GB, free: 8.371 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.47e-05/0.1405, allocations: 55.59 kB / 0.4912 GB, free: 8.316 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003471/0.1408, allocations: 143.5 kB / 0.4914 GB, free: 8.176 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.1409, allocations: 0 / 0.4914 GB, free: 8.176 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1409, allocations: 0 / 0.4914 GB, free: 8.176 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.277e-06/0.1409, allocations: 0 / 0.4914 GB, free: 8.176 MB / 382.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.0008401/0.1417, allocations: 484.4 kB / 0.4918 GB, free: 7.648 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.1418, allocations: 15.89 kB / 0.4919 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.319e-05/0.1419, allocations: 16.73 kB / 0.4919 GB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000418/0.1423, allocations: 228 kB / 0.4921 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.1423, allocations: 4.359 kB / 0.4921 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.001e-05/0.1424, allocations: 16.12 kB / 0.4921 GB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002567/0.1426, allocations: 100.2 kB / 0.4922 GB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.1427, allocations: 3.984 kB / 0.4922 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.1427, allocations: 8 kB / 0.4922 GB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1427, allocations: 4 kB / 0.4922 GB, free: 7.207 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.1429, allocations: 47.91 kB / 0.4923 GB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006672/0.1435, allocations: 0.5008 MB / 0.4928 GB, free: 6.602 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003321/0.1439, allocations: 90.66 kB / 0.4928 GB, free: 6.504 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.616e-05/0.144, allocations: 36.84 kB / 0.4929 GB, free: 6.465 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.144, allocations: 4 kB / 0.4929 GB, free: 6.461 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002016/0.1442, allocations: 79.31 kB / 0.493 GB, free: 6.371 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.492e-06/0.1442, allocations: 4 kB / 0.493 GB, free: 6.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004033/0.1446, allocations: 141.5 kB / 0.4931 GB, free: 6.223 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.1447, allocations: 59.33 kB / 0.4932 GB, free: 6.152 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.1449, allocations: 191.4 kB / 0.4933 GB, free: 5.953 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.1449, allocations: 29.7 kB / 0.4934 GB, free: 5.918 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.145e-05/0.145, allocations: 116.3 kB / 0.4935 GB, free: 5.801 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.868e-05/0.1451, allocations: 27.64 kB / 0.4935 GB, free: 5.773 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.709e-05/0.1451, allocations: 33.7 kB / 0.4935 GB, free: 5.734 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.1452, allocations: 322.8 kB / 0.4938 GB, free: 5.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.587e-05/0.1453, allocations: 31.92 kB / 0.4939 GB, free: 5.379 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.1455, allocations: 64.27 kB / 0.4939 GB, free: 5.301 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.1456, allocations: 100.1 kB / 0.494 GB, free: 5.188 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.1457, allocations: 4 kB / 0.494 GB, free: 5.184 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002739/0.1459, allocations: 141.3 kB / 0.4942 GB, free: 5.039 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.146, allocations: 8.125 kB / 0.4942 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.146, allocations: 0 / 0.4942 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.146, allocations: 4 kB / 0.4942 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.1461, allocations: 27.86 kB / 0.4942 GB, free: 5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.1461, allocations: 4 kB / 0.4942 GB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.31e-05/0.1462, allocations: 7.906 kB / 0.4942 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.1462, allocations: 8 kB / 0.4942 GB, free: 4.98 MB / 382.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.0001096/0.1464, allocations: 129.7 kB / 0.4943 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.711e-05/0.1464, allocations: 15.81 kB / 0.4944 GB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.733e-05/0.1465, allocations: 25.39 kB / 0.4944 GB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1465, allocations: 3.938 kB / 0.4944 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.1465, allocations: 4 kB / 0.4944 GB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1465, allocations: 3.984 kB / 0.4944 GB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.1467, allocations: 209.5 kB / 0.4946 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1467, allocations: 0 / 0.4946 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.631e-05/0.1468, allocations: 8 kB / 0.4946 GB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.1468, allocations: 0 / 0.4946 GB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.1468, allocations: 4 kB / 0.4946 GB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.1468, allocations: 3.938 kB / 0.4946 GB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.1468, allocations: 7.984 kB / 0.4946 GB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003839/0.1472, allocations: 184.8 kB / 0.4948 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.061e-05/0.1473, allocations: 85.05 kB / 0.4949 GB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.1473, allocations: 4 kB / 0.4949 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.048e-05/0.1474, allocations: 11.92 kB / 0.4949 GB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.1474, allocations: 4 kB / 0.4949 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.1475, allocations: 12.05 kB / 0.4949 GB, free: 4.176 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001352/0.1476, allocations: 137.2 kB / 0.495 GB, free: 4.043 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1476, allocations: 0 / 0.495 GB, free: 4.043 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002566/0.1479, allocations: 32.11 kB / 0.4951 GB, free: 4.012 MB / 382.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.0009598/0.1488, allocations: 416.6 kB / 0.4955 GB, free: 3.637 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002586/0.1491, allocations: 80.03 kB / 0.4955 GB, free: 3.559 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.1491, allocations: 4.062 kB / 0.4956 GB, free: 3.555 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.1492, allocations: 39.97 kB / 0.4956 GB, free: 3.516 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.1495, allocations: 42.86 kB / 0.4956 GB, free: 3.477 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005747/0.1501, allocations: 263.8 kB / 0.4959 GB, free: 3.191 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.1504, allocations: 0.7162 MB / 0.4966 GB, free: 2.449 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.559e-05/0.1505, allocations: 17.41 kB / 0.4966 GB, free: 2.434 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.131e-05/0.1506, allocations: 15.44 kB / 0.4966 GB, free: 2.418 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1506, allocations: 0 / 0.4966 GB, free: 2.418 MB / 382.1 MB Notification: Performance of Templates: time 0.005415/0.156, allocations: 1.886 MB / 0.4985 GB, free: 0.5352 MB / 382.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins/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