Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001055/0.001055, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.378/1.378, allocations: 222.9 MB / 242.9 MB, free: 15.21 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.2226/0.2226, allocations: 44.18 MB / 337.3 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001249, allocations: 67.05 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1016, allocations: 60.83 MB / 469.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002941/0.1046, allocations: 1.695 MB / 471.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001968/0.1066, allocations: 1.487 MB / 473.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.997e-05/0.1067, allocations: 4 kB / 473.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002631/0.1069, allocations: 27.78 kB / 473.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002157/0.1072, allocations: 59.69 kB / 473.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.1075, allocations: 115.2 kB / 473.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.1077, allocations: 107.7 kB / 473.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.41e-05/0.1078, allocations: 12.17 kB / 473.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.751e-05/0.1078, allocations: 43.78 kB / 473.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.108, allocations: 43.83 kB / 473.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.108, allocations: 4 kB / 473.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.1081, allocations: 59.97 kB / 473.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.157e-05/0.1082, allocations: 23.92 kB / 473.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.234e-05/0.1083, allocations: 35.8 kB / 473.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.1085, allocations: 127.9 kB / 473.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1085, allocations: 0 / 473.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1085, allocations: 3.938 kB / 473.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.1085, allocations: 0 / 473.8 MB, free: 10.51 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004901/0.109, allocations: 423 kB / 474.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.109, allocations: 11.97 kB / 474.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.753e-05/0.1091, allocations: 8.844 kB / 474.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.1093, allocations: 208.7 kB / 474.4 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.1093, allocations: 7.938 kB / 474.4 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.1093, allocations: 3.984 kB / 474.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.1095, allocations: 83.31 kB / 474.5 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.1095, allocations: 0 / 474.5 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.1096, allocations: 0 / 474.5 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1096, allocations: 4 kB / 474.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.056e-05/0.1097, allocations: 27.98 kB / 474.5 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003337/0.11, allocations: 304.7 kB / 474.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.1102, allocations: 70.61 kB / 474.9 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.964e-05/0.1103, allocations: 24.84 kB / 474.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.1103, allocations: 4 kB / 474.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002046/0.1105, allocations: 71.39 kB / 475 MB, free: 9.113 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.1105, allocations: 0 / 475 MB, free: 9.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005602/0.1111, allocations: 193.2 kB / 475.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/0.1112, allocations: 85.05 kB / 475.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.1113, allocations: 157.6 kB / 475.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.1113, allocations: 29.7 kB / 475.5 MB, free: 8.617 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.45e-05/0.1114, allocations: 96.08 kB / 475.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.1114, allocations: 35.7 kB / 475.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.051e-05/0.1115, allocations: 29.66 kB / 475.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.341e-05/0.1116, allocations: 318.8 kB / 475.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.14e-05/0.1116, allocations: 27.98 kB / 475.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.569e-05/0.1117, allocations: 46.56 kB / 476 MB, free: 8.047 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.1118, allocations: 69.73 kB / 476.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1119, allocations: 0 / 476.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002027/0.1121, allocations: 121.5 kB / 476.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.1121, allocations: 4 kB / 476.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1121, allocations: 0 / 476.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.1121, allocations: 7.938 kB / 476.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.111e-05/0.1122, allocations: 15.98 kB / 476.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.1122, allocations: 4 kB / 476.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.408e-05/0.1123, allocations: 0 / 476.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.1123, allocations: 8 kB / 476.2 MB, free: 7.809 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 (11): * Single equations (assignments): 11 * 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 8.364e-05/0.1124, allocations: 121.9 kB / 476.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.786e-05/0.1124, allocations: 15.8 kB / 476.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.337e-05/0.1125, allocations: 16.66 kB / 476.4 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.1125, allocations: 0 / 476.4 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1125, allocations: 4 kB / 476.4 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1125, allocations: 3.938 kB / 476.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004418/0.1129, allocations: 411.3 kB / 476.8 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.113, allocations: 0 / 476.8 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.368e-05/0.113, allocations: 19.94 kB / 476.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.113, allocations: 0 / 476.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-06/0.113, allocations: 0 / 476.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.113, allocations: 4 kB / 476.8 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.113, allocations: 0 / 476.8 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002364/0.1133, allocations: 224.1 kB / 477 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.663e-05/0.1133, allocations: 81.02 kB / 477.1 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/0.1134, allocations: 12 kB / 477.1 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.017e-05/0.1134, allocations: 0 / 477.1 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.1135, allocations: 7.984 kB / 477.1 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.1135, allocations: 8 kB / 477.1 MB, free: 6.789 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.338e-05/0.1136, allocations: 121.3 kB / 477.2 MB, free: 6.672 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1136, allocations: 0 / 477.2 MB, free: 6.672 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002752/0.1139, allocations: 35.98 kB / 477.3 MB, free: 6.637 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 (9): * Single equations (assignments): 7 * 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.001094/0.115, allocations: 0.4911 MB / 477.8 MB, free: 6.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001957/0.1152, allocations: 79.72 kB / 477.9 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1152, allocations: 192 / 477.9 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.177e-05/0.1153, allocations: 31.98 kB / 477.9 MB, free: 6.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.1156, allocations: 43.08 kB / 477.9 MB, free: 6.191 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004192/0.1161, allocations: 244.5 kB / 478.2 MB, free: 5.914 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002271/0.1163, allocations: 0.7077 MB / 478.9 MB, free: 5.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.717e-05/0.1164, allocations: 15.44 kB / 478.9 MB, free: 5.164 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1164, allocations: 4 kB / 478.9 MB, free: 5.16 MB / 350.1 MB Notification: Performance of Templates: time 0.005474/0.1218, allocations: 2.166 MB / 481.1 MB, free: 3.008 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches