Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.001851/0.001851, allocations: 187 kB / 19.34 MB, free: 3.641 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.387/1.387, 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.2075/0.2075, allocations: 44.18 MB / 337.4 MB, free: 2.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 68.47 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1072, allocations: 60.83 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003045/0.1103, allocations: 1.703 MB / 472.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.1117, allocations: 0.8769 MB / 473.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.596e-05/0.1118, allocations: 4 kB / 473.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003096/0.1121, allocations: 47.75 kB / 473.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002165/0.1124, allocations: 63.69 kB / 473.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000273/0.1126, allocations: 107.5 kB / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.1128, allocations: 103.7 kB / 473.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.1129, allocations: 12.23 kB / 473.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.835e-05/0.113, allocations: 39.78 kB / 473.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.664e-05/0.1131, allocations: 39.78 kB / 473.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.1131, allocations: 4 kB / 473.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.065e-05/0.1132, allocations: 39.98 kB / 473.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.045e-05/0.1133, allocations: 27.86 kB / 473.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.347e-05/0.1133, allocations: 35.69 kB / 473.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.1136, allocations: 139.5 kB / 473.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1136, allocations: 4 kB / 474 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1136, allocations: 0 / 474 MB, free: 10.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.1136, allocations: 0 / 474 MB, free: 10.42 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.0005525/0.1142, allocations: 434.7 kB / 474.4 MB, free: 9.949 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.1142, allocations: 12.03 kB / 474.4 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.306e-05/0.1142, allocations: 12.75 kB / 474.4 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002875/0.1145, allocations: 216.6 kB / 474.6 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.1146, allocations: 384 / 474.6 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.553e-05/0.1146, allocations: 12.11 kB / 474.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.1148, allocations: 57.67 kB / 474.7 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.1148, allocations: 3.984 kB / 474.7 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.1149, allocations: 0 / 474.7 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.1149, allocations: 0 / 474.7 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.697e-05/0.115, allocations: 23.92 kB / 474.7 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004246/0.1154, allocations: 292.9 kB / 475 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.1156, allocations: 62.67 kB / 475.1 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.546e-05/0.1157, allocations: 20.84 kB / 475.1 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.1157, allocations: 7.938 kB / 475.1 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001672/0.1159, allocations: 67.33 kB / 475.2 MB, free: 9.059 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.833e-06/0.1159, allocations: 0 / 475.2 MB, free: 9.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005756/0.1165, allocations: 185 kB / 475.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.1165, allocations: 55.39 kB / 475.4 MB, free: 8.805 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/0.1167, allocations: 258.3 kB / 475.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.1168, allocations: 33.69 kB / 475.7 MB, free: 8.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.829e-05/0.1168, allocations: 112.1 kB / 475.8 MB, free: 8.387 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.1169, allocations: 19.72 kB / 475.8 MB, free: 8.367 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.1169, allocations: 21.72 kB / 475.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.117, allocations: 334.8 kB / 476.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.306e-05/0.1171, allocations: 20 kB / 476.2 MB, free: 7.984 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.275e-05/0.1172, allocations: 37.64 kB / 476.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.1173, allocations: 69.62 kB / 476.3 MB, free: 7.867 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1173, allocations: 384 / 476.3 MB, free: 7.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001863/0.1175, allocations: 105.5 kB / 476.4 MB, free: 7.758 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.1175, allocations: 4 kB / 476.4 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.1175, allocations: 7.969 kB / 476.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.1175, allocations: 0 / 476.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.598e-05/0.1176, allocations: 20 kB / 476.4 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.1177, allocations: 0 / 476.4 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.885e-05/0.1177, allocations: 7.922 kB / 476.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.1177, allocations: 4 kB / 476.4 MB, free: 7.715 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 0.0001081/0.1178, allocations: 137.8 kB / 476.6 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.1179, allocations: 15.81 kB / 476.6 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.278e-05/0.1179, allocations: 13.41 kB / 476.6 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.1179, allocations: 8 kB / 476.6 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1179, allocations: 3.984 kB / 476.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.118, allocations: 3.938 kB / 476.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004341/0.1184, allocations: 399.3 kB / 477 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1184, allocations: 0 / 477 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.973e-05/0.1185, allocations: 15.92 kB / 477 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1185, allocations: 0 / 477 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.1185, allocations: 7.938 kB / 477 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.1185, allocations: 4.031 kB / 477 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1185, allocations: 3.938 kB / 477 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.1187, allocations: 208.4 kB / 477.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.87e-05/0.1188, allocations: 84.92 kB / 477.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.686e-05/0.1188, allocations: 11.92 kB / 477.3 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.163e-05/0.1189, allocations: 4 kB / 477.3 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.1189, allocations: 8 kB / 477.3 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.119, allocations: 7.984 kB / 477.3 MB, free: 6.691 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001734/0.1191, allocations: 200.2 kB / 477.5 MB, free: 6.496 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1192, allocations: 3.938 kB / 477.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002612/0.1194, allocations: 20 kB / 477.6 MB, free: 6.473 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.001124/0.1205, allocations: 458.2 kB / 478 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001995/0.1208, allocations: 67.91 kB / 478.1 MB, free: 6.133 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.1208, allocations: 0 / 478.1 MB, free: 6.133 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.984e-05/0.1208, allocations: 27.92 kB / 478.1 MB, free: 6.105 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.1212, allocations: 38.75 kB / 478.1 MB, free: 6.074 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005039/0.1217, allocations: 291.8 kB / 478.4 MB, free: 5.758 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.122, allocations: 0.7158 MB / 479.1 MB, free: 5.016 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.064e-05/0.1221, allocations: 17.17 kB / 479.2 MB, free: 4.996 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.564e-05/0.1221, allocations: 15.44 kB / 479.2 MB, free: 4.98 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1221, allocations: 0 / 479.2 MB, free: 4.98 MB / 350.1 MB Notification: Performance of Templates: time 0.004817/0.1269, allocations: 1.728 MB / 480.9 MB, free: 3.266 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches