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.001347/0.001347, allocations: 110.6 kB / 17.09 MB, free: 5.984 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.001392/0.001392, allocations: 199.3 kB / 18.02 MB, free: 5.066 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.431/1.431, 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.2067/0.2067, allocations: 43.52 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.00151/0.001511, allocations: 77.44 kB / 442.6 MB, free: 5.582 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1075, allocations: 57.79 MB / 0.4886 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.00354/0.1111, allocations: 1.694 MB / 0.4903 GB, free: 10 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002326/0.1134, allocations: 1.404 MB / 0.4916 GB, free: 8.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.1136, allocations: 0 / 0.4916 GB, free: 8.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003743/0.114, allocations: 43.77 kB / 0.4917 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003391/0.1143, allocations: 59.75 kB / 0.4917 GB, free: 8.488 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003299/0.1147, allocations: 95.7 kB / 0.4918 GB, free: 8.395 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.1149, allocations: 103.7 kB / 0.4919 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.115, allocations: 24.2 kB / 0.492 GB, free: 8.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.1152, allocations: 39.8 kB / 0.492 GB, free: 8.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002079/0.1154, allocations: 39.83 kB / 0.492 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.542e-05/0.1154, allocations: 8 kB / 0.492 GB, free: 8.184 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001799/0.1156, allocations: 63.95 kB / 0.4921 GB, free: 8.121 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.912e-05/0.1157, allocations: 11.94 kB / 0.4921 GB, free: 8.109 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.981e-05/0.1158, allocations: 39.67 kB / 0.4922 GB, free: 8.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003131/0.1161, allocations: 123.7 kB / 0.4923 GB, free: 7.949 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1161, allocations: 3.938 kB / 0.4923 GB, free: 7.945 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1161, allocations: 0 / 0.4923 GB, free: 7.945 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.1161, allocations: 7.938 kB / 0.4923 GB, free: 7.938 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.0007115/0.1168, allocations: 419 kB / 0.4927 GB, free: 7.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/0.1169, allocations: 11.89 kB / 0.4927 GB, free: 7.469 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.838e-05/0.117, allocations: 8.844 kB / 0.4927 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003874/0.1174, allocations: 216.6 kB / 0.4929 GB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.1174, allocations: 7.938 kB / 0.4929 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.625e-05/0.1174, allocations: 0 / 0.4929 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/0.1177, allocations: 83.38 kB / 0.493 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.1177, allocations: 0 / 0.493 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.898e-05/0.1177, allocations: 0 / 0.493 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.1177, allocations: 3.984 kB / 0.493 GB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.1179, allocations: 31.92 kB / 0.493 GB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004951/0.1184, allocations: 296.7 kB / 0.4933 GB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/0.1186, allocations: 70.67 kB / 0.4934 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.494e-05/0.1187, allocations: 20.86 kB / 0.4934 GB, free: 6.633 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.377e-05/0.1187, allocations: 8 kB / 0.4934 GB, free: 6.625 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001893/0.1189, allocations: 75.28 kB / 0.4935 GB, free: 6.539 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.983e-06/0.1189, allocations: 0 / 0.4935 GB, free: 6.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006774/0.1196, allocations: 197.2 kB / 0.4937 GB, free: 6.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.737e-05/0.1197, allocations: 81.11 kB / 0.4937 GB, free: 6.242 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.1199, allocations: 154.4 kB / 0.4939 GB, free: 6.078 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.1199, allocations: 33.7 kB / 0.4939 GB, free: 6.039 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.803e-05/0.12, allocations: 96.14 kB / 0.494 GB, free: 5.941 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.883e-05/0.12, allocations: 31.61 kB / 0.494 GB, free: 5.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.809e-05/0.1201, allocations: 29.7 kB / 0.4941 GB, free: 5.875 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.1202, allocations: 318.8 kB / 0.4944 GB, free: 5.555 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.195e-05/0.1203, allocations: 31.98 kB / 0.4944 GB, free: 5.523 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.537e-05/0.1204, allocations: 46.56 kB / 0.4945 GB, free: 5.469 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.1206, allocations: 65.73 kB / 0.4945 GB, free: 5.398 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.1206, allocations: 7.938 kB / 0.4945 GB, free: 5.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002146/0.1208, allocations: 109.5 kB / 0.4946 GB, free: 5.277 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.993e-05/0.1208, allocations: 4.062 kB / 0.4946 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.1209, allocations: 4 kB / 0.4946 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.1209, allocations: 7.938 kB / 0.4946 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.121, allocations: 15.98 kB / 0.4947 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.121, allocations: 0 / 0.4947 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.167e-05/0.1211, allocations: 4 kB / 0.4947 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.1211, allocations: 4 kB / 0.4947 GB, free: 5.238 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.0001206/0.1212, allocations: 137.5 kB / 0.4948 GB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.115e-05/0.1213, allocations: 7.906 kB / 0.4948 GB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.173e-05/0.1213, allocations: 24.66 kB / 0.4948 GB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.1213, allocations: 7.922 kB / 0.4948 GB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1213, allocations: 0 / 0.4948 GB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.308e-05/0.1214, allocations: 85.02 kB / 0.4949 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.92e-05/0.1214, allocations: 4 kB / 0.4949 GB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.519e-05/0.1215, allocations: 4 kB / 0.4949 GB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.376e-05/0.1215, allocations: 7.984 kB / 0.4949 GB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002838/0.1218, allocations: 184.9 kB / 0.4951 GB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003462/0.1222, allocations: 290.5 kB / 0.4954 GB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.752e-05/0.1223, allocations: 40.19 kB / 0.4954 GB, free: 4.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001199/0.1224, allocations: 123.9 kB / 0.4955 GB, free: 4.289 MB / 382.1 MB Notification: Performance of Backend: time 3.6e-07/0.1224, allocations: 0 / 0.4955 GB, free: 4.289 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001684/0.1241, allocations: 0.5098 MB / 0.496 GB, free: 3.828 MB / 382.1 MB Notification: Performance of SimCode: time 0.0008235/0.1249, allocations: 0.6702 MB / 0.4967 GB, free: 3.113 MB / 382.1 MB Notification: Performance of Templates: time 0.005771/0.1307, allocations: 2.12 MB / 0.4988 GB, free: 1 MB / 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