Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001503/0.001504, allocations: 112.7 kB / 17.04 MB, free: 6.129 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.001601/0.0016, allocations: 196.1 kB / 17.98 MB, free: 5.227 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.734/1.734, allocations: 205.1 MB / 223.8 MB, free: 12.27 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.2236/0.2236, allocations: 43.52 MB / 314.7 MB, free: 488 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.002248/0.002249, allocations: 77.45 kB / 442.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1147, allocations: 57.79 MB / 0.4886 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003607/0.1184, allocations: 1.853 MB / 0.4904 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001584/0.12, allocations: 0.8974 MB / 0.4912 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.1201, allocations: 0 / 0.4912 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005068/0.1207, allocations: 231.4 kB / 0.4915 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003714/0.1211, allocations: 163.4 kB / 0.4916 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004264/0.1215, allocations: 143.7 kB / 0.4918 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003282/0.1219, allocations: 235.3 kB / 0.492 GB, free: 8.234 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.122, allocations: 25.53 kB / 0.492 GB, free: 8.211 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001989/0.1222, allocations: 115.6 kB / 0.4921 GB, free: 8.098 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002084/0.1224, allocations: 143.5 kB / 0.4922 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.983e-05/0.1224, allocations: 4 kB / 0.4922 GB, free: 7.953 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.1226, allocations: 51.97 kB / 0.4923 GB, free: 7.902 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.805e-05/0.1227, allocations: 51.78 kB / 0.4923 GB, free: 7.852 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.657e-05/0.1228, allocations: 87.36 kB / 0.4924 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00032/0.1231, allocations: 207.3 kB / 0.4926 GB, free: 7.562 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1231, allocations: 0 / 0.4926 GB, free: 7.562 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1231, allocations: 4 kB / 0.4926 GB, free: 7.559 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.1231, allocations: 0 / 0.4926 GB, free: 7.559 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007344/0.1239, allocations: 0.5402 MB / 0.4932 GB, free: 6.973 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.1239, allocations: 15.89 kB / 0.4932 GB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.468e-05/0.124, allocations: 24.66 kB / 0.4932 GB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003849/0.1244, allocations: 288 kB / 0.4935 GB, free: 6.613 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.1244, allocations: 384 / 0.4935 GB, free: 6.613 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.883e-05/0.1244, allocations: 12.12 kB / 0.4935 GB, free: 6.602 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002623/0.1247, allocations: 99.3 kB / 0.4936 GB, free: 6.492 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.1247, allocations: 0 / 0.4936 GB, free: 6.492 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.1248, allocations: 7.984 kB / 0.4936 GB, free: 6.484 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1248, allocations: 0 / 0.4936 GB, free: 6.484 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.1249, allocations: 35.97 kB / 0.4936 GB, free: 6.449 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005909/0.1255, allocations: 449 kB / 0.4941 GB, free: 5.957 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002806/0.1258, allocations: 117.3 kB / 0.4942 GB, free: 5.824 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001435/0.1259, allocations: 41.7 kB / 0.4942 GB, free: 5.777 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.126, allocations: 0 / 0.4942 GB, free: 5.777 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000208/0.1262, allocations: 117 kB / 0.4943 GB, free: 5.645 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.1262, allocations: 3.938 kB / 0.4943 GB, free: 5.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009381/0.1271, allocations: 371.8 kB / 0.4947 GB, free: 5.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/0.1272, allocations: 81.05 kB / 0.4947 GB, free: 5.172 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004087/0.1276, allocations: 428.5 kB / 0.4952 GB, free: 4.742 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.1277, allocations: 33.7 kB / 0.4952 GB, free: 4.703 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.1278, allocations: 164.1 kB / 0.4953 GB, free: 4.539 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.368e-05/0.1278, allocations: 43.36 kB / 0.4954 GB, free: 4.496 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.095e-05/0.1279, allocations: 33.72 kB / 0.4954 GB, free: 4.457 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.128, allocations: 350.8 kB / 0.4958 GB, free: 4.105 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.1281, allocations: 35.98 kB / 0.4958 GB, free: 4.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.1283, allocations: 72.16 kB / 0.4959 GB, free: 3.988 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002078/0.1285, allocations: 123.3 kB / 0.496 GB, free: 3.855 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1285, allocations: 0 / 0.496 GB, free: 3.855 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003267/0.1288, allocations: 181.5 kB / 0.4961 GB, free: 3.672 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.1288, allocations: 4 kB / 0.4962 GB, free: 3.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1288, allocations: 0 / 0.4962 GB, free: 3.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.1289, allocations: 4 kB / 0.4962 GB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.129, allocations: 39.91 kB / 0.4962 GB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.129, allocations: 7.938 kB / 0.4962 GB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.677e-05/0.1291, allocations: 12.06 kB / 0.4962 GB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.1291, allocations: 4 kB / 0.4962 GB, free: 3.602 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001322/0.1293, allocations: 169.7 kB / 0.4964 GB, free: 3.426 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.783e-05/0.1293, allocations: 31.62 kB / 0.4964 GB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.461e-05/0.1294, allocations: 34.62 kB / 0.4964 GB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1294, allocations: 0 / 0.4964 GB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1294, allocations: 3.938 kB / 0.4964 GB, free: 3.352 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1294, allocations: 3.984 kB / 0.4965 GB, free: 3.348 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006843/0.1301, allocations: 0.6203 MB / 0.4971 GB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1301, allocations: 7.938 kB / 0.4971 GB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.531e-05/0.1302, allocations: 23.92 kB / 0.4971 GB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.1302, allocations: 0 / 0.4971 GB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.1302, allocations: 8 kB / 0.4971 GB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1302, allocations: 0 / 0.4971 GB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1302, allocations: 4 kB / 0.4971 GB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004162/0.1306, allocations: 372 kB / 0.4975 GB, free: 2.234 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.47e-05/0.1307, allocations: 96.81 kB / 0.4975 GB, free: 2.121 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.45e-05/0.1307, allocations: 4 kB / 0.4975 GB, free: 2.117 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.1309, allocations: 8 kB / 0.4976 GB, free: 2.109 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/0.1309, allocations: 15.98 kB / 0.4976 GB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-05/0.131, allocations: 11.98 kB / 0.4976 GB, free: 2.082 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002868/0.1313, allocations: 319 kB / 0.4979 GB, free: 1.773 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1313, allocations: 0 / 0.4979 GB, free: 1.773 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003264/0.1316, allocations: 39.98 kB / 0.4979 GB, free: 1.734 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.001027/0.1326, allocations: 471.8 kB / 0.4984 GB, free: 1.312 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002764/0.1329, allocations: 119.8 kB / 0.4985 GB, free: 1.195 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1329, allocations: 4 kB / 0.4985 GB, free: 1.191 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.1331, allocations: 56.38 kB / 0.4985 GB, free: 1.137 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005161/0.1336, allocations: 73.33 kB / 0.4986 GB, free: 1.066 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007514/0.1343, allocations: 0.5232 MB / 0.4991 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.1347, allocations: 0.7632 MB / 0.4999 GB, free: 15.71 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.382e-05/0.1348, allocations: 23.44 kB / 0.4999 GB, free: 15.68 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1348, allocations: 0 / 0.4999 GB, free: 15.68 MB / 398.1 MB Notification: Performance of Templates: time 0.005055/0.1398, allocations: 3.252 MB / 0.5031 GB, free: 12.43 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,t_new_2.y[1],d_t_new_2.y Variables in the result:d_t_new.y,d_t_new_2.y,t_new.y[1],t_new_2.y[1],time