Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,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.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,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.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001948/0.001948, allocations: 108.3 kB / 18.41 MB, free: 4.695 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.001953/0.001953, allocations: 191 kB / 19.34 MB, free: 3.766 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.369/1.369, allocations: 222.9 MB / 243 MB, free: 15.08 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.2167/0.2167, allocations: 44.17 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 64.69 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1022, allocations: 60.84 MB / 470.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003388/0.1056, allocations: 1.695 MB / 472.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001399/0.1071, allocations: 0.8808 MB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.452e-05/0.1071, allocations: 0 / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002179/0.1074, allocations: 59.67 kB / 473.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001693/0.1076, allocations: 59.77 kB / 473.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002476/0.1078, allocations: 107.6 kB / 473.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000127/0.1079, allocations: 91.75 kB / 473.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.009e-05/0.108, allocations: 12.22 kB / 473.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.993e-05/0.1081, allocations: 39.8 kB / 473.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.512e-05/0.1082, allocations: 27.84 kB / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.1082, allocations: 4 kB / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.04e-05/0.1083, allocations: 47.98 kB / 473.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.231e-05/0.1083, allocations: 31.84 kB / 473.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.95e-05/0.1084, allocations: 47.61 kB / 473.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.1085, allocations: 135.5 kB / 474 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.1086, allocations: 0 / 474 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1086, allocations: 0 / 474 MB, free: 10.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.1086, allocations: 0 / 474 MB, free: 10.38 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.0004607/0.109, allocations: 430.8 kB / 474.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.1091, allocations: 8.031 kB / 474.4 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.286e-05/0.1091, allocations: 20.75 kB / 474.4 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002986/0.1094, allocations: 212.6 kB / 474.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.1095, allocations: 8.375 kB / 474.6 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.1095, allocations: 8.062 kB / 474.6 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.1096, allocations: 53.67 kB / 474.7 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.1097, allocations: 0 / 474.7 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.1097, allocations: 8 kB / 474.7 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.715e-06/0.1097, allocations: 0 / 474.7 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.833e-05/0.1098, allocations: 15.98 kB / 474.7 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003777/0.1102, allocations: 304.8 kB / 475 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.1103, allocations: 58.61 kB / 475.1 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.11e-05/0.1104, allocations: 20.86 kB / 475.1 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.1104, allocations: 0 / 475.1 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/0.1106, allocations: 71.39 kB / 475.1 MB, free: 9.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.1106, allocations: 0 / 475.1 MB, free: 9.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005171/0.1111, allocations: 184.9 kB / 475.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.1112, allocations: 55.41 kB / 475.4 MB, free: 8.766 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.1114, allocations: 262.3 kB / 475.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.1114, allocations: 29.7 kB / 475.7 MB, free: 8.461 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.009e-05/0.1115, allocations: 112.1 kB / 475.8 MB, free: 8.348 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.1115, allocations: 27.7 kB / 475.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.473e-05/0.1116, allocations: 17.72 kB / 475.8 MB, free: 8.297 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1117, allocations: 334.8 kB / 476.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.254e-05/0.1117, allocations: 19.92 kB / 476.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.251e-05/0.1118, allocations: 37.7 kB / 476.2 MB, free: 7.898 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.1119, allocations: 61.69 kB / 476.3 MB, free: 7.832 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1119, allocations: 4 kB / 476.3 MB, free: 7.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001734/0.1121, allocations: 101.4 kB / 476.4 MB, free: 7.723 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.1121, allocations: 4 kB / 476.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.1122, allocations: 4 kB / 476.4 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.1122, allocations: 0 / 476.4 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.091e-05/0.1123, allocations: 15.98 kB / 476.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1123, allocations: 0 / 476.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.962e-05/0.1123, allocations: 11.94 kB / 476.4 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.1123, allocations: 4 kB / 476.4 MB, free: 7.684 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.498e-05/0.1124, allocations: 143.3 kB / 476.5 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.325e-05/0.1125, allocations: 15.81 kB / 476.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.151e-05/0.1125, allocations: 25.38 kB / 476.6 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.1125, allocations: 0 / 476.6 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1125, allocations: 0 / 476.6 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.1125, allocations: 7.938 kB / 476.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004431/0.113, allocations: 403.7 kB / 477 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.113, allocations: 4.031 kB / 477 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.836e-05/0.113, allocations: 12 kB / 477 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1131, allocations: 3.938 kB / 477 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.1131, allocations: 7.922 kB / 477 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.1131, allocations: 4 kB / 477 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1131, allocations: 0 / 477 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000231/0.1133, allocations: 204.4 kB / 477.2 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.565e-05/0.1134, allocations: 92.92 kB / 477.3 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.1134, allocations: 3.938 kB / 477.3 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.233e-05/0.1135, allocations: 4.188 kB / 477.3 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.56e-05/0.1135, allocations: 11.98 kB / 477.3 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.1136, allocations: 7.938 kB / 477.3 MB, free: 6.648 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001524/0.1137, allocations: 192.2 kB / 477.5 MB, free: 6.461 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1137, allocations: 4 kB / 477.5 MB, free: 6.457 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002495/0.114, allocations: 23.98 kB / 477.6 MB, free: 6.434 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.001024/0.115, allocations: 471.2 kB / 478 MB, free: 6.152 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001696/0.1152, allocations: 59.91 kB / 478.1 MB, free: 6.094 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1152, allocations: 0 / 478.1 MB, free: 6.094 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.085e-05/0.1153, allocations: 39.98 kB / 478.1 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.1156, allocations: 27.97 kB / 478.1 MB, free: 6.027 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004221/0.116, allocations: 275.7 kB / 478.4 MB, free: 5.727 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.1163, allocations: 0.7158 MB / 479.1 MB, free: 4.984 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.42e-05/0.1164, allocations: 17.25 kB / 479.1 MB, free: 4.965 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.318e-05/0.1164, allocations: 15.44 kB / 479.2 MB, free: 4.949 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1164, allocations: 0 / 479.2 MB, free: 4.949 MB / 350.1 MB Notification: Performance of Templates: time 0.004122/0.1205, allocations: 1.741 MB / 480.9 MB, free: 3.227 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches