Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.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.CombiTable1Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008018/0.0008019, allocations: 98.55 kB / 18.01 MB, free: 5.738 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.0007745/0.0007745, allocations: 177.5 kB / 18.91 MB, free: 4.871 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.622/1.622, allocations: 223.3 MB / 243 MB, free: 14.38 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.2005/0.2005, allocations: 44.24 MB / 338.3 MB, free: 2.426 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003003/0.0003004, allocations: 8 kB / 411 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1047, allocations: 61.92 MB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.001977/0.1067, allocations: 1.274 MB / 474.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001579/0.1083, allocations: 0.9921 MB / 475.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.205e-05/0.1084, allocations: 4 kB / 475.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002011/0.1086, allocations: 23.91 kB / 475.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001675/0.1088, allocations: 31.91 kB / 475.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003207/0.1091, allocations: 103.7 kB / 475.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001394/0.1093, allocations: 47.91 kB / 475.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.348e-05/0.1094, allocations: 12 kB / 475.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.749e-05/0.1094, allocations: 15.92 kB / 475.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.1096, allocations: 35.78 kB / 475.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.1096, allocations: 0 / 475.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.1097, allocations: 43.98 kB / 475.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.653e-05/0.1098, allocations: 15.91 kB / 475.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.863e-05/0.1099, allocations: 41.58 kB / 475.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.11, allocations: 63.91 kB / 475.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.11, allocations: 0 / 475.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1101, allocations: 0 / 475.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.91e-06/0.1101, allocations: 0 / 475.6 MB, free: 10.61 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004899/0.1106, allocations: 378 kB / 476 MB, free: 10.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.1106, allocations: 12.03 kB / 476 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.935e-05/0.1107, allocations: 4.938 kB / 476 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.1109, allocations: 191.3 kB / 476.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.185e-06/0.1109, allocations: 4.375 kB / 476.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.1109, allocations: 384 / 476.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.1111, allocations: 79.45 kB / 476.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.1111, allocations: 0 / 476.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.1111, allocations: 0 / 476.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.1111, allocations: 0 / 476.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.853e-05/0.1112, allocations: 31.97 kB / 476.3 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004063/0.1116, allocations: 288.8 kB / 476.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/0.1118, allocations: 42.56 kB / 476.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.627e-05/0.1119, allocations: 20.94 kB / 476.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.1119, allocations: 0 / 476.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.112, allocations: 30.56 kB / 476.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.112, allocations: 4 kB / 476.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005783/0.1126, allocations: 165.4 kB / 476.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.285e-05/0.1126, allocations: 81.11 kB / 476.9 MB, free: 9.121 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.1128, allocations: 137.8 kB / 477.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.1128, allocations: 25.7 kB / 477.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.968e-05/0.1129, allocations: 92.14 kB / 477.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/0.1129, allocations: 15.66 kB / 477.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.832e-05/0.1129, allocations: 21.7 kB / 477.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.113, allocations: 314.8 kB / 477.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.143e-05/0.1131, allocations: 31.92 kB / 477.5 MB, free: 8.461 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.144e-05/0.1132, allocations: 41.69 kB / 477.6 MB, free: 8.414 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.1134, allocations: 64.86 kB / 477.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1134, allocations: 0 / 477.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001941/0.1136, allocations: 85.61 kB / 477.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.1136, allocations: 4 kB / 477.7 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1136, allocations: 7.984 kB / 477.7 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.1136, allocations: 0 / 477.7 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.151e-05/0.1137, allocations: 19.94 kB / 477.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.1137, allocations: 0 / 477.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.65e-05/0.1138, allocations: 11.98 kB / 477.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.1138, allocations: 0 / 477.8 MB, free: 8.215 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.182e-05/0.1139, allocations: 118.3 kB / 477.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.1139, allocations: 7.906 kB / 477.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002631/0.1142, allocations: 113.6 kB / 478 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1142, allocations: 288 / 478 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.1142, allocations: 0 / 478 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1142, allocations: 0 / 478 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004771/0.1147, allocations: 370.3 kB / 478.4 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.1147, allocations: 3.984 kB / 478.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.72e-05/0.1148, allocations: 16.36 kB / 478.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.1148, allocations: 0 / 478.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.1148, allocations: 0 / 478.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.703e-06/0.1148, allocations: 11.88 kB / 478.4 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1148, allocations: 0 / 478.4 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.1151, allocations: 191.5 kB / 478.6 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.957e-05/0.1152, allocations: 85.02 kB / 478.7 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.1152, allocations: 0 / 478.7 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.423e-05/0.1153, allocations: 15.92 kB / 478.7 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.1153, allocations: 4 kB / 478.7 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.1153, allocations: 4 kB / 478.7 MB, free: 7.188 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.662e-05/0.1154, allocations: 107.2 kB / 478.8 MB, free: 7.082 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1154, allocations: 0 / 478.8 MB, free: 7.082 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002613/0.1157, allocations: 20 kB / 478.8 MB, free: 7.062 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.00106/0.1168, allocations: 449.1 kB / 479.3 MB, free: 6.789 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002125/0.117, allocations: 59.91 kB / 479.3 MB, free: 6.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.117, allocations: 0 / 479.3 MB, free: 6.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.638e-05/0.1171, allocations: 35.97 kB / 479.3 MB, free: 6.695 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.1174, allocations: 12 kB / 479.4 MB, free: 6.684 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004191/0.1179, allocations: 210.3 kB / 479.6 MB, free: 6.445 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.1182, allocations: 0.6926 MB / 480.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.065e-05/0.1182, allocations: 15.44 kB / 480.3 MB, free: 5.711 MB / 350.1 MB Notification: Performance of SimCode: time 2.104e-06/0.1182, allocations: 0 / 480.3 MB, free: 5.711 MB / 350.1 MB Notification: Performance of Templates: time 0.003454/0.1217, allocations: 1.571 MB / 481.8 MB, free: 4.145 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches