Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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 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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 105.6 kB / 16.93 MB, free: 5.684 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.001274/0.001275, allocations: 185 kB / 17.86 MB, free: 5.164 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.464/1.464, allocations: 205.1 MB / 223.7 MB, free: 12.29 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.2106/0.2106, allocations: 43.52 MB / 314.6 MB, free: 0.543 MB / 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.001651/0.001651, allocations: 73.11 kB / 383.4 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09944/0.1011, allocations: 57.79 MB / 441.2 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.002588/0.1037, allocations: 1.545 MB / 442.7 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005153/0.1043, allocations: 307.6 kB / 443 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.08e-05/0.1043, allocations: 0 / 443 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001881/0.1046, allocations: 35.78 kB / 443.1 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001612/0.1047, allocations: 35.77 kB / 443.1 MB, free: 4.969 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.1049, allocations: 67.86 kB / 443.2 MB, free: 4.902 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.105, allocations: 51.84 kB / 443.2 MB, free: 4.852 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.67e-05/0.1051, allocations: 23.92 kB / 443.2 MB, free: 4.828 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.548e-05/0.1052, allocations: 15.94 kB / 443.3 MB, free: 4.812 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.982e-05/0.1052, allocations: 19.84 kB / 443.3 MB, free: 4.793 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.1053, allocations: 4 kB / 443.3 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.65e-05/0.1053, allocations: 31.98 kB / 443.3 MB, free: 4.758 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.32e-05/0.1054, allocations: 7.938 kB / 443.3 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.129e-05/0.1054, allocations: 19.88 kB / 443.3 MB, free: 4.73 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.1056, allocations: 79.72 kB / 443.4 MB, free: 4.652 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1056, allocations: 4 kB / 443.4 MB, free: 4.648 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1056, allocations: 0 / 443.4 MB, free: 4.648 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.1056, allocations: 0 / 443.4 MB, free: 4.648 MB / 318.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.0003659/0.106, allocations: 375.2 kB / 443.8 MB, free: 4.234 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.106, allocations: 11.89 kB / 443.8 MB, free: 4.223 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.56e-05/0.106, allocations: 12.78 kB / 443.8 MB, free: 4.211 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.1062, allocations: 187.8 kB / 444 MB, free: 3.992 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.1062, allocations: 384 / 444 MB, free: 3.992 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.1062, allocations: 384 / 444 MB, free: 3.992 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.1064, allocations: 53.81 kB / 444.1 MB, free: 3.934 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.1064, allocations: 0 / 444.1 MB, free: 3.934 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.1064, allocations: 7.938 kB / 444.1 MB, free: 3.926 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1064, allocations: 0 / 444.1 MB, free: 3.926 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.321e-05/0.1065, allocations: 23.97 kB / 444.1 MB, free: 3.902 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002811/0.1068, allocations: 272.8 kB / 444.4 MB, free: 3.586 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.107, allocations: 46.56 kB / 444.4 MB, free: 3.531 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.763e-05/0.107, allocations: 20.88 kB / 444.4 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.1071, allocations: 0 / 444.4 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.282e-05/0.1071, allocations: 30.56 kB / 444.4 MB, free: 3.469 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.1071, allocations: 3.938 kB / 444.5 MB, free: 3.465 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005068/0.1076, allocations: 149.3 kB / 444.6 MB, free: 3.312 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.1076, allocations: 51.41 kB / 444.6 MB, free: 3.25 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.644e-05/0.1077, allocations: 138.1 kB / 444.8 MB, free: 3.102 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.807e-06/0.1078, allocations: 25.7 kB / 444.8 MB, free: 3.07 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.408e-05/0.1078, allocations: 96.12 kB / 444.9 MB, free: 2.973 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.885e-05/0.1078, allocations: 19.66 kB / 444.9 MB, free: 2.953 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.978e-05/0.1079, allocations: 21.7 kB / 444.9 MB, free: 2.926 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.273e-05/0.1079, allocations: 322.8 kB / 445.3 MB, free: 2.602 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.285e-05/0.108, allocations: 15.98 kB / 445.3 MB, free: 2.586 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.315e-05/0.108, allocations: 19.98 kB / 445.3 MB, free: 2.566 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.1082, allocations: 44.83 kB / 445.3 MB, free: 2.52 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1082, allocations: 0 / 445.3 MB, free: 2.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001468/0.1083, allocations: 77.61 kB / 445.4 MB, free: 2.438 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.1083, allocations: 8 kB / 445.4 MB, free: 2.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1084, allocations: 3.984 kB / 445.4 MB, free: 2.426 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.1084, allocations: 0 / 445.4 MB, free: 2.426 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.839e-05/0.1084, allocations: 15.98 kB / 445.4 MB, free: 2.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1085, allocations: 0 / 445.4 MB, free: 2.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.652e-05/0.1085, allocations: 7.906 kB / 445.4 MB, free: 2.402 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.1085, allocations: 7.922 kB / 445.5 MB, free: 2.395 MB / 318.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 5.896e-05/0.1086, allocations: 121.7 kB / 445.6 MB, free: 2.266 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-05/0.1086, allocations: 8 kB / 445.6 MB, free: 2.258 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00019/0.1088, allocations: 94.5 kB / 445.7 MB, free: 2.164 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1088, allocations: 0 / 445.7 MB, free: 2.164 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1088, allocations: 0 / 445.7 MB, free: 2.164 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1088, allocations: 7.984 kB / 445.7 MB, free: 2.156 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002948/0.1091, allocations: 342.4 kB / 446 MB, free: 1.766 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1091, allocations: 4 kB / 446 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.859e-05/0.1092, allocations: 15.92 kB / 446 MB, free: 1.746 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1092, allocations: 0 / 446 MB, free: 1.746 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.1092, allocations: 4 kB / 446 MB, free: 1.742 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1092, allocations: 3.938 kB / 446 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1092, allocations: 0 / 446 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001586/0.1094, allocations: 175.4 kB / 446.2 MB, free: 1.551 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.803e-05/0.1094, allocations: 81.11 kB / 446.3 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.1094, allocations: 4 kB / 446.3 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.365e-05/0.1095, allocations: 7.938 kB / 446.3 MB, free: 1.441 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.15e-05/0.1096, allocations: 7.984 kB / 446.3 MB, free: 1.434 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.1096, allocations: 0 / 446.3 MB, free: 1.434 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.186e-05/0.1096, allocations: 107.3 kB / 446.4 MB, free: 1.328 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1096, allocations: 0 / 446.4 MB, free: 1.328 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002351/0.1099, allocations: 23.92 kB / 446.4 MB, free: 1.305 MB / 318.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.000832/0.1107, allocations: 398.1 kB / 446.8 MB, free: 1 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001802/0.1109, allocations: 47.95 kB / 446.9 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1109, allocations: 0 / 446.9 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.197e-05/0.111, allocations: 23.98 kB / 446.9 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.1113, allocations: 19.92 kB / 446.9 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003479/0.1117, allocations: 195.2 kB / 447.1 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.1118, allocations: 0.6885 MB / 447.8 MB, free: 15.97 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.929e-05/0.1119, allocations: 11.44 kB / 447.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1119, allocations: 0 / 447.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of Templates: time 0.00296/0.1148, allocations: 1.366 MB / 449.2 MB, free: 14.6 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches