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.001298/0.001297, allocations: 115.9 kB / 17.08 MB, free: 6.012 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.001226/0.001226, allocations: 195 kB / 18.01 MB, free: 5.098 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.412/1.412, 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.1877/0.1877, 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.001539/0.001539, allocations: 67.89 kB / 442.5 MB, free: 5.602 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09705/0.0986, allocations: 57.79 MB / 0.4886 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003251/0.1019, allocations: 1.849 MB / 0.4904 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001491/0.1034, allocations: 0.9013 MB / 0.4913 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.1036, allocations: 7.938 kB / 0.4913 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004651/0.1041, allocations: 215.4 kB / 0.4915 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003578/0.1044, allocations: 167.5 kB / 0.4917 GB, free: 8.586 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004159/0.1049, allocations: 151.6 kB / 0.4918 GB, free: 8.438 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003302/0.1052, allocations: 231.3 kB / 0.492 GB, free: 8.211 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.1053, allocations: 25.52 kB / 0.4921 GB, free: 8.188 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002045/0.1055, allocations: 111.6 kB / 0.4922 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002112/0.1058, allocations: 147.5 kB / 0.4923 GB, free: 7.934 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.04e-05/0.1058, allocations: 12 kB / 0.4923 GB, free: 7.922 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.1059, allocations: 47.97 kB / 0.4924 GB, free: 7.875 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.842e-05/0.106, allocations: 51.78 kB / 0.4924 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.275e-05/0.1061, allocations: 87.34 kB / 0.4925 GB, free: 7.738 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002867/0.1064, allocations: 207.3 kB / 0.4927 GB, free: 7.535 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1064, allocations: 0 / 0.4927 GB, free: 7.535 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1064, allocations: 0 / 0.4927 GB, free: 7.535 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.824e-06/0.1064, allocations: 0 / 0.4927 GB, free: 7.535 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.0007009/0.1071, allocations: 0.5408 MB / 0.4932 GB, free: 6.945 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.1072, allocations: 15.89 kB / 0.4932 GB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.556e-05/0.1073, allocations: 24.66 kB / 0.4933 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003659/0.1076, allocations: 284 kB / 0.4935 GB, free: 6.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.1076, allocations: 4.375 kB / 0.4935 GB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.987e-05/0.1077, allocations: 12.12 kB / 0.4935 GB, free: 6.574 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002352/0.1079, allocations: 95.3 kB / 0.4936 GB, free: 6.469 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.1079, allocations: 0 / 0.4936 GB, free: 6.469 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.108, allocations: 4 kB / 0.4936 GB, free: 6.465 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.108, allocations: 4 kB / 0.4936 GB, free: 6.461 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.1081, allocations: 35.97 kB / 0.4937 GB, free: 6.426 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005059/0.1086, allocations: 448.9 kB / 0.4941 GB, free: 5.934 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002682/0.1089, allocations: 113.4 kB / 0.4942 GB, free: 5.805 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.576e-05/0.109, allocations: 45.62 kB / 0.4943 GB, free: 5.754 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.109, allocations: 4 kB / 0.4943 GB, free: 5.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002038/0.1092, allocations: 117 kB / 0.4944 GB, free: 5.617 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.593e-06/0.1093, allocations: 0 / 0.4944 GB, free: 5.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.000864/0.1101, allocations: 368.4 kB / 0.4947 GB, free: 5.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.1102, allocations: 89.03 kB / 0.4948 GB, free: 5.145 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003802/0.1106, allocations: 420.5 kB / 0.4952 GB, free: 4.723 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.1106, allocations: 37.64 kB / 0.4952 GB, free: 4.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.426e-05/0.1107, allocations: 160.2 kB / 0.4954 GB, free: 4.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.674e-05/0.1108, allocations: 51.34 kB / 0.4954 GB, free: 4.469 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.862e-05/0.1108, allocations: 29.72 kB / 0.4955 GB, free: 4.434 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.1109, allocations: 346.8 kB / 0.4958 GB, free: 4.086 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.839e-05/0.111, allocations: 39.98 kB / 0.4958 GB, free: 4.047 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.1111, allocations: 78.91 kB / 0.4959 GB, free: 3.961 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000209/0.1114, allocations: 119.4 kB / 0.496 GB, free: 3.832 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.1114, allocations: 4 kB / 0.496 GB, free: 3.828 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003126/0.1117, allocations: 181.5 kB / 0.4962 GB, free: 3.645 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.1117, allocations: 4 kB / 0.4962 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1117, allocations: 0 / 0.4962 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.1117, allocations: 8.062 kB / 0.4962 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.1119, allocations: 27.98 kB / 0.4962 GB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.1119, allocations: 15.94 kB / 0.4963 GB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.137e-05/0.112, allocations: 11.98 kB / 0.4963 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.112, allocations: 7.984 kB / 0.4963 GB, free: 3.57 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.0001334/0.1122, allocations: 165.8 kB / 0.4964 GB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.02e-05/0.1122, allocations: 27.62 kB / 0.4965 GB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.407e-05/0.1123, allocations: 34.62 kB / 0.4965 GB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.1123, allocations: 0 / 0.4965 GB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.1123, allocations: 7.938 kB / 0.4965 GB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1123, allocations: 4 kB / 0.4965 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000667/0.113, allocations: 0.6241 MB / 0.4971 GB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.113, allocations: 0 / 0.4971 GB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.714e-05/0.113, allocations: 23.92 kB / 0.4971 GB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.1131, allocations: 0 / 0.4971 GB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.1131, allocations: 12.06 kB / 0.4972 GB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1131, allocations: 0 / 0.4972 GB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1131, allocations: 4 kB / 0.4972 GB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000361/0.1135, allocations: 364 kB / 0.4975 GB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.118e-05/0.1135, allocations: 100.8 kB / 0.4976 GB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.651e-05/0.1136, allocations: 11.98 kB / 0.4976 GB, free: 2.086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.1137, allocations: 4 kB / 0.4976 GB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.836e-05/0.1138, allocations: 15.98 kB / 0.4976 GB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.885e-05/0.1138, allocations: 8 kB / 0.4976 GB, free: 2.059 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000264/0.1141, allocations: 319 kB / 0.4979 GB, free: 1.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1141, allocations: 0 / 0.4979 GB, free: 1.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003357/0.1144, allocations: 36 kB / 0.498 GB, free: 1.715 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.001002/0.1154, allocations: 474.9 kB / 0.4984 GB, free: 1.289 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002751/0.1157, allocations: 127.7 kB / 0.4986 GB, free: 1.164 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/0.1157, allocations: 4.125 kB / 0.4986 GB, free: 1.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.1159, allocations: 55.92 kB / 0.4986 GB, free: 1.105 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005352/0.1164, allocations: 69.39 kB / 0.4987 GB, free: 1.039 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007183/0.1171, allocations: 0.5154 MB / 0.4992 GB, free: 488 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.1174, allocations: 0.7634 MB / 0.4999 GB, free: 15.69 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.179e-05/0.1175, allocations: 31.42 kB / 0.5 GB, free: 15.66 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1175, allocations: 0 / 0.5 GB, free: 15.66 MB / 398.1 MB Notification: Performance of Templates: time 0.0054/0.1229, allocations: 3.272 MB / 0.5032 GB, free: 12.38 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