Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 115 kB / 17.08 MB, free: 5.816 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.001257/0.001257, allocations: 193.3 kB / 18.01 MB, free: 4.965 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.5/1.5, allocations: 205.1 MB / 223.9 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.2178/0.2178, allocations: 43.53 MB / 314.8 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.001525/0.001525, allocations: 68.47 kB / 442.5 MB, free: 5.598 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1188, allocations: 57.8 MB / 0.4886 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003963/0.1228, allocations: 1.705 MB / 0.4903 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001666/0.1245, allocations: 0.8117 MB / 0.4911 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.319e-05/0.1246, allocations: 4 kB / 0.4911 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004179/0.125, allocations: 107.6 kB / 0.4912 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003322/0.1254, allocations: 91.64 kB / 0.4913 GB, free: 8.988 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003511/0.1257, allocations: 87.77 kB / 0.4913 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002168/0.126, allocations: 123.7 kB / 0.4915 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.1261, allocations: 19.95 kB / 0.4915 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.1262, allocations: 59.77 kB / 0.4915 GB, free: 8.703 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.1264, allocations: 67.73 kB / 0.4916 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.1264, allocations: 8 kB / 0.4916 GB, free: 8.629 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.1265, allocations: 43.98 kB / 0.4917 GB, free: 8.586 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.869e-05/0.1266, allocations: 35.84 kB / 0.4917 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001483/0.1268, allocations: 47.67 kB / 0.4917 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002424/0.127, allocations: 135.5 kB / 0.4919 GB, free: 8.371 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.127, allocations: 0 / 0.4919 GB, free: 8.371 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.582e-06/0.127, allocations: 0 / 0.4919 GB, free: 8.371 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.127, allocations: 0 / 0.4919 GB, free: 8.371 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007745/0.1278, allocations: 446.7 kB / 0.4923 GB, free: 7.887 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.1279, allocations: 15.89 kB / 0.4923 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.549e-05/0.128, allocations: 12.84 kB / 0.4923 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003388/0.1283, allocations: 227.8 kB / 0.4925 GB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.1283, allocations: 384 / 0.4925 GB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.983e-05/0.1284, allocations: 12.11 kB / 0.4925 GB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.1286, allocations: 65.67 kB / 0.4926 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.1286, allocations: 3.906 kB / 0.4926 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.1286, allocations: 0 / 0.4926 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1286, allocations: 3.938 kB / 0.4926 GB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.1287, allocations: 43.91 kB / 0.4927 GB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000422/0.1292, allocations: 312.7 kB / 0.493 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.1294, allocations: 74.77 kB / 0.493 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.177e-05/0.1294, allocations: 24.84 kB / 0.4931 GB, free: 7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/0.1295, allocations: 11.98 kB / 0.4931 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/0.1297, allocations: 75.38 kB / 0.4931 GB, free: 6.902 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.823e-06/0.1297, allocations: 3.938 kB / 0.4931 GB, free: 6.898 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007648/0.1304, allocations: 221 kB / 0.4934 GB, free: 6.676 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001457/0.1306, allocations: 55.41 kB / 0.4934 GB, free: 6.609 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002577/0.1309, allocations: 246.5 kB / 0.4936 GB, free: 6.352 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.1309, allocations: 33.7 kB / 0.4937 GB, free: 6.312 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.549e-05/0.131, allocations: 116.1 kB / 0.4938 GB, free: 6.195 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.941e-05/0.1311, allocations: 39.53 kB / 0.4938 GB, free: 6.156 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.239e-05/0.1311, allocations: 25.72 kB / 0.4938 GB, free: 6.125 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1313, allocations: 326.8 kB / 0.4942 GB, free: 5.797 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.535e-05/0.1313, allocations: 27.98 kB / 0.4942 GB, free: 5.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.304e-05/0.1314, allocations: 53.62 kB / 0.4942 GB, free: 5.711 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.1316, allocations: 81.66 kB / 0.4943 GB, free: 5.625 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1316, allocations: 0 / 0.4943 GB, free: 5.625 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002482/0.1319, allocations: 137.5 kB / 0.4944 GB, free: 5.484 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.1319, allocations: 4 kB / 0.4944 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1319, allocations: 0 / 0.4944 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.1319, allocations: 4 kB / 0.4944 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.132, allocations: 19.98 kB / 0.4945 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.132, allocations: 3.938 kB / 0.4945 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.565e-05/0.1321, allocations: 16.03 kB / 0.4945 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.1321, allocations: 7.984 kB / 0.4945 GB, free: 5.43 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 (13): * Single equations (assignments): 13 * 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.0001198/0.1323, allocations: 145.4 kB / 0.4946 GB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/0.1323, allocations: 11.81 kB / 0.4946 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.52e-05/0.1324, allocations: 21.41 kB / 0.4947 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.1324, allocations: 4 kB / 0.4947 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.1324, allocations: 3.938 kB / 0.4947 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.1324, allocations: 7.969 kB / 0.4947 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007304/0.1331, allocations: 447.2 kB / 0.4951 GB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.1331, allocations: 3.984 kB / 0.4951 GB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.99e-05/0.1332, allocations: 19.88 kB / 0.4951 GB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.1332, allocations: 4 kB / 0.4951 GB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.1332, allocations: 0 / 0.4951 GB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.1332, allocations: 0 / 0.4951 GB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.1332, allocations: 4 kB / 0.4951 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003896/0.1336, allocations: 236.3 kB / 0.4954 GB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.78e-05/0.1337, allocations: 96.8 kB / 0.4955 GB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.1337, allocations: 0 / 0.4955 GB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.634e-05/0.1338, allocations: 15.92 kB / 0.4955 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.377e-05/0.1339, allocations: 4 kB / 0.4955 GB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.8e-05/0.1339, allocations: 7.984 kB / 0.4955 GB, free: 4.312 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001556/0.1341, allocations: 188.2 kB / 0.4957 GB, free: 4.129 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1341, allocations: 0 / 0.4957 GB, free: 4.129 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002932/0.1344, allocations: 32 kB / 0.4957 GB, free: 4.098 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 (11): * Single equations (assignments): 9 * 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.001196/0.1356, allocations: 456 kB / 0.4961 GB, free: 3.691 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002422/0.1359, allocations: 87.84 kB / 0.4962 GB, free: 3.605 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1359, allocations: 0 / 0.4962 GB, free: 3.605 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.906e-05/0.136, allocations: 43.92 kB / 0.4963 GB, free: 3.562 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004128/0.1364, allocations: 39.2 kB / 0.4963 GB, free: 3.527 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005342/0.1369, allocations: 317.5 kB / 0.4966 GB, free: 3.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.1373, allocations: 0.728 MB / 0.4973 GB, free: 2.426 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.654e-05/0.1373, allocations: 19.38 kB / 0.4973 GB, free: 2.406 MB / 382.1 MB Notification: Performance of SimCode: time 5.06e-06/0.1374, allocations: 0 / 0.4973 GB, free: 2.406 MB / 382.1 MB Notification: Performance of Templates: time 0.004781/0.1422, allocations: 2.248 MB / 0.4995 GB, free: 168 kB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches