Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, 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.001329/0.001329, 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.352/1.352, allocations: 222.9 MB / 242.4 MB, free: 15.47 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.2066/0.2066, allocations: 44.17 MB / 336.8 MB, free: 2.996 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 63.62 kB / 408.4 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1021, allocations: 60.83 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.003111/0.1053, allocations: 1.61 MB / 470.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008094/0.1061, allocations: 411.3 kB / 471.2 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.245e-05/0.1062, allocations: 4 kB / 471.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002019/0.1064, allocations: 15.92 kB / 471.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001562/0.1066, allocations: 23.91 kB / 471.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002988/0.1069, allocations: 102.8 kB / 471.3 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.1071, allocations: 63.72 kB / 471.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.664e-05/0.1072, allocations: 15.98 kB / 471.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.203e-05/0.1072, allocations: 11.94 kB / 471.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.577e-05/0.1073, allocations: 23.84 kB / 471.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.1073, allocations: 4 kB / 471.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.991e-05/0.1074, allocations: 27.98 kB / 471.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.768e-05/0.1074, allocations: 11.94 kB / 471.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.892e-05/0.1075, allocations: 23.86 kB / 471.5 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.1076, allocations: 55.86 kB / 471.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1076, allocations: 0 / 471.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1076, allocations: 0 / 471.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.1076, allocations: 0 / 471.6 MB, free: 12.43 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.0005137/0.1082, allocations: 375.5 kB / 471.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.1082, allocations: 8.031 kB / 471.9 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.029e-05/0.1082, allocations: 8.844 kB / 472 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.1085, allocations: 188.2 kB / 472.1 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.1085, allocations: 4.375 kB / 472.1 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.905e-05/0.1085, allocations: 8.375 kB / 472.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.1087, allocations: 45.81 kB / 472.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.1087, allocations: 3.906 kB / 472.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.1087, allocations: 7.938 kB / 472.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1087, allocations: 0 / 472.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.733e-05/0.1088, allocations: 23.97 kB / 472.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003962/0.1092, allocations: 280.9 kB / 472.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.1094, allocations: 42.56 kB / 472.5 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.38e-05/0.1095, allocations: 20.88 kB / 472.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.1095, allocations: 0 / 472.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.1096, allocations: 34.56 kB / 472.6 MB, free: 11.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.011e-06/0.1096, allocations: 0 / 472.6 MB, free: 11.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005954/0.1102, allocations: 153.6 kB / 472.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.1102, allocations: 51.41 kB / 472.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.1104, allocations: 149.4 kB / 472.9 MB, free: 10.87 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.1104, allocations: 25.7 kB / 473 MB, free: 10.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.918e-05/0.1105, allocations: 96.12 kB / 473.1 MB, free: 10.74 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.067e-05/0.1105, allocations: 11.81 kB / 473.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.1105, allocations: 17.72 kB / 473.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1107, allocations: 326.8 kB / 473.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.733e-05/0.1108, allocations: 20.05 kB / 473.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.258e-05/0.1108, allocations: 23.98 kB / 473.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.111, allocations: 48.83 kB / 473.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.111, allocations: 0 / 473.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002019/0.1112, allocations: 97.5 kB / 473.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.1112, allocations: 7.938 kB / 473.6 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1112, allocations: 0 / 473.6 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.1113, allocations: 3.938 kB / 473.6 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.493e-05/0.1113, allocations: 15.98 kB / 473.6 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.1113, allocations: 0 / 473.6 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.088e-05/0.1114, allocations: 4 kB / 473.6 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.1114, allocations: 0 / 473.6 MB, free: 10.15 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.964e-05/0.1115, allocations: 130.2 kB / 473.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.246e-05/0.1115, allocations: 7.906 kB / 473.8 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002458/0.1118, allocations: 97.89 kB / 473.9 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1118, allocations: 4 kB / 473.9 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1118, allocations: 0 / 473.9 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.1118, allocations: 3.984 kB / 473.9 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004358/0.1123, allocations: 354.5 kB / 474.2 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1123, allocations: 320 / 474.2 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.624e-05/0.1123, allocations: 15.92 kB / 474.2 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.1124, allocations: 4 kB / 474.2 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.1124, allocations: 4 kB / 474.2 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.1124, allocations: 3.938 kB / 474.2 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1124, allocations: 0 / 474.2 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002394/0.1126, allocations: 187.4 kB / 474.4 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.918e-05/0.1127, allocations: 81.02 kB / 474.5 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.1127, allocations: 0 / 474.5 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.87e-05/0.1128, allocations: 11.92 kB / 474.5 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/0.1128, allocations: 0 / 474.5 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.1128, allocations: 4 kB / 474.5 MB, free: 9.152 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.828e-05/0.1129, allocations: 115.2 kB / 474.6 MB, free: 9.039 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1129, allocations: 0 / 474.6 MB, free: 9.039 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002463/0.1132, allocations: 16 kB / 474.6 MB, free: 9.023 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.0009257/0.1141, allocations: 403.7 kB / 475 MB, free: 8.777 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002073/0.1143, allocations: 51.97 kB / 475.1 MB, free: 8.727 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1143, allocations: 0 / 475.1 MB, free: 8.727 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.253e-05/0.1144, allocations: 27.97 kB / 475.1 MB, free: 8.699 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.1148, allocations: 18.66 kB / 475.1 MB, free: 8.684 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004083/0.1152, allocations: 220.9 kB / 475.4 MB, free: 8.438 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.1155, allocations: 0.6926 MB / 476 MB, free: 7.719 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.545e-05/0.1156, allocations: 11.44 kB / 476.1 MB, free: 7.707 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1156, allocations: 4 kB / 476.1 MB, free: 7.703 MB / 350.1 MB Notification: Performance of Templates: time 0.003099/0.1187, allocations: 1.381 MB / 477.4 MB, free: 6.324 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches