Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.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.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, 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.001177/0.001177, 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.346/1.346, allocations: 222.9 MB / 242.9 MB, free: 15.23 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.2139/0.2139, allocations: 44.18 MB / 337.3 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 63.78 kB / 409.1 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1019, allocations: 60.83 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.002879/0.1049, allocations: 1.627 MB / 471.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007107/0.1056, allocations: 435.1 kB / 472 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.692e-05/0.1056, allocations: 0 / 472 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002036/0.1059, allocations: 47.8 kB / 472 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001858/0.1061, allocations: 51.77 kB / 472.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.1064, allocations: 126.9 kB / 472.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.1065, allocations: 83.75 kB / 472.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.1067, allocations: 15.98 kB / 472.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.572e-05/0.1067, allocations: 23.92 kB / 472.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.096e-05/0.1068, allocations: 43.83 kB / 472.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.1068, allocations: 4 kB / 472.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.1069, allocations: 47.98 kB / 472.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.707e-05/0.107, allocations: 27.91 kB / 472.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.695e-05/0.1071, allocations: 27.75 kB / 472.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.1072, allocations: 103.7 kB / 472.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1073, allocations: 4 kB / 472.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1073, allocations: 0 / 472.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.1073, allocations: 0 / 472.6 MB, free: 11.69 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004543/0.1077, allocations: 399.3 kB / 473 MB, free: 11.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.1078, allocations: 8.031 kB / 473 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.891e-05/0.1078, allocations: 8.844 kB / 473 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.108, allocations: 192.1 kB / 473.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.108, allocations: 12.36 kB / 473.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.1081, allocations: 384 / 473.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.1082, allocations: 73.67 kB / 473.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.1083, allocations: 0 / 473.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.1083, allocations: 0 / 473.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1083, allocations: 0 / 473.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000139/0.1084, allocations: 39.97 kB / 473.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003518/0.1088, allocations: 304.7 kB / 473.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.109, allocations: 54.55 kB / 473.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.215e-05/0.1091, allocations: 24.97 kB / 473.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.1091, allocations: 4 kB / 473.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.1091, allocations: 30.56 kB / 473.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.1092, allocations: 0 / 473.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.00142/0.1106, allocations: 397.3 kB / 474.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.1106, allocations: 55.34 kB / 474.1 MB, free: 9.941 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.1108, allocations: 168.6 kB / 474.3 MB, free: 9.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.1108, allocations: 33.7 kB / 474.3 MB, free: 9.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.997e-05/0.1109, allocations: 92.14 kB / 474.4 MB, free: 9.637 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.054e-05/0.111, allocations: 35.45 kB / 474.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.885e-05/0.111, allocations: 33.64 kB / 474.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1112, allocations: 314.8 kB / 474.8 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.1113, allocations: 43.95 kB / 474.8 MB, free: 9.203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.1114, allocations: 47.97 kB / 474.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000252/0.1117, allocations: 92.81 kB / 475 MB, free: 9.062 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1117, allocations: 0 / 475 MB, free: 9.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000327/0.112, allocations: 149.8 kB / 475.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.1121, allocations: 4 kB / 475.1 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1121, allocations: 0 / 475.1 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.1121, allocations: 0 / 475.1 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.1122, allocations: 31.91 kB / 475.2 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.1122, allocations: 4 kB / 475.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.081e-05/0.1123, allocations: 11.92 kB / 475.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.1123, allocations: 4 kB / 475.2 MB, free: 8.855 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 (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 0.000115/0.1124, allocations: 129.8 kB / 475.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.89e-05/0.1125, allocations: 11.81 kB / 475.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003858/0.1129, allocations: 158.4 kB / 475.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.1129, allocations: 7.922 kB / 475.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1129, allocations: 0 / 475.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.1129, allocations: 0 / 475.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006499/0.1136, allocations: 479.9 kB / 476 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.1136, allocations: 0 / 476 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.1137, allocations: 27.98 kB / 476 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1137, allocations: 0 / 476 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.1137, allocations: 4.047 kB / 476 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.1137, allocations: 11.94 kB / 476 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.1137, allocations: 0 / 476 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000339/0.1141, allocations: 245 kB / 476.2 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.572e-05/0.1141, allocations: 93 kB / 476.3 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.1141, allocations: 192 / 476.3 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.393e-05/0.1142, allocations: 16 kB / 476.3 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.986e-05/0.1143, allocations: 7.984 kB / 476.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.1143, allocations: 7.938 kB / 476.4 MB, free: 7.562 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.772e-05/0.1144, allocations: 129.5 kB / 476.5 MB, free: 7.438 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1144, allocations: 3.938 kB / 476.5 MB, free: 7.434 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.1147, allocations: 23.98 kB / 476.5 MB, free: 7.41 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (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 Backend phase and start with SimCode phase: time 0.001036/0.1157, allocations: 452.8 kB / 477 MB, free: 7.148 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003536/0.1161, allocations: 111.8 kB / 477.1 MB, free: 7.039 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1161, allocations: 0 / 477.1 MB, free: 7.039 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.1163, allocations: 67.83 kB / 477.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.1167, allocations: 19.94 kB / 477.1 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005204/0.1172, allocations: 286 kB / 477.4 MB, free: 6.633 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.1175, allocations: 0.7041 MB / 478.1 MB, free: 5.902 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.667e-05/0.1176, allocations: 23.42 kB / 478.2 MB, free: 5.879 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1176, allocations: 4 kB / 478.2 MB, free: 5.875 MB / 350.1 MB Notification: Performance of Templates: time 0.003475/0.121, allocations: 1.822 MB / 480 MB, free: 4.055 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches