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.0015/0.001499, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001568/0.001568, allocations: 194 kB / 18.77 MB, free: 4.742 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.414/1.414, allocations: 222.9 MB / 242.4 MB, free: 15.5 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.2219/0.2219, allocations: 44.17 MB / 336.8 MB, free: 2.941 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 67.27 kB / 408.4 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1073, allocations: 60.83 MB / 469.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.002961/0.1103, allocations: 1.761 MB / 471 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.1116, allocations: 0.8614 MB / 471.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.529e-05/0.1117, allocations: 4 kB / 471.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002806/0.112, allocations: 55.8 kB / 471.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001751/0.1122, allocations: 55.81 kB / 471.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000268/0.1125, allocations: 83.84 kB / 472 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.1127, allocations: 95.69 kB / 472.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.253e-05/0.1128, allocations: 16.17 kB / 472.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.584e-05/0.1128, allocations: 51.77 kB / 472.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.127e-05/0.1129, allocations: 27.86 kB / 472.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.1129, allocations: 0 / 472.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.81e-05/0.1131, allocations: 43.97 kB / 472.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.963e-05/0.1131, allocations: 27.84 kB / 472.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.674e-05/0.1132, allocations: 43.69 kB / 472.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.1133, allocations: 96.03 kB / 472.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1134, allocations: 4 kB / 472.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.81e-07/0.1134, allocations: 0 / 472.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.1134, allocations: 0 / 472.4 MB, free: 11.62 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.0005222/0.1139, allocations: 438.8 kB / 472.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.1139, allocations: 8.031 kB / 472.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.781e-05/0.114, allocations: 16.75 kB / 472.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002303/0.1142, allocations: 212 kB / 473.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.1143, allocations: 384 / 473.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.1143, allocations: 12.12 kB / 473.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.1144, allocations: 57.61 kB / 473.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.1145, allocations: 0 / 473.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.1145, allocations: 4 kB / 473.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1145, allocations: 4 kB / 473.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.232e-05/0.1146, allocations: 19.92 kB / 473.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000347/0.1149, allocations: 296.9 kB / 473.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.1151, allocations: 62.61 kB / 473.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.155e-05/0.1152, allocations: 20.84 kB / 473.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.1152, allocations: 3.938 kB / 473.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001745/0.1154, allocations: 63.39 kB / 473.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.1154, allocations: 4 kB / 473.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005314/0.1159, allocations: 189 kB / 473.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.116, allocations: 59.39 kB / 473.8 MB, free: 9.992 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002269/0.1162, allocations: 262.9 kB / 474.1 MB, free: 9.723 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.1162, allocations: 25.7 kB / 474.1 MB, free: 9.691 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.415e-05/0.1163, allocations: 112.1 kB / 474.2 MB, free: 9.578 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/0.1163, allocations: 19.72 kB / 474.3 MB, free: 9.559 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/0.1164, allocations: 25.7 kB / 474.3 MB, free: 9.527 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.1165, allocations: 330.8 kB / 474.6 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.745e-05/0.1166, allocations: 27.92 kB / 474.6 MB, free: 9.168 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.449e-05/0.1166, allocations: 37.7 kB / 474.7 MB, free: 9.125 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.1168, allocations: 57.78 kB / 474.7 MB, free: 9.062 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1168, allocations: 0 / 474.7 MB, free: 9.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001829/0.117, allocations: 105.4 kB / 474.8 MB, free: 8.953 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.117, allocations: 4 kB / 474.8 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.117, allocations: 4.031 kB / 474.8 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.117, allocations: 4 kB / 474.8 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.495e-05/0.1171, allocations: 12.38 kB / 474.9 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.1171, allocations: 3.984 kB / 474.9 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.046e-05/0.1172, allocations: 11.94 kB / 474.9 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.1172, allocations: 4 kB / 474.9 MB, free: 8.91 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.68e-05/0.1173, allocations: 141.7 kB / 475 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.1173, allocations: 19.8 kB / 475 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.25e-05/0.1174, allocations: 25.39 kB / 475.1 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.1174, allocations: 0 / 475.1 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.1174, allocations: 0 / 475.1 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.1174, allocations: 3.938 kB / 475.1 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004096/0.1178, allocations: 395.3 kB / 475.4 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.1178, allocations: 7.984 kB / 475.5 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.175e-05/0.1179, allocations: 8 kB / 475.5 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1179, allocations: 4.188 kB / 475.5 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.1179, allocations: 7.969 kB / 475.5 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1179, allocations: 3.938 kB / 475.5 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.1179, allocations: 4 kB / 475.5 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.1181, allocations: 208.1 kB / 475.7 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.499e-05/0.1182, allocations: 96.91 kB / 475.8 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.1182, allocations: 3.938 kB / 475.8 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.231e-05/0.1183, allocations: 4 kB / 475.8 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.443e-05/0.1183, allocations: 11.98 kB / 475.8 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.1184, allocations: 4 kB / 475.8 MB, free: 7.875 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001534/0.1185, allocations: 196.2 kB / 476 MB, free: 7.684 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1185, allocations: 0 / 476 MB, free: 7.684 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002629/0.1188, allocations: 28 kB / 476 MB, free: 7.656 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.0009862/0.1198, allocations: 464.1 kB / 476.5 MB, free: 7.379 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000165/0.12, allocations: 55.92 kB / 476.5 MB, free: 7.324 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.12, allocations: 0 / 476.5 MB, free: 7.324 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.199e-05/0.1201, allocations: 36.06 kB / 476.6 MB, free: 7.289 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/0.1204, allocations: 27.98 kB / 476.6 MB, free: 7.262 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004857/0.1209, allocations: 339.3 kB / 476.9 MB, free: 6.891 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000259/0.1212, allocations: 0.72 MB / 477.6 MB, free: 6.145 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.33e-05/0.1212, allocations: 15.44 kB / 477.7 MB, free: 6.129 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1212, allocations: 0 / 477.7 MB, free: 6.129 MB / 350.1 MB Notification: Performance of Templates: time 0.003593/0.1248, allocations: 2.048 MB / 479.7 MB, free: 4.09 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 -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