Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 114.9 kB / 17.08 MB, free: 5.988 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.001136/0.001136, allocations: 194.4 kB / 18.01 MB, free: 5.078 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.23 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.2031/0.2031, 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.00141/0.00141, allocations: 69.8 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09977/0.1012, allocations: 57.79 MB / 0.4885 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002774/0.104, allocations: 1.547 MB / 0.4901 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005563/0.1046, allocations: 319.5 kB / 0.4904 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.179e-05/0.1046, allocations: 8 kB / 0.4904 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001862/0.1048, allocations: 19.86 kB / 0.4904 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001663/0.105, allocations: 43.77 kB / 0.4904 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002248/0.1053, allocations: 63.86 kB / 0.4905 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000161/0.1054, allocations: 63.81 kB / 0.4906 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.1056, allocations: 15.92 kB / 0.4906 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.764e-05/0.1056, allocations: 27.86 kB / 0.4906 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.699e-05/0.1057, allocations: 11.92 kB / 0.4906 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.1057, allocations: 4 kB / 0.4906 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.473e-05/0.1058, allocations: 35.98 kB / 0.4906 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.558e-05/0.1058, allocations: 15.92 kB / 0.4907 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.241e-05/0.1059, allocations: 15.88 kB / 0.4907 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.106, allocations: 71.73 kB / 0.4907 GB, free: 9.523 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.106, allocations: 0 / 0.4907 GB, free: 9.523 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1061, allocations: 0 / 0.4907 GB, free: 9.523 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.1061, allocations: 0 / 0.4907 GB, free: 9.523 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.0004626/0.1065, allocations: 387.1 kB / 0.4911 GB, free: 9.098 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.1066, allocations: 11.89 kB / 0.4911 GB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.452e-05/0.1066, allocations: 8.844 kB / 0.4911 GB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.1068, allocations: 184.3 kB / 0.4913 GB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.405e-06/0.1068, allocations: 384 / 0.4913 GB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.1068, allocations: 4.375 kB / 0.4913 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.107, allocations: 49.8 kB / 0.4914 GB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.107, allocations: 4 kB / 0.4914 GB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.107, allocations: 4 kB / 0.4914 GB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.107, allocations: 4 kB / 0.4914 GB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.527e-05/0.1071, allocations: 19.92 kB / 0.4914 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003102/0.1074, allocations: 276.8 kB / 0.4917 GB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.1076, allocations: 46.56 kB / 0.4917 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.42e-05/0.1077, allocations: 8.859 kB / 0.4917 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.1077, allocations: 4.094 kB / 0.4917 GB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.1077, allocations: 46.48 kB / 0.4918 GB, free: 8.324 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1078, allocations: 0 / 0.4918 GB, free: 8.324 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004907/0.1082, allocations: 129.4 kB / 0.4919 GB, free: 8.191 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.1083, allocations: 55.34 kB / 0.4919 GB, free: 8.125 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.1084, allocations: 146.1 kB / 0.4921 GB, free: 7.969 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.1085, allocations: 29.64 kB / 0.4921 GB, free: 7.934 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.572e-05/0.1085, allocations: 92.14 kB / 0.4922 GB, free: 7.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.1085, allocations: 19.64 kB / 0.4922 GB, free: 7.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-05/0.1086, allocations: 17.72 kB / 0.4922 GB, free: 7.797 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1087, allocations: 326.8 kB / 0.4925 GB, free: 7.469 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.34e-05/0.1088, allocations: 11.98 kB / 0.4925 GB, free: 7.457 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.847e-05/0.1088, allocations: 19.98 kB / 0.4926 GB, free: 7.438 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.109, allocations: 48.84 kB / 0.4926 GB, free: 7.387 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.109, allocations: 0 / 0.4926 GB, free: 7.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001723/0.1092, allocations: 77.59 kB / 0.4927 GB, free: 7.305 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.1092, allocations: 11.94 kB / 0.4927 GB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1092, allocations: 0 / 0.4927 GB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.1092, allocations: 0 / 0.4927 GB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.941e-05/0.1093, allocations: 11.98 kB / 0.4927 GB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.1093, allocations: 4 kB / 0.4927 GB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.705e-05/0.1093, allocations: 4 kB / 0.4927 GB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.1093, allocations: 4 kB / 0.4927 GB, free: 7.27 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 8.67e-05/0.1094, allocations: 121.7 kB / 0.4928 GB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/0.1095, allocations: 3.906 kB / 0.4928 GB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002145/0.1097, allocations: 101.9 kB / 0.4929 GB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1097, allocations: 0 / 0.4929 GB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1097, allocations: 4.312 kB / 0.4929 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.1097, allocations: 4 kB / 0.4929 GB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003948/0.1101, allocations: 346.4 kB / 0.4933 GB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1101, allocations: 288 / 0.4933 GB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.262e-05/0.1102, allocations: 12 kB / 0.4933 GB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1102, allocations: 3.984 kB / 0.4933 GB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.1102, allocations: 0 / 0.4933 GB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.1102, allocations: 3.938 kB / 0.4933 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.1102, allocations: 4 kB / 0.4933 GB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002095/0.1104, allocations: 175.5 kB / 0.4935 GB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.943e-05/0.1105, allocations: 81.02 kB / 0.4935 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.1105, allocations: 8 kB / 0.4935 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.852e-05/0.1106, allocations: 7.922 kB / 0.4936 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.232e-05/0.1106, allocations: 4 kB / 0.4936 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.1106, allocations: 7.938 kB / 0.4936 GB, free: 6.289 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.176e-05/0.1107, allocations: 111.2 kB / 0.4937 GB, free: 6.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1107, allocations: 0 / 0.4937 GB, free: 6.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002356/0.111, allocations: 16 kB / 0.4937 GB, free: 6.164 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.0008649/0.1118, allocations: 405.8 kB / 0.4941 GB, free: 5.805 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001946/0.112, allocations: 47.91 kB / 0.4941 GB, free: 5.758 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1121, allocations: 4 kB / 0.4941 GB, free: 5.754 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.921e-05/0.1121, allocations: 23.98 kB / 0.4941 GB, free: 5.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.1125, allocations: 15.84 kB / 0.4942 GB, free: 5.715 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003562/0.1128, allocations: 195 kB / 0.4943 GB, free: 5.492 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.1131, allocations: 0.6885 MB / 0.495 GB, free: 4.777 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.63e-05/0.1131, allocations: 15.42 kB / 0.495 GB, free: 4.762 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1131, allocations: 7.938 kB / 0.495 GB, free: 4.754 MB / 382.1 MB Notification: Performance of Templates: time 0.002866/0.116, allocations: 1.36 MB / 0.4964 GB, free: 3.398 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches