Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9") translateModel(ModelicaTest.Tables.CombiTable2D.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 115.8 kB / 17.08 MB, free: 6.012 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.001111/0.001112, allocations: 196.1 kB / 18.01 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.5/1.5, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2133/0.2133, allocations: 43.53 MB / 314.8 MB, free: 468 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001632, allocations: 67.91 kB / 442.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1187, allocations: 57.8 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test9): time 0.00332/0.1221, allocations: 1.562 MB / 0.4901 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000662/0.1228, allocations: 311.6 kB / 0.4904 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.025e-05/0.1228, allocations: 0 / 0.4904 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005634/0.1234, allocations: 455.1 kB / 0.4908 GB, free: 9.465 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000379/0.1238, allocations: 255.4 kB / 0.4911 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003384/0.1242, allocations: 111.7 kB / 0.4912 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002501/0.1244, allocations: 155.7 kB / 0.4913 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.1246, allocations: 11.98 kB / 0.4913 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001575/0.1247, allocations: 111.7 kB / 0.4914 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002576/0.125, allocations: 207.6 kB / 0.4916 GB, free: 8.629 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.322e-05/0.125, allocations: 4 kB / 0.4916 GB, free: 8.625 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.064e-05/0.1251, allocations: 23.97 kB / 0.4917 GB, free: 8.602 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.1252, allocations: 79.7 kB / 0.4917 GB, free: 8.523 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.225e-05/0.1253, allocations: 95.05 kB / 0.4918 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002863/0.1256, allocations: 246.9 kB / 0.4921 GB, free: 8.188 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1256, allocations: 4 kB / 0.4921 GB, free: 8.184 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1256, allocations: 0 / 0.4921 GB, free: 8.184 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.1256, allocations: 4 kB / 0.4921 GB, free: 8.18 MB / 382.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.0007634/0.1264, allocations: 0.6297 MB / 0.4927 GB, free: 7.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.1264, allocations: 11.89 kB / 0.4927 GB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.936e-05/0.1265, allocations: 36.47 kB / 0.4927 GB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000289/0.1268, allocations: 296.2 kB / 0.493 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.034e-06/0.1268, allocations: 384 / 0.493 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.1268, allocations: 384 / 0.493 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.127, allocations: 61.73 kB / 0.4931 GB, free: 7.055 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.127, allocations: 0 / 0.4931 GB, free: 7.055 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.1271, allocations: 8 kB / 0.4931 GB, free: 7.047 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1271, allocations: 3.938 kB / 0.4931 GB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.1272, allocations: 27.97 kB / 0.4931 GB, free: 7.016 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004635/0.1277, allocations: 364.8 kB / 0.4935 GB, free: 6.609 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.1278, allocations: 46.56 kB / 0.4935 GB, free: 6.555 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.513e-05/0.1279, allocations: 20.88 kB / 0.4935 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.1279, allocations: 4 kB / 0.4935 GB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.1279, allocations: 38.55 kB / 0.4936 GB, free: 6.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1279, allocations: 0 / 0.4936 GB, free: 6.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003468/0.1283, allocations: 121.1 kB / 0.4937 GB, free: 6.355 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.1283, allocations: 51.41 kB / 0.4937 GB, free: 6.293 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007917/0.1291, allocations: 0.8496 MB / 0.4945 GB, free: 5.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.1292, allocations: 25.7 kB / 0.4946 GB, free: 5.398 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.1293, allocations: 208.1 kB / 0.4948 GB, free: 5.191 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.168e-05/0.1294, allocations: 19.72 kB / 0.4948 GB, free: 5.172 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/0.1294, allocations: 17.72 kB / 0.4948 GB, free: 5.148 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.1296, allocations: 362.7 kB / 0.4952 GB, free: 4.785 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.048e-05/0.1296, allocations: 15.92 kB / 0.4952 GB, free: 4.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.935e-05/0.1297, allocations: 19.98 kB / 0.4952 GB, free: 4.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.1298, allocations: 33.11 kB / 0.4952 GB, free: 4.715 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1298, allocations: 3.938 kB / 0.4952 GB, free: 4.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001886/0.13, allocations: 105.2 kB / 0.4953 GB, free: 4.602 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.13, allocations: 8 kB / 0.4953 GB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.1301, allocations: 4 kB / 0.4953 GB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.1301, allocations: 0 / 0.4953 GB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.204e-05/0.1302, allocations: 11.98 kB / 0.4953 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.1302, allocations: 3.938 kB / 0.4954 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.011e-05/0.1302, allocations: 4 kB / 0.4954 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-06/0.1302, allocations: 4 kB / 0.4954 GB, free: 4.566 MB / 382.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 (3): * Single equations (assignments): 3 * 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.0001838/0.1304, allocations: 217.6 kB / 0.4956 GB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.353e-05/0.1305, allocations: 43.44 kB / 0.4956 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002436/0.1308, allocations: 121 kB / 0.4957 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1308, allocations: 0 / 0.4957 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1308, allocations: 4 kB / 0.4957 GB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1308, allocations: 0 / 0.4957 GB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002753/0.1311, allocations: 281.5 kB / 0.496 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1311, allocations: 0 / 0.496 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.229e-05/0.1311, allocations: 15.92 kB / 0.496 GB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1311, allocations: 0 / 0.496 GB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.1312, allocations: 4 kB / 0.496 GB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.1312, allocations: 3.938 kB / 0.496 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1312, allocations: 0 / 0.496 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002287/0.1314, allocations: 199 kB / 0.4962 GB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.46e-05/0.1315, allocations: 116.5 kB / 0.4963 GB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.1315, allocations: 0 / 0.4963 GB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.762e-05/0.1316, allocations: 4 kB / 0.4963 GB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/0.1316, allocations: 7.984 kB / 0.4963 GB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.1316, allocations: 0 / 0.4963 GB, free: 3.465 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005922/0.1322, allocations: 0.6472 MB / 0.497 GB, free: 2.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1323, allocations: 0 / 0.497 GB, free: 2.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002442/0.1325, allocations: 16 kB / 0.497 GB, free: 2.805 MB / 382.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 (3): * Single equations (assignments): 3 * 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.0007892/0.1333, allocations: 348.7 kB / 0.4973 GB, free: 2.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001814/0.1335, allocations: 43.83 kB / 0.4974 GB, free: 2.457 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1335, allocations: 0 / 0.4974 GB, free: 2.457 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.472e-05/0.1336, allocations: 19.98 kB / 0.4974 GB, free: 2.438 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/0.134, allocations: 33.8 kB / 0.4974 GB, free: 2.402 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009988/0.135, allocations: 0.8006 MB / 0.4982 GB, free: 1.566 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004129/0.1354, allocations: 0.8143 MB / 0.499 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.351e-05/0.1355, allocations: 15.38 kB / 0.499 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1355, allocations: 0 / 0.499 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of Templates: time 0.006993/0.1425, allocations: 3.484 MB / 0.5024 GB, free: 13.23 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches