Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 121.7 kB / 17.09 MB, free: 5.98 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.001271/0.001271, allocations: 193.2 kB / 18.01 MB, free: 5.059 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.534/1.534, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2205/0.2205, allocations: 43.52 MB / 314.8 MB, free: 456 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.002055/0.002055, allocations: 70.02 kB / 442.5 MB, free: 5.598 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1211, allocations: 57.79 MB / 0.4886 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003731/0.1249, allocations: 1.693 MB / 0.4903 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002316/0.1272, allocations: 1.41 MB / 0.4916 GB, free: 8.602 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.1274, allocations: 7.938 kB / 0.4916 GB, free: 8.594 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003314/0.1277, allocations: 43.77 kB / 0.4917 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002892/0.128, allocations: 59.75 kB / 0.4917 GB, free: 8.492 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003146/0.1284, allocations: 91.7 kB / 0.4918 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002264/0.1286, allocations: 103.7 kB / 0.4919 GB, free: 8.301 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.1287, allocations: 16.22 kB / 0.4919 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.1288, allocations: 47.77 kB / 0.492 GB, free: 8.238 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002102/0.1291, allocations: 39.83 kB / 0.492 GB, free: 8.199 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.1291, allocations: 8 kB / 0.492 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001681/0.1293, allocations: 55.98 kB / 0.4921 GB, free: 8.137 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.768e-05/0.1293, allocations: 19.92 kB / 0.4921 GB, free: 8.117 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.407e-05/0.1294, allocations: 47.66 kB / 0.4922 GB, free: 8.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002722/0.1297, allocations: 115.7 kB / 0.4923 GB, free: 7.957 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1297, allocations: 3.938 kB / 0.4923 GB, free: 7.953 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1297, allocations: 4 kB / 0.4923 GB, free: 7.949 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.1297, allocations: 4 kB / 0.4923 GB, free: 7.945 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005872/0.1303, allocations: 411 kB / 0.4927 GB, free: 7.496 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.1304, allocations: 11.89 kB / 0.4927 GB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.774e-05/0.1304, allocations: 12.84 kB / 0.4927 GB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003598/0.1308, allocations: 208.6 kB / 0.4929 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.1308, allocations: 15.92 kB / 0.4929 GB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.1309, allocations: 3.938 kB / 0.4929 GB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.1311, allocations: 75.39 kB / 0.493 GB, free: 7.125 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.1311, allocations: 3.984 kB / 0.493 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.1311, allocations: 0 / 0.493 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.1311, allocations: 0 / 0.493 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.256e-05/0.1312, allocations: 35.91 kB / 0.493 GB, free: 7.086 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004574/0.1317, allocations: 292.8 kB / 0.4933 GB, free: 6.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.1319, allocations: 70.62 kB / 0.4934 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.187e-05/0.1319, allocations: 24.84 kB / 0.4934 GB, free: 6.645 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.132, allocations: 4 kB / 0.4934 GB, free: 6.641 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001699/0.1322, allocations: 83.33 kB / 0.4935 GB, free: 6.547 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.763e-06/0.1322, allocations: 0 / 0.4935 GB, free: 6.547 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006004/0.1328, allocations: 197.2 kB / 0.4937 GB, free: 6.348 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/0.1328, allocations: 81.05 kB / 0.4937 GB, free: 6.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.133, allocations: 158.4 kB / 0.4939 GB, free: 6.082 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.133, allocations: 25.7 kB / 0.4939 GB, free: 6.051 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.895e-05/0.1331, allocations: 104.1 kB / 0.494 GB, free: 5.945 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.1331, allocations: 23.72 kB / 0.494 GB, free: 5.922 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-05/0.1332, allocations: 29.64 kB / 0.4941 GB, free: 5.887 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.1333, allocations: 326.8 kB / 0.4944 GB, free: 5.559 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.178e-05/0.1334, allocations: 20 kB / 0.4944 GB, free: 5.539 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.555e-05/0.1335, allocations: 50.55 kB / 0.4944 GB, free: 5.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.1336, allocations: 69.66 kB / 0.4945 GB, free: 5.406 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1336, allocations: 0 / 0.4945 GB, free: 5.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002119/0.1338, allocations: 109.5 kB / 0.4946 GB, free: 5.293 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.1338, allocations: 8.062 kB / 0.4946 GB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1339, allocations: 4 kB / 0.4946 GB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.1339, allocations: 3.938 kB / 0.4946 GB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.864e-05/0.134, allocations: 19.98 kB / 0.4947 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.134, allocations: 0 / 0.4947 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.892e-05/0.1341, allocations: 4 kB / 0.4947 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.1341, allocations: 4 kB / 0.4947 GB, free: 5.25 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 (11): * Single equations (assignments): 11 * 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.0001079/0.1342, allocations: 129.7 kB / 0.4948 GB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.1342, allocations: 7.906 kB / 0.4948 GB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.135e-05/0.1343, allocations: 32.59 kB / 0.4948 GB, free: 5.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.1343, allocations: 4 kB / 0.4948 GB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1343, allocations: 0 / 0.4948 GB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.1343, allocations: 3.984 kB / 0.4948 GB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005227/0.1348, allocations: 411.2 kB / 0.4952 GB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.1349, allocations: 4 kB / 0.4952 GB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.812e-05/0.1349, allocations: 8 kB / 0.4952 GB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1349, allocations: 0 / 0.4952 GB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.1349, allocations: 12.02 kB / 0.4952 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.1349, allocations: 0 / 0.4952 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1349, allocations: 96 / 0.4952 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002689/0.1352, allocations: 220.1 kB / 0.4955 GB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.4e-05/0.1353, allocations: 81.02 kB / 0.4955 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.1353, allocations: 4 kB / 0.4955 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.324e-05/0.1354, allocations: 11.98 kB / 0.4955 GB, free: 4.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.1355, allocations: 8 kB / 0.4956 GB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.1355, allocations: 3.984 kB / 0.4956 GB, free: 4.219 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.951e-05/0.1356, allocations: 123.9 kB / 0.4957 GB, free: 4.098 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1356, allocations: 0 / 0.4957 GB, free: 4.098 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002859/0.1359, allocations: 32 kB / 0.4957 GB, free: 4.066 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 (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.001172/0.1371, allocations: 0.5033 MB / 0.4962 GB, free: 3.605 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002677/0.1374, allocations: 67.86 kB / 0.4963 GB, free: 3.539 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1374, allocations: 0 / 0.4963 GB, free: 3.539 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.978e-05/0.1375, allocations: 36.05 kB / 0.4963 GB, free: 3.504 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.1378, allocations: 43.27 kB / 0.4963 GB, free: 3.465 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000457/0.1383, allocations: 228.5 kB / 0.4966 GB, free: 3.207 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.1386, allocations: 0.7041 MB / 0.4972 GB, free: 2.477 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.205e-05/0.1386, allocations: 19.5 kB / 0.4973 GB, free: 2.457 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1386, allocations: 0 / 0.4973 GB, free: 2.457 MB / 382.1 MB Notification: Performance of Templates: time 0.004401/0.143, allocations: 2.165 MB / 0.4994 GB, free: 300 kB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches