Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 110.6 kB / 16.41 MB, free: 6.496 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.001361/0.001361, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.408/1.408, 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.2178/0.2178, 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.001497/0.001497, allocations: 71.91 kB / 441.9 MB, free: 5.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1254, allocations: 57.79 MB / 499.7 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003747/0.1292, allocations: 1.778 MB / 0.4897 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002643/0.1318, allocations: 1.492 MB / 0.4911 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001821/0.132, allocations: 0 / 0.4911 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004923/0.1326, allocations: 55.69 kB / 0.4912 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004629/0.1331, allocations: 87.55 kB / 0.4913 GB, free: 8.316 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004738/0.1336, allocations: 147.7 kB / 0.4914 GB, free: 8.172 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003292/0.1339, allocations: 171.5 kB / 0.4916 GB, free: 8.004 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.436e-05/0.134, allocations: 29.5 kB / 0.4916 GB, free: 7.977 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001885/0.1342, allocations: 79.58 kB / 0.4917 GB, free: 7.898 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002435/0.1344, allocations: 71.69 kB / 0.4917 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.276e-05/0.1345, allocations: 4 kB / 0.4918 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001795/0.1347, allocations: 63.97 kB / 0.4918 GB, free: 7.762 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.244e-05/0.1347, allocations: 31.84 kB / 0.4918 GB, free: 7.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.973e-05/0.1348, allocations: 63.59 kB / 0.4919 GB, free: 7.668 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003286/0.1352, allocations: 163.5 kB / 0.4921 GB, free: 7.508 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.1352, allocations: 4 kB / 0.4921 GB, free: 7.504 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1352, allocations: 0 / 0.4921 GB, free: 7.504 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.1352, allocations: 4 kB / 0.4921 GB, free: 7.5 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007838/0.136, allocations: 466.5 kB / 0.4925 GB, free: 6.996 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.1361, allocations: 11.89 kB / 0.4925 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.698e-05/0.1362, allocations: 20.73 kB / 0.4925 GB, free: 6.965 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004926/0.1367, allocations: 247.6 kB / 0.4928 GB, free: 6.684 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.1367, allocations: 384 / 0.4928 GB, free: 6.684 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.1367, allocations: 12.12 kB / 0.4928 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/0.137, allocations: 105 kB / 0.4929 GB, free: 6.551 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.137, allocations: 0 / 0.4929 GB, free: 6.551 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.137, allocations: 0 / 0.4929 GB, free: 6.551 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1371, allocations: 0 / 0.4929 GB, free: 6.551 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.1372, allocations: 27.98 kB / 0.4929 GB, free: 6.523 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003225/0.1375, allocations: 210.5 kB / 0.4931 GB, free: 6.266 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002704/0.1378, allocations: 109.2 kB / 0.4932 GB, free: 6.141 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.442e-05/0.1379, allocations: 41.64 kB / 0.4933 GB, free: 6.094 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.1379, allocations: 3.938 kB / 0.4933 GB, free: 6.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000222/0.1382, allocations: 116.9 kB / 0.4934 GB, free: 5.957 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.1382, allocations: 0 / 0.4934 GB, free: 5.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004773/0.1386, allocations: 169.4 kB / 0.4935 GB, free: 5.785 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.973e-05/0.1387, allocations: 136.5 kB / 0.4937 GB, free: 5.621 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/0.139, allocations: 215.8 kB / 0.4939 GB, free: 5.395 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.139, allocations: 29.7 kB / 0.4939 GB, free: 5.359 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.115e-05/0.1391, allocations: 108.1 kB / 0.494 GB, free: 5.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.829e-05/0.1391, allocations: 35.62 kB / 0.494 GB, free: 5.215 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-05/0.1392, allocations: 25.72 kB / 0.4941 GB, free: 5.184 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.1394, allocations: 330.8 kB / 0.4944 GB, free: 4.852 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.806e-05/0.1395, allocations: 31.98 kB / 0.4944 GB, free: 4.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.1396, allocations: 69.14 kB / 0.4945 GB, free: 4.734 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.1398, allocations: 91.34 kB / 0.4946 GB, free: 4.633 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.1398, allocations: 0 / 0.4946 GB, free: 4.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002715/0.1401, allocations: 141.3 kB / 0.4947 GB, free: 4.488 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.1401, allocations: 4 kB / 0.4947 GB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.1401, allocations: 0 / 0.4947 GB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.1401, allocations: 7.984 kB / 0.4947 GB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.1403, allocations: 19.98 kB / 0.4947 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.1403, allocations: 4.625 kB / 0.4947 GB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.025e-05/0.1404, allocations: 11.91 kB / 0.4947 GB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.1404, allocations: 4 kB / 0.4947 GB, free: 4.438 MB / 382.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.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001302/0.1405, allocations: 141.8 kB / 0.4949 GB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.649e-05/0.1406, allocations: 15.81 kB / 0.4949 GB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.426e-05/0.1406, allocations: 20.98 kB / 0.4949 GB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1406, allocations: 4 kB / 0.4949 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.964e-06/0.1406, allocations: 4 kB / 0.4949 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1406, allocations: 0 / 0.4949 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.1408, allocations: 217.5 kB / 0.4951 GB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.1409, allocations: 3.984 kB / 0.4951 GB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.125e-05/0.1409, allocations: 8 kB / 0.4951 GB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1409, allocations: 0 / 0.4951 GB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.1409, allocations: 0 / 0.4951 GB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.1409, allocations: 8 kB / 0.4952 GB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1409, allocations: 0 / 0.4952 GB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003/0.1412, allocations: 173.6 kB / 0.4953 GB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.86e-05/0.1413, allocations: 92.92 kB / 0.4954 GB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.1413, allocations: 4 kB / 0.4954 GB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.908e-05/0.1414, allocations: 7.984 kB / 0.4954 GB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.252e-05/0.1415, allocations: 16.03 kB / 0.4954 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.1415, allocations: 7.938 kB / 0.4954 GB, free: 3.625 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000155/0.1417, allocations: 161.5 kB / 0.4956 GB, free: 3.469 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1417, allocations: 0 / 0.4956 GB, free: 3.469 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002534/0.1419, allocations: 35.98 kB / 0.4956 GB, free: 3.434 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.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.001037/0.143, allocations: 459.5 kB / 0.4961 GB, free: 3.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000273/0.1433, allocations: 79.91 kB / 0.4961 GB, free: 2.941 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1433, allocations: 0 / 0.4961 GB, free: 2.941 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.1434, allocations: 43.91 kB / 0.4962 GB, free: 2.898 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.1438, allocations: 67.06 kB / 0.4962 GB, free: 2.836 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006221/0.1444, allocations: 264.5 kB / 0.4965 GB, free: 2.547 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.1448, allocations: 0.7124 MB / 0.4972 GB, free: 1.809 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001107/0.1449, allocations: 37.52 kB / 0.4972 GB, free: 1.773 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.308e-05/0.145, allocations: 31.36 kB / 0.4973 GB, free: 1.742 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.145, allocations: 0 / 0.4973 GB, free: 1.742 MB / 382.1 MB Notification: Performance of Templates: time 0.006712/0.1517, allocations: 2.643 MB / 0.4998 GB, free: 15.11 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches