Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001031/0.001031, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.408/1.408, allocations: 222.9 MB / 242.9 MB, free: 15.15 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.2162/0.2162, allocations: 44.17 MB / 337.2 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 68.86 kB / 409.1 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1036, allocations: 60.82 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003166/0.1068, allocations: 1.688 MB / 471.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002437/0.1093, allocations: 1.499 MB / 473.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.853e-05/0.1094, allocations: 0 / 473.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003162/0.1097, allocations: 27.78 kB / 473.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002436/0.11, allocations: 59.75 kB / 473.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003014/0.1103, allocations: 111.6 kB / 473.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.1105, allocations: 95.7 kB / 473.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.35e-05/0.1106, allocations: 8.219 kB / 473.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.863e-05/0.1107, allocations: 43.8 kB / 473.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.1108, allocations: 47.34 kB / 473.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.1109, allocations: 4 kB / 473.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.111, allocations: 59.92 kB / 473.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.943e-05/0.1111, allocations: 19.92 kB / 473.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.691e-05/0.1111, allocations: 35.78 kB / 473.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.1113, allocations: 120 kB / 473.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.1114, allocations: 3.938 kB / 473.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1114, allocations: 0 / 473.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.1114, allocations: 0 / 473.7 MB, free: 10.53 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005269/0.1119, allocations: 399.2 kB / 474.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.1119, allocations: 8.031 kB / 474.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.778e-05/0.112, allocations: 12.84 kB / 474.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.1122, allocations: 207 kB / 474.4 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.1123, allocations: 8.312 kB / 474.4 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.1123, allocations: 8.125 kB / 474.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.1125, allocations: 67.39 kB / 474.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1125, allocations: 4 kB / 474.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.1125, allocations: 0 / 474.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1125, allocations: 4 kB / 474.4 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.115e-05/0.1126, allocations: 15.98 kB / 474.5 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003352/0.1129, allocations: 288.8 kB / 474.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.1131, allocations: 58.67 kB / 474.8 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.516e-05/0.1132, allocations: 20.86 kB / 474.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.1132, allocations: 7.922 kB / 474.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000203/0.1134, allocations: 71.33 kB / 474.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1134, allocations: 0 / 474.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005405/0.114, allocations: 169.2 kB / 475.1 MB, free: 9.035 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/0.114, allocations: 85.09 kB / 475.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.1142, allocations: 145.8 kB / 475.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.1142, allocations: 29.7 kB / 475.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.886e-05/0.1143, allocations: 96.12 kB / 475.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.1143, allocations: 19.72 kB / 475.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.792e-05/0.1143, allocations: 25.7 kB / 475.5 MB, free: 8.598 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1145, allocations: 322.8 kB / 475.8 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.632e-05/0.1145, allocations: 20 kB / 475.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.855e-05/0.1146, allocations: 46.56 kB / 475.8 MB, free: 8.199 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.1147, allocations: 65.62 kB / 475.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1147, allocations: 0 / 475.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001844/0.1149, allocations: 89.59 kB / 476 MB, free: 8.035 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.1149, allocations: 11.98 kB / 476 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.115, allocations: 0 / 476 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.115, allocations: 64 / 476 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.152e-05/0.1151, allocations: 28.3 kB / 476 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.1151, allocations: 0 / 476 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.054e-05/0.1151, allocations: 11.88 kB / 476 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.1152, allocations: 11.98 kB / 476 MB, free: 7.973 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 (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 9.611e-05/0.1153, allocations: 117.8 kB / 476.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.294e-05/0.1153, allocations: 7.906 kB / 476.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.884e-05/0.1153, allocations: 12.72 kB / 476.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1153, allocations: 192 / 476.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1154, allocations: 7.984 kB / 476.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1154, allocations: 7.875 kB / 476.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004241/0.1158, allocations: 387.3 kB / 476.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1158, allocations: 0 / 476.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.314e-05/0.1158, allocations: 8 kB / 476.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.1159, allocations: 0 / 476.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.1159, allocations: 15.86 kB / 476.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1159, allocations: 0 / 476.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1159, allocations: 4.266 kB / 476.6 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.1161, allocations: 208.1 kB / 476.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/0.1162, allocations: 85.02 kB / 476.9 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.947e-05/0.1162, allocations: 3.938 kB / 476.9 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.633e-05/0.1163, allocations: 11.98 kB / 476.9 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.1163, allocations: 4 kB / 476.9 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.1164, allocations: 8 kB / 476.9 MB, free: 6.992 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.67e-05/0.1165, allocations: 117.5 kB / 477 MB, free: 6.879 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1165, allocations: 0 / 477 MB, free: 6.879 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002757/0.1168, allocations: 31.98 kB / 477.1 MB, free: 6.848 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001112/0.1179, allocations: 0.4971 MB / 477.6 MB, free: 6.547 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001965/0.1181, allocations: 71.83 kB / 477.6 MB, free: 6.477 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1181, allocations: 0 / 477.6 MB, free: 6.477 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.25e-05/0.1182, allocations: 32.05 kB / 477.7 MB, free: 6.445 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.1185, allocations: 25.61 kB / 477.7 MB, free: 6.422 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004121/0.1189, allocations: 224.8 kB / 477.9 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.1192, allocations: 0.7012 MB / 478.6 MB, free: 5.438 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.413e-05/0.1192, allocations: 19.42 kB / 478.6 MB, free: 5.418 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1192, allocations: 0 / 478.6 MB, free: 5.418 MB / 350.1 MB Notification: Performance of Templates: time 0.003959/0.1232, allocations: 2.045 MB / 480.7 MB, free: 3.387 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches