Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 110.5 kB / 17.86 MB, free: 5.504 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.001828/0.001828, allocations: 201.9 kB / 18.78 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 222.9 MB / 242.5 MB, free: 13.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2243/0.2243, allocations: 44.17 MB / 336.8 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 66.62 kB / 408.4 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1095, allocations: 60.83 MB / 469.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003142/0.1127, allocations: 1.706 MB / 470.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.1141, allocations: 0.8459 MB / 471.7 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.118e-05/0.1142, allocations: 3.938 kB / 471.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002975/0.1145, allocations: 59.86 kB / 471.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002102/0.1148, allocations: 59.81 kB / 471.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002915/0.1151, allocations: 90.28 kB / 472 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001718/0.1152, allocations: 95.67 kB / 472 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.969e-05/0.1153, allocations: 7.984 kB / 472.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.99e-05/0.1154, allocations: 39.78 kB / 472.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.792e-05/0.1155, allocations: 43.83 kB / 472.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.1155, allocations: 8 kB / 472.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.545e-05/0.1156, allocations: 35.92 kB / 472.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.535e-05/0.1157, allocations: 15.92 kB / 472.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.441e-05/0.1158, allocations: 27.81 kB / 472.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.1159, allocations: 76.05 kB / 472.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1159, allocations: 0 / 472.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1159, allocations: 4 kB / 472.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.116, allocations: 0 / 472.3 MB, free: 11.66 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005015/0.1165, allocations: 395.1 kB / 472.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.1165, allocations: 16.03 kB / 472.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.784e-05/0.1166, allocations: 12.83 kB / 472.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.1168, allocations: 200.1 kB / 472.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.1168, allocations: 4.375 kB / 472.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.1168, allocations: 4.125 kB / 472.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.117, allocations: 45.67 kB / 473 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.117, allocations: 0 / 473 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.117, allocations: 4 kB / 473 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.117, allocations: 0 / 473 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.598e-05/0.1171, allocations: 15.98 kB / 473 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000188/0.1173, allocations: 193.5 kB / 473.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.1175, allocations: 54.55 kB / 473.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.775e-05/0.1175, allocations: 20.8 kB / 473.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.1176, allocations: 0 / 473.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002079/0.1178, allocations: 71.39 kB / 473.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 3.306e-06/0.1178, allocations: 0 / 473.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002989/0.1181, allocations: 105.4 kB / 473.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.1181, allocations: 55.41 kB / 473.5 MB, free: 10.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.1183, allocations: 190.1 kB / 473.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.1184, allocations: 25.7 kB / 473.7 MB, free: 10.08 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.657e-05/0.1184, allocations: 100.1 kB / 473.8 MB, free: 9.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.1185, allocations: 15.81 kB / 473.8 MB, free: 9.965 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.881e-05/0.1185, allocations: 25.7 kB / 473.8 MB, free: 9.934 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.1186, allocations: 322.8 kB / 474.1 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.383e-05/0.1187, allocations: 12 kB / 474.1 MB, free: 9.598 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.941e-05/0.1187, allocations: 33.62 kB / 474.2 MB, free: 9.559 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.1188, allocations: 49.64 kB / 474.2 MB, free: 9.504 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1189, allocations: 0 / 474.2 MB, free: 9.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001657/0.119, allocations: 81.53 kB / 474.3 MB, free: 9.418 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.1191, allocations: 4 kB / 474.3 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1191, allocations: 0 / 474.3 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.1191, allocations: 4 kB / 474.3 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.167e-05/0.1192, allocations: 11.94 kB / 474.3 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.1192, allocations: 3.984 kB / 474.3 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.234e-05/0.1192, allocations: 8 kB / 474.3 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.1193, allocations: 0 / 474.3 MB, free: 9.387 MB / 350.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 (7): * Single equations (assignments): 7 * 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.000101/0.1194, allocations: 125.8 kB / 474.5 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.1194, allocations: 11.91 kB / 474.5 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.249e-05/0.1194, allocations: 16.3 kB / 474.5 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1195, allocations: 0 / 474.5 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1195, allocations: 0 / 474.5 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.1195, allocations: 0 / 474.5 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.1196, allocations: 193.5 kB / 474.7 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1196, allocations: 0 / 474.7 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.745e-05/0.1197, allocations: 7.984 kB / 474.7 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1197, allocations: 0 / 474.7 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.1197, allocations: 320 / 474.7 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1197, allocations: 4 kB / 474.7 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.1197, allocations: 4 kB / 474.7 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/0.1199, allocations: 116.9 kB / 474.8 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.151e-05/0.12, allocations: 84.95 kB / 474.9 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.12, allocations: 0 / 474.9 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.92e-05/0.12, allocations: 7.938 kB / 474.9 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.914e-05/0.1201, allocations: 3.984 kB / 474.9 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.1201, allocations: 8 kB / 474.9 MB, free: 8.715 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001134/0.1202, allocations: 139.2 kB / 475 MB, free: 8.578 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1202, allocations: 0 / 475 MB, free: 8.578 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002226/0.1204, allocations: 16 kB / 475.1 MB, free: 8.562 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009302/0.1214, allocations: 416.5 kB / 475.5 MB, free: 8.309 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001612/0.1216, allocations: 39.92 kB / 475.5 MB, free: 8.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1216, allocations: 0 / 475.5 MB, free: 8.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.354e-05/0.1216, allocations: 24.05 kB / 475.5 MB, free: 8.246 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.1219, allocations: 29.75 kB / 475.6 MB, free: 8.219 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004172/0.1223, allocations: 241.3 kB / 475.8 MB, free: 7.949 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.1226, allocations: 0.7043 MB / 476.5 MB, free: 7.219 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.637e-05/0.1227, allocations: 15.42 kB / 476.5 MB, free: 7.203 MB / 350.1 MB Notification: Performance of SimCode: time 1.963e-06/0.1227, allocations: 0 / 476.5 MB, free: 7.203 MB / 350.1 MB Notification: Performance of Templates: time 0.003485/0.1262, allocations: 1.676 MB / 478.2 MB, free: 5.527 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches