Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009637/0.0009635, allocations: 97.95 kB / 18.01 MB, free: 5.734 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.0009332/0.0009333, allocations: 179.6 kB / 18.91 MB, free: 4.867 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.399/1.399, allocations: 223.3 MB / 242.9 MB, free: 14.46 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.2088/0.2088, allocations: 44.25 MB / 338.3 MB, free: 2.426 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003026/0.0003026, allocations: 8 kB / 411 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1037, allocations: 61.93 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.001984/0.1058, allocations: 1.29 MB / 474.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007977/0.1066, allocations: 399.4 kB / 474.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.296e-05/0.1067, allocations: 0 / 474.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002755/0.107, allocations: 91.81 kB / 474.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001711/0.1071, allocations: 67.78 kB / 474.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002805/0.1074, allocations: 75.8 kB / 474.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.1076, allocations: 67.88 kB / 474.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.1077, allocations: 20.17 kB / 474.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.064e-05/0.1078, allocations: 27.86 kB / 474.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.533e-05/0.1079, allocations: 51.81 kB / 475 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.1079, allocations: 4 kB / 475 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.108, allocations: 39.98 kB / 475 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.263e-05/0.1081, allocations: 19.91 kB / 475.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.536e-05/0.1082, allocations: 57.39 kB / 475.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.1083, allocations: 72.17 kB / 475.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1083, allocations: 4 kB / 475.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1083, allocations: 0 / 475.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.1083, allocations: 0 / 475.2 MB, free: 11.04 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.0004715/0.1088, allocations: 399.2 kB / 475.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.1089, allocations: 8.031 kB / 475.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.677e-05/0.1089, allocations: 20.73 kB / 475.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.1091, allocations: 200.7 kB / 475.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.1092, allocations: 384 / 475.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.1092, allocations: 12.38 kB / 475.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.1094, allocations: 57.61 kB / 475.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.1094, allocations: 0 / 475.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.1094, allocations: 3.984 kB / 475.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1094, allocations: 0 / 475.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.1095, allocations: 31.92 kB / 475.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003976/0.1099, allocations: 312.6 kB / 476.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.11, allocations: 42.5 kB / 476.2 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.807e-05/0.1101, allocations: 16.86 kB / 476.3 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.1101, allocations: 4 kB / 476.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.1102, allocations: 34.56 kB / 476.3 MB, free: 9.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.1102, allocations: 0 / 476.3 MB, free: 9.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008977/0.1111, allocations: 249.1 kB / 476.5 MB, free: 9.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.1111, allocations: 55.41 kB / 476.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002207/0.1114, allocations: 235.1 kB / 476.8 MB, free: 9.191 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.1114, allocations: 29.7 kB / 476.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.64e-05/0.1115, allocations: 116 kB / 477 MB, free: 9.039 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.615e-05/0.1115, allocations: 19.72 kB / 477 MB, free: 9.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-05/0.1115, allocations: 13.7 kB / 477 MB, free: 9 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.1116, allocations: 326.8 kB / 477.3 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.211e-05/0.1117, allocations: 27.98 kB / 477.3 MB, free: 8.645 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.068e-05/0.1118, allocations: 28.06 kB / 477.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.112, allocations: 72.81 kB / 477.4 MB, free: 8.543 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.112, allocations: 0 / 477.4 MB, free: 8.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002209/0.1122, allocations: 113.4 kB / 477.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.1123, allocations: 4 kB / 477.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1123, allocations: 4 kB / 477.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.1123, allocations: 3.984 kB / 477.6 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.1124, allocations: 16 kB / 477.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.1124, allocations: 3.938 kB / 477.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.984e-05/0.1125, allocations: 15.92 kB / 477.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.1125, allocations: 4 kB / 477.6 MB, free: 8.375 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 (8): * Single equations (assignments): 8 * 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.682e-05/0.1126, allocations: 130.4 kB / 477.7 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.401e-05/0.1126, allocations: 7.906 kB / 477.7 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002896/0.1129, allocations: 130.9 kB / 477.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1129, allocations: 4 kB / 477.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/0.1129, allocations: 3.938 kB / 477.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.113, allocations: 4 kB / 477.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005151/0.1135, allocations: 411.2 kB / 478.3 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.1135, allocations: 4 kB / 478.3 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.879e-05/0.1136, allocations: 15.94 kB / 478.3 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.1136, allocations: 4 kB / 478.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.1136, allocations: 3.984 kB / 478.3 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.1136, allocations: 4.469 kB / 478.3 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1136, allocations: 0 / 478.3 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002666/0.1139, allocations: 220.2 kB / 478.5 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.201e-05/0.1139, allocations: 97.27 kB / 478.6 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.114, allocations: 7.938 kB / 478.6 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.29e-05/0.1141, allocations: 8 kB / 478.6 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.1141, allocations: 11.98 kB / 478.7 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.1141, allocations: 0 / 478.7 MB, free: 7.223 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001466/0.1143, allocations: 171.2 kB / 478.8 MB, free: 7.055 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1143, allocations: 0 / 478.8 MB, free: 7.055 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002626/0.1145, allocations: 20 kB / 478.8 MB, free: 7.035 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001064/0.1156, allocations: 453 kB / 479.3 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00022/0.1158, allocations: 75.89 kB / 479.4 MB, free: 6.691 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1159, allocations: 0 / 479.4 MB, free: 6.691 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.116, allocations: 43.91 kB / 479.4 MB, free: 6.648 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.1163, allocations: 19.94 kB / 479.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004929/0.1168, allocations: 315.9 kB / 479.7 MB, free: 6.285 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.1172, allocations: 0.7121 MB / 480.4 MB, free: 5.547 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.667e-05/0.1172, allocations: 15.44 kB / 480.5 MB, free: 5.531 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1172, allocations: 0 / 480.5 MB, free: 5.531 MB / 350.1 MB Notification: Performance of Templates: time 0.003789/0.121, allocations: 1.715 MB / 482.2 MB, free: 3.816 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches