Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 105.7 kB / 16.41 MB, free: 6.438 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.001383/0.001384, allocations: 189.2 kB / 17.34 MB, free: 5.746 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.502/1.502, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2137/0.2137, allocations: 43.52 MB / 314.1 MB, free: 460 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.001706/0.001706, allocations: 73.45 kB / 441.9 MB, free: 5.602 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1294, allocations: 57.79 MB / 499.7 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003746/0.1332, allocations: 1.685 MB / 0.4896 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001737/0.135, allocations: 0.8078 MB / 0.4904 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/0.1351, allocations: 0 / 0.4904 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004272/0.1356, allocations: 83.7 kB / 0.4905 GB, free: 9.141 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003792/0.136, allocations: 67.73 kB / 0.4905 GB, free: 9.074 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003504/0.1363, allocations: 95.62 kB / 0.4906 GB, free: 8.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002748/0.1366, allocations: 115.7 kB / 0.4907 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.1368, allocations: 16.2 kB / 0.4907 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001697/0.137, allocations: 51.78 kB / 0.4908 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.1371, allocations: 55.81 kB / 0.4908 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.1372, allocations: 4 kB / 0.4909 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.1373, allocations: 43.97 kB / 0.4909 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.771e-05/0.1374, allocations: 23.92 kB / 0.4909 GB, free: 8.676 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001522/0.1375, allocations: 39.73 kB / 0.491 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002758/0.1378, allocations: 123.6 kB / 0.4911 GB, free: 8.516 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1378, allocations: 0 / 0.4911 GB, free: 8.516 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1378, allocations: 0 / 0.4911 GB, free: 8.516 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.1379, allocations: 4 kB / 0.4911 GB, free: 8.512 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008089/0.1387, allocations: 414.9 kB / 0.4915 GB, free: 8.059 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.1387, allocations: 15.89 kB / 0.4915 GB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.174e-05/0.1388, allocations: 12.75 kB / 0.4915 GB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004122/0.1392, allocations: 212.6 kB / 0.4917 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.1393, allocations: 4.375 kB / 0.4917 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.625e-05/0.1393, allocations: 8.125 kB / 0.4917 GB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.1395, allocations: 61.55 kB / 0.4918 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.1395, allocations: 0 / 0.4918 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.1395, allocations: 0 / 0.4918 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.1395, allocations: 0 / 0.4918 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.826e-05/0.1396, allocations: 23.98 kB / 0.4918 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004474/0.1401, allocations: 296.7 kB / 0.4921 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.1403, allocations: 62.62 kB / 0.4921 GB, free: 7.273 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.605e-05/0.1404, allocations: 20.84 kB / 0.4922 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.1404, allocations: 0 / 0.4922 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001712/0.1406, allocations: 67.39 kB / 0.4922 GB, free: 7.172 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.753e-06/0.1406, allocations: 0 / 0.4922 GB, free: 7.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007763/0.1414, allocations: 177.2 kB / 0.4924 GB, free: 6.992 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/0.1414, allocations: 51.41 kB / 0.4924 GB, free: 6.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00025/0.1417, allocations: 211.1 kB / 0.4926 GB, free: 6.715 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.1417, allocations: 33.7 kB / 0.4927 GB, free: 6.676 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.153e-05/0.1418, allocations: 104.1 kB / 0.4928 GB, free: 6.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.904e-05/0.1419, allocations: 27.64 kB / 0.4928 GB, free: 6.543 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.392e-05/0.1419, allocations: 25.72 kB / 0.4928 GB, free: 6.512 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.1421, allocations: 330.8 kB / 0.4931 GB, free: 6.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.73e-05/0.1422, allocations: 19.98 kB / 0.4932 GB, free: 6.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.437e-05/0.1423, allocations: 45.58 kB / 0.4932 GB, free: 6.109 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.1424, allocations: 53.7 kB / 0.4933 GB, free: 6.051 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.1424, allocations: 0 / 0.4933 GB, free: 6.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002225/0.1426, allocations: 105.4 kB / 0.4934 GB, free: 5.941 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.1427, allocations: 8.031 kB / 0.4934 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.1427, allocations: 0 / 0.4934 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.1427, allocations: 4 kB / 0.4934 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.1428, allocations: 15.98 kB / 0.4934 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.1428, allocations: 0 / 0.4934 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.743e-05/0.1429, allocations: 7.938 kB / 0.4934 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.1429, allocations: 384 / 0.4934 GB, free: 5.906 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001954/0.1431, allocations: 141.5 kB / 0.4935 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.266e-05/0.1431, allocations: 11.91 kB / 0.4935 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.236e-05/0.1432, allocations: 21.39 kB / 0.4936 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1432, allocations: 0 / 0.4936 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-05/0.1432, allocations: 8 kB / 0.4936 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.1433, allocations: 7.875 kB / 0.4936 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005133/0.1438, allocations: 395.2 kB / 0.4939 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1438, allocations: 0 / 0.4939 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.746e-05/0.1438, allocations: 8 kB / 0.494 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.1438, allocations: 0 / 0.494 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.1439, allocations: 15.95 kB / 0.494 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.1439, allocations: 4 kB / 0.494 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1439, allocations: 0 / 0.494 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.1441, allocations: 200.2 kB / 0.4942 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.159e-05/0.1442, allocations: 88.92 kB / 0.4942 GB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.1442, allocations: 7.938 kB / 0.4943 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.1444, allocations: 11.97 kB / 0.4943 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.1444, allocations: 8 kB / 0.4943 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.1445, allocations: 0 / 0.4943 GB, free: 4.887 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001459/0.1446, allocations: 163.2 kB / 0.4944 GB, free: 4.727 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1446, allocations: 0 / 0.4944 GB, free: 4.727 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00031/0.1449, allocations: 27.98 kB / 0.4945 GB, free: 4.699 MB / 382.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001206/0.1461, allocations: 467.2 kB / 0.4949 GB, free: 4.285 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002278/0.1464, allocations: 63.89 kB / 0.495 GB, free: 4.223 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1464, allocations: 0 / 0.495 GB, free: 4.223 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.157e-05/0.1465, allocations: 24 kB / 0.495 GB, free: 4.199 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/0.1469, allocations: 43.14 kB / 0.495 GB, free: 4.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005788/0.1475, allocations: 239.1 kB / 0.4953 GB, free: 3.898 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/0.1479, allocations: 0.7041 MB / 0.4959 GB, free: 3.168 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.716e-05/0.148, allocations: 12.88 kB / 0.496 GB, free: 3.152 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.346e-05/0.148, allocations: 15.44 kB / 0.496 GB, free: 3.137 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.148, allocations: 4 kB / 0.496 GB, free: 3.133 MB / 382.1 MB Notification: Performance of Templates: time 0.005602/0.1536, allocations: 1.706 MB / 0.4976 GB, free: 1.434 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches