Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.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.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 115.9 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.00127/0.00127, allocations: 195 kB / 18.01 MB, free: 5.098 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.443/1.443, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2139/0.2139, allocations: 43.52 MB / 314.8 MB, free: 464 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.0016/0.0016, allocations: 75.88 kB / 442.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1146, allocations: 57.78 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.003141/0.1178, allocations: 1.551 MB / 0.4901 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000683/0.1185, allocations: 319.5 kB / 0.4904 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.178e-05/0.1186, allocations: 0 / 0.4904 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003357/0.1189, allocations: 127.7 kB / 0.4905 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002526/0.1192, allocations: 91.7 kB / 0.4906 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002381/0.1194, allocations: 67.84 kB / 0.4906 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.1196, allocations: 83.8 kB / 0.4907 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.1198, allocations: 19.97 kB / 0.4907 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.474e-05/0.1198, allocations: 43.83 kB / 0.4908 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.12, allocations: 79.78 kB / 0.4909 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.12, allocations: 4 kB / 0.4909 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.33e-05/0.1201, allocations: 28 kB / 0.4909 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.882e-05/0.1202, allocations: 23.92 kB / 0.4909 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.343e-05/0.1202, allocations: 35.67 kB / 0.4909 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002128/0.1204, allocations: 103.7 kB / 0.491 GB, free: 9.234 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1205, allocations: 0 / 0.491 GB, free: 9.234 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1205, allocations: 0 / 0.491 GB, free: 9.234 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1205, allocations: 0 / 0.491 GB, free: 9.234 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.0005248/0.121, allocations: 426.7 kB / 0.4914 GB, free: 8.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.121, allocations: 11.89 kB / 0.4915 GB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.42e-05/0.1211, allocations: 16.75 kB / 0.4915 GB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.1213, allocations: 207.9 kB / 0.4917 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.422e-06/0.1213, allocations: 384 / 0.4917 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.583e-05/0.1213, allocations: 4.359 kB / 0.4917 GB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.1215, allocations: 49.81 kB / 0.4917 GB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.1215, allocations: 0 / 0.4917 GB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.1215, allocations: 0 / 0.4917 GB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1215, allocations: 0 / 0.4917 GB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.143e-05/0.1216, allocations: 31.91 kB / 0.4918 GB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004079/0.122, allocations: 296.8 kB / 0.492 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.1223, allocations: 38.56 kB / 0.4921 GB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.095e-05/0.1223, allocations: 12.95 kB / 0.4921 GB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.1224, allocations: 3.984 kB / 0.4921 GB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.1224, allocations: 38.5 kB / 0.4921 GB, free: 7.957 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.794e-06/0.1224, allocations: 4 kB / 0.4921 GB, free: 7.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006045/0.123, allocations: 149.1 kB / 0.4923 GB, free: 7.801 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.1231, allocations: 51.41 kB / 0.4923 GB, free: 7.738 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002728/0.1233, allocations: 266.3 kB / 0.4926 GB, free: 7.465 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.1234, allocations: 25.7 kB / 0.4926 GB, free: 7.434 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.179e-05/0.1235, allocations: 112.1 kB / 0.4927 GB, free: 7.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.1235, allocations: 27.59 kB / 0.4927 GB, free: 7.293 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.734e-05/0.1235, allocations: 13.72 kB / 0.4927 GB, free: 7.273 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.1237, allocations: 334.8 kB / 0.4931 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.469e-05/0.1237, allocations: 15.98 kB / 0.4931 GB, free: 6.922 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.656e-05/0.1238, allocations: 19.98 kB / 0.4931 GB, free: 6.902 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.1239, allocations: 45.03 kB / 0.4931 GB, free: 6.855 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1239, allocations: 4 kB / 0.4931 GB, free: 6.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001801/0.1241, allocations: 89.45 kB / 0.4932 GB, free: 6.758 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.1242, allocations: 7.984 kB / 0.4932 GB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1242, allocations: 3.984 kB / 0.4932 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.1242, allocations: 0 / 0.4932 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.84e-05/0.1243, allocations: 8 kB / 0.4933 GB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.1243, allocations: 4 kB / 0.4933 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.006e-05/0.1243, allocations: 3.984 kB / 0.4933 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.1243, allocations: 8 kB / 0.4933 GB, free: 6.723 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 (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.897e-05/0.1245, allocations: 141.7 kB / 0.4934 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.408e-05/0.1245, allocations: 11.81 kB / 0.4934 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002327/0.1247, allocations: 98.59 kB / 0.4935 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1247, allocations: 0 / 0.4935 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1247, allocations: 0 / 0.4935 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1248, allocations: 0 / 0.4935 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004123/0.1252, allocations: 362.5 kB / 0.4939 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.1252, allocations: 3.984 kB / 0.4939 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.091e-05/0.1252, allocations: 12 kB / 0.4939 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.1253, allocations: 0 / 0.4939 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.1253, allocations: 4 kB / 0.4939 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-05/0.1253, allocations: 4.125 kB / 0.4939 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1253, allocations: 3.938 kB / 0.4939 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002135/0.1255, allocations: 191.3 kB / 0.4941 GB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.796e-05/0.1256, allocations: 85.02 kB / 0.4941 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.1256, allocations: 0 / 0.4941 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.92e-05/0.1257, allocations: 11.92 kB / 0.4942 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/0.1257, allocations: 0 / 0.4942 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.1257, allocations: 4 kB / 0.4942 GB, free: 5.699 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001666/0.1259, allocations: 199.2 kB / 0.4943 GB, free: 5.504 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1259, allocations: 4 kB / 0.4944 GB, free: 5.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000248/0.1262, allocations: 19.98 kB / 0.4944 GB, free: 5.48 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 (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.0009156/0.1271, allocations: 400.1 kB / 0.4948 GB, free: 5.121 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001994/0.1273, allocations: 51.89 kB / 0.4948 GB, free: 5.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1273, allocations: 0 / 0.4948 GB, free: 5.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.451e-05/0.1274, allocations: 23.98 kB / 0.4948 GB, free: 5.047 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/0.1278, allocations: 23.14 kB / 0.4948 GB, free: 5.027 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005257/0.1283, allocations: 296.2 kB / 0.4951 GB, free: 4.707 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.1286, allocations: 0.7197 MB / 0.4958 GB, free: 3.961 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.409e-05/0.1287, allocations: 15.38 kB / 0.4958 GB, free: 3.945 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1287, allocations: 0 / 0.4958 GB, free: 3.945 MB / 382.1 MB Notification: Performance of Templates: time 0.003573/0.1323, allocations: 1.609 MB / 0.4974 GB, free: 2.34 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches