Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,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.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,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.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 105.9 kB / 17.09 MB, free: 6.02 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.001643/0.001643, allocations: 199.3 kB / 18.02 MB, free: 5.094 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.329/1.329, allocations: 205.1 MB / 223.9 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.2116/0.2116, allocations: 43.52 MB / 314.8 MB, free: 468 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.00161/0.001611, allocations: 75.86 kB / 442.6 MB, free: 5.605 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1254, allocations: 57.79 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003447/0.1289, allocations: 1.698 MB / 0.4903 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001432/0.1303, allocations: 0.8015 MB / 0.4911 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.1304, allocations: 3.938 kB / 0.4911 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003282/0.1308, allocations: 39.83 kB / 0.4911 GB, free: 9.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002654/0.1311, allocations: 71.69 kB / 0.4912 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.1314, allocations: 91.69 kB / 0.4913 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000179/0.1316, allocations: 95.69 kB / 0.4913 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.1317, allocations: 16.22 kB / 0.4914 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.1318, allocations: 39.78 kB / 0.4914 GB, free: 8.871 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.325e-05/0.1319, allocations: 27.86 kB / 0.4914 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.568e-05/0.132, allocations: 11.98 kB / 0.4914 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.1321, allocations: 43.98 kB / 0.4915 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.863e-05/0.1321, allocations: 35.8 kB / 0.4915 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.41e-05/0.1322, allocations: 35.73 kB / 0.4915 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.1324, allocations: 131.5 kB / 0.4917 GB, free: 8.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1324, allocations: 0 / 0.4917 GB, free: 8.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1324, allocations: 0 / 0.4917 GB, free: 8.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.1325, allocations: 0 / 0.4917 GB, free: 8.59 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.000571/0.133, allocations: 442.1 kB / 0.4921 GB, free: 8.113 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.1331, allocations: 15.89 kB / 0.4921 GB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.645e-05/0.1331, allocations: 12.84 kB / 0.4921 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003311/0.1335, allocations: 219.7 kB / 0.4923 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.1335, allocations: 4.375 kB / 0.4923 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.1335, allocations: 4.125 kB / 0.4923 GB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.1337, allocations: 53.67 kB / 0.4924 GB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.1337, allocations: 3.906 kB / 0.4924 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.1337, allocations: 4 kB / 0.4924 GB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.1338, allocations: 3.984 kB / 0.4924 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.148e-05/0.1338, allocations: 19.98 kB / 0.4924 GB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004346/0.1343, allocations: 308.7 kB / 0.4927 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.1345, allocations: 54.69 kB / 0.4928 GB, free: 7.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.319e-05/0.1345, allocations: 20.84 kB / 0.4928 GB, free: 7.297 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.1346, allocations: 4 kB / 0.4928 GB, free: 7.293 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001487/0.1347, allocations: 67.39 kB / 0.4929 GB, free: 7.215 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 3.155e-06/0.1347, allocations: 3.938 kB / 0.4929 GB, free: 7.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005423/0.1353, allocations: 173.1 kB / 0.493 GB, free: 7.035 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.1353, allocations: 55.41 kB / 0.4931 GB, free: 6.969 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/0.1355, allocations: 266.5 kB / 0.4933 GB, free: 6.691 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.1356, allocations: 25.7 kB / 0.4934 GB, free: 6.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.749e-05/0.1356, allocations: 120 kB / 0.4935 GB, free: 6.539 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.1357, allocations: 19.75 kB / 0.4935 GB, free: 6.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.129e-05/0.1357, allocations: 25.7 kB / 0.4935 GB, free: 6.488 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.1358, allocations: 330.8 kB / 0.4938 GB, free: 6.156 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.572e-05/0.1359, allocations: 20.36 kB / 0.4938 GB, free: 6.137 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.785e-05/0.136, allocations: 41.64 kB / 0.4939 GB, free: 6.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.1361, allocations: 57.7 kB / 0.4939 GB, free: 6.027 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.1361, allocations: 4 kB / 0.4939 GB, free: 6.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001877/0.1363, allocations: 109.4 kB / 0.4941 GB, free: 5.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1363, allocations: 4 kB / 0.4941 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1363, allocations: 4 kB / 0.4941 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.1364, allocations: 0 / 0.4941 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.176e-05/0.1365, allocations: 19.92 kB / 0.4941 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1365, allocations: 0 / 0.4941 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.592e-05/0.1365, allocations: 4 kB / 0.4941 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.1365, allocations: 11.97 kB / 0.4941 GB, free: 5.867 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.0001069/0.1367, allocations: 141.6 kB / 0.4942 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/0.1367, allocations: 11.81 kB / 0.4942 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.831e-05/0.1367, allocations: 25.39 kB / 0.4943 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1367, allocations: 0 / 0.4943 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1368, allocations: 0 / 0.4943 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.574e-05/0.1368, allocations: 88.92 kB / 0.4943 GB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/0.1368, allocations: 3.938 kB / 0.4944 GB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.398e-05/0.1369, allocations: 11.98 kB / 0.4944 GB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.1369, allocations: 4 kB / 0.4944 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000206/0.1371, allocations: 180.9 kB / 0.4945 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002627/0.1374, allocations: 274.6 kB / 0.4948 GB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.65e-05/0.1375, allocations: 28.28 kB / 0.4948 GB, free: 5.062 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001616/0.1377, allocations: 196.5 kB / 0.495 GB, free: 4.871 MB / 382.1 MB Notification: Performance of Backend: time 3.7e-07/0.1377, allocations: 4 kB / 0.495 GB, free: 4.867 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001445/0.1391, allocations: 497.8 kB / 0.4955 GB, free: 4.422 MB / 382.1 MB Notification: Performance of SimCode: time 0.0007786/0.1399, allocations: 0.7143 MB / 0.4962 GB, free: 3.66 MB / 382.1 MB Notification: Performance of Templates: time 0.004634/0.1446, allocations: 1.813 MB / 0.498 GB, free: 1.852 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches