Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 109.5 kB / 16.41 MB, free: 6.488 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.001253/0.001253, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.407/1.407, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2129/0.2129, allocations: 43.53 MB / 314.1 MB, free: 472 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.001344/0.001344, allocations: 67.91 kB / 441.9 MB, free: 5.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1328, allocations: 57.79 MB / 499.7 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.00357/0.1365, allocations: 1.897 MB / 0.4898 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001649/0.1381, allocations: 0.8468 MB / 0.4906 GB, free: 8.988 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.1383, allocations: 3.938 kB / 0.4906 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004624/0.1387, allocations: 39.78 kB / 0.4907 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002581/0.139, allocations: 63.56 kB / 0.4907 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000308/0.1394, allocations: 107.7 kB / 0.4908 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002327/0.1396, allocations: 143.5 kB / 0.491 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.1398, allocations: 29.48 kB / 0.491 GB, free: 8.602 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.1399, allocations: 55.72 kB / 0.491 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.14, allocations: 51.7 kB / 0.4911 GB, free: 8.496 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.379e-05/0.14, allocations: 4 kB / 0.4911 GB, free: 8.492 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.1401, allocations: 47.98 kB / 0.4911 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.187e-05/0.1402, allocations: 23.91 kB / 0.4912 GB, free: 8.422 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.446e-05/0.1403, allocations: 59.59 kB / 0.4912 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002627/0.1406, allocations: 147.5 kB / 0.4914 GB, free: 8.219 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.1406, allocations: 0 / 0.4914 GB, free: 8.219 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.1406, allocations: 4 kB / 0.4914 GB, free: 8.215 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.1406, allocations: 0 / 0.4914 GB, free: 8.215 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.0008545/0.1415, allocations: 487.8 kB / 0.4918 GB, free: 7.688 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.1415, allocations: 11.89 kB / 0.4918 GB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.296e-05/0.1416, allocations: 16.75 kB / 0.4919 GB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000317/0.1419, allocations: 228 kB / 0.4921 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.1419, allocations: 8.375 kB / 0.4921 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.109e-05/0.142, allocations: 8.125 kB / 0.4921 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002369/0.1422, allocations: 116 kB / 0.4922 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.1422, allocations: 0 / 0.4922 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.1422, allocations: 0 / 0.4922 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.1423, allocations: 0 / 0.4922 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000146/0.1424, allocations: 59.89 kB / 0.4923 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005686/0.143, allocations: 0.5008 MB / 0.4928 GB, free: 6.641 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000318/0.1433, allocations: 86.67 kB / 0.4928 GB, free: 6.547 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.1435, allocations: 40.83 kB / 0.4929 GB, free: 6.504 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.1435, allocations: 0 / 0.4929 GB, free: 6.504 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001856/0.1437, allocations: 87.3 kB / 0.493 GB, free: 6.406 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.1437, allocations: 4 kB / 0.493 GB, free: 6.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003951/0.1441, allocations: 141.7 kB / 0.4931 GB, free: 6.258 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.1442, allocations: 59.34 kB / 0.4932 GB, free: 6.188 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.1443, allocations: 191.4 kB / 0.4933 GB, free: 5.988 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.1444, allocations: 25.7 kB / 0.4934 GB, free: 5.957 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.784e-05/0.1445, allocations: 120 kB / 0.4935 GB, free: 5.836 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/0.1445, allocations: 23.66 kB / 0.4935 GB, free: 5.812 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.75e-05/0.1445, allocations: 29.7 kB / 0.4935 GB, free: 5.777 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1447, allocations: 330.8 kB / 0.4938 GB, free: 5.445 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.807e-05/0.1448, allocations: 27.98 kB / 0.4939 GB, free: 5.418 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.1449, allocations: 64.2 kB / 0.4939 GB, free: 5.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/0.1451, allocations: 108.2 kB / 0.494 GB, free: 5.219 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1451, allocations: 0 / 0.494 GB, free: 5.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002577/0.1454, allocations: 129.4 kB / 0.4942 GB, free: 5.086 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.1454, allocations: 4 kB / 0.4942 GB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.1454, allocations: 4 kB / 0.4942 GB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.1454, allocations: 12.05 kB / 0.4942 GB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.1455, allocations: 23.94 kB / 0.4942 GB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.1456, allocations: 3.938 kB / 0.4942 GB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.701e-05/0.1456, allocations: 15.89 kB / 0.4942 GB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.1457, allocations: 8 kB / 0.4942 GB, free: 5.016 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.0001113/0.1458, allocations: 128.4 kB / 0.4943 GB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/0.1458, allocations: 15.8 kB / 0.4944 GB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.932e-05/0.1459, allocations: 13.41 kB / 0.4944 GB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1459, allocations: 7.938 kB / 0.4944 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1459, allocations: 4 kB / 0.4944 GB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1459, allocations: 0 / 0.4944 GB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/0.1461, allocations: 209.7 kB / 0.4946 GB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.1461, allocations: 0 / 0.4946 GB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.778e-05/0.1462, allocations: 23.86 kB / 0.4946 GB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1462, allocations: 0 / 0.4946 GB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.1462, allocations: 4 kB / 0.4946 GB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.1462, allocations: 3.938 kB / 0.4946 GB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1462, allocations: 0 / 0.4946 GB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003677/0.1466, allocations: 188.8 kB / 0.4948 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.587e-05/0.1466, allocations: 85.05 kB / 0.4949 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.1467, allocations: 4 kB / 0.4949 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.774e-05/0.1467, allocations: 7.922 kB / 0.4949 GB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.1468, allocations: 8 kB / 0.4949 GB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.1468, allocations: 4 kB / 0.4949 GB, free: 4.223 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001244/0.1469, allocations: 141.3 kB / 0.495 GB, free: 4.086 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1469, allocations: 4 kB / 0.495 GB, free: 4.082 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002348/0.1472, allocations: 28.12 kB / 0.4951 GB, free: 4.055 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.0009316/0.1481, allocations: 420.8 kB / 0.4955 GB, free: 3.676 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000244/0.1484, allocations: 79.84 kB / 0.4955 GB, free: 3.598 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1484, allocations: 0 / 0.4955 GB, free: 3.598 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.674e-05/0.1485, allocations: 32.23 kB / 0.4956 GB, free: 3.566 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.1488, allocations: 51.56 kB / 0.4956 GB, free: 3.516 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005309/0.1493, allocations: 259.8 kB / 0.4959 GB, free: 3.234 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.1496, allocations: 0.7123 MB / 0.4966 GB, free: 2.496 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.011e-05/0.1497, allocations: 17.42 kB / 0.4966 GB, free: 2.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.842e-05/0.1497, allocations: 23.44 kB / 0.4966 GB, free: 2.457 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.1497, allocations: 0 / 0.4966 GB, free: 2.457 MB / 382.1 MB Notification: Performance of Templates: time 0.004939/0.1547, allocations: 1.893 MB / 0.4985 GB, free: 0.5703 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches